Experiment: Making a JavaScript API for handlebars in WebAssembly (WIP)#163
Experiment: Making a JavaScript API for handlebars in WebAssembly (WIP)#163
Conversation
…script Signed-off-by: Ning Sun <sunng@about.me>
|
I'm using this setup https://medium.com/@ianjsikes/get-started-with-rust-webassembly-and-webpack-58d28e219635 to compile. As of 2017-06-24, Chromium 59.0.3071.109, Firefox 54 and emscripten 1.37.14, I'm getting this error when call my |
|
Any update on this? |
|
@dbousamra handlebars now compiles on webassembly. But a JavaScript API is not ready. If you are interested I can offer help for you to hack on it. |
|
@sunng87 thanks for getting back to me. I came across this project, because we are running into some performance issues with handlebars-js (used within a nodejs backend), and were considering using handlebars-rust, via a JS API, as a stop gap to buy us some more time. |
|
@dbousamra if you are on nodejs, perhaps handlebars-rust can be loaded as a native dependency, instead of webassembly module. Libraries like neon may help. |
7abfce6 to
4962d7e
Compare
This is an experiment for making a JavaScript API for handlebars wasm. The result is expected as similar as original handlebarsjs library.