4 ms·
We are investing a lot of effort into making Lunatic feel native to the particular language and ecosystem. If you look at the Rust chat server we built in Lunat
by bkolobara 6y ago
We are investing a lot of effort into making Lunatic feel native to the particular language and ecosystem. If you look at the Rust chat server we built in Lunatic (https://github.com/lunatic-solutions/chat https://github.com/lunatic-solutions/chat), it fully integrates with cargo. You just run your typical “cargo run” command, it will compile the app to wasm and use lunatic to run it. If you want to run your test, you can just do “cargo test”.
wasm-bindgen is necessary only because it’s really hard right now to merge the wasm world and the JS one in the browser. We have the advantage here of staying out of the browser.
- elcritch 6y agoIt'd be great to see C/C++ be easy to integrate. I can't quite tell if there's support for them? There's so many existing C/C++ code bases that are security nightmares but still provide great functionality. Wrapping it in a secure context would be awesome. Also it'd be fantastic to be able to compile Nim as well. Maybe a weekend project. :-)
- bkolobara 6y agoC/C++ has great WebAssembly support and we definitely want to provide a Lunatic library for it. We would love to see the community getting involved and contributing other languages that we have less experience with, including Nim.
- elcritch 6y agoIf you provide a C library then it'll be super easy to add Nim support!