Wednesday, January 8, 2020

Yew : Rust / Wasm client web app framework

https://github.com/yewstack/yew

Yew is a modern Rust framework inspired by Elm and React for creating multi-threaded frontend apps with WebAssembly.

The framework supports multi-threading & concurrency out of the box. It uses Web Workers API to spawn actors (agents) in separate threads and uses a local scheduler attached to a thread for concurrent tasks.


-----

this is the framework I was looking for.

Rocket was not good framework. it may be used for server side , service development. but then it should not be called as web framework.
Also its development is stop  1 year ago. and many of library became too old. So we should not use such library.


--
in order to run test, we need to use node greater than v8(v8 is ok). the test use async new syntax.
old version does not support it (without option flag).
v12 is better to use now.

No comments:

Post a Comment

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...