Hacker News new | past | comments | ask | show | jobs | submit login

Obvious questions first: How does it compare to Yew?



1.) The syntax in creating the view: is just plain function calls which the rust compiler can accurately tell you about errors in your code, ie: typo, unclosed brackets/braces/parenthesis mismatch.

2.) Concise code, there is not too much ceremonial/boilerplate code to get started.

3.) Less code in the library maintain, there is no parser(which are mostly complex).

4.) Sauron is using wasm-bindgen, yew is using stdweb.

5.) It's in the early phase, so the performance is not yet optimized. https://github.com/ivanceras/todomvc-perf-comparison/


Thanks, good luck with this project :) I'm looking forward to a mature Elm-like web framework in Rust in the future.


> 4.) Sauron is using wasm-bindgen, yew is using stdweb.

FYI, since the most recent stdweb version it's possible to use `wasm-bindgen` with Yew


Nothing compares. Nothing compares to Yew.


In which way?




It's based on Yew itself and since Yew is React/Elm like, but this is more Elm inspired I assume it compares like Elm vs React.


As far as I can tell by the Cargo.toml file, it's not based on Yew.

The README mentions "This project is based on the existing projects: (...) Yew (...)", but I think the author meant "inspired by", not "based on".


What I mean "based" is "I look at their code, and take only what I need".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: