rustwasm
https://rustwasm.github.io/book/introduction.html
wasm-pack
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
--
I found above version seems more stable/standard version.
So I tried to use this one, but then another version conflict problems.
Basically the latest version of npm messed up, so I needed to down grade to old version npm 3.5.2 in order to run this helloworld.
but it was also necessary to rollback to old version for webpack (4.41.5) libraries.
but in order to run npm run start, I needed to use the latest nodejs v12.14.0
Anyway after these changes, I could finally run hello world of https://rustwasm.github.io/book/game-of-life/hello-world.html
What a wastE of time!
This is a typical annoiance of using teh cuttuing edge of codes.
Rust's Webassembly looks pretty new.
Sunday, December 29, 2019
Saturday, December 28, 2019
Useful library of Rust
ORM
http://diesel.rs/
At least 1 yearsago, it did not support MS SQL Server..
https://docs.rs/tiberius/0.3.2/tiberius/
this supports MS SQL Server. but this is similar to JDBC, not like hibernate.
rust web frameworks:
https://blog.logrocket.com/the-best-rust-frameworks-to-check-out-in-2019/
https://github.com/alexcrichton/wasm-bindgen
=>
https://github.com/rustwasm/wasm-bindgen
http://diesel.rs/
At least 1 yearsago, it did not support MS SQL Server..
https://docs.rs/tiberius/0.3.2/tiberius/
this supports MS SQL Server. but this is similar to JDBC, not like hibernate.
rust web frameworks:
https://blog.logrocket.com/the-best-rust-frameworks-to-check-out-in-2019/
JavaScript to Rust and Back Again: A wasm-bindgen Tale
https://hacks.mozilla.org/2018/04/javascript-to-rust-and-back-again-a-wasm-bindgen-tale/https://github.com/alexcrichton/wasm-bindgen
=>
https://github.com/rustwasm/wasm-bindgen
Subscribe to:
Posts (Atom)
Recursive Matrix and the parallel matrix multiplication using crossbeam and generic constant
This was planned project I posted before. Basically in order to evaluate Rust's claim for zero cost abstraction and the effectiveness o...
-
Puppeteer is a powerful tool to control web application at server side using headless chromium. This is mainly used for automated testing,...
-
There are several reverse proxy server. Following crate seems easy to use. https://docs.rs/hyper-reverse-proxy/0.4.0/hyper_reverse_proxy/...
-
There is an interesting article demonstrating how to write channel using Rust: Multithreading in Rust with MPSC (Multi-Producer, Single ...