Skip to content

Dr Nederhof's resjs ported to rust, targeting wasm32

License

Notifications You must be signed in to change notification settings

storskegg/rust-resjs-wasm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust ResJS WASM

What

This repo represents my attempt to port Dr Nederhof's resjs to Rust. I will only be working on porting res_concat.js to Rust, and have no plans to port the other *_concat.js files (e.g. the editor).

Why

I wanted to do this port, because...

  • It's good experience working with Rust.
  • I wanted to see if I could do it.
  • I wanted to find out if the shorter load times and slightly faster execution of WASM in spite of increased IO latency would outweigh the performance of the original JS implementation.

License

This repo uses the same BSD 2-Clause license as the original resjs project.

"I'm a Noob" Disclaimer

Fair warning: My Rust skills are still very intro level, so don't judge my code too harshly. It'll get better.

General Notes

Modular JS libs in res_concat.js

  • aux
  • points
  • lite
  • struct
  • syntax
  • format
  • render
  • web

Original README.md from https://github.com/nederhof/resjs

RES in JavaScript

For more information, open index.html in a browser, or go to Hieroglyphic encoding (RES) in web pages using JavaScript.

See also L2/18-236.

About

Dr Nederhof's resjs ported to rust, targeting wasm32

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 69.6%
  • JavaScript 30.4%