Sauron
Languages and libraries
web framework
SHOW HN2019
How HN took it
4 positive, 19 neutral or asking, 1 mixed, 8 critical, out of 32 comments about the project. Thread score -0.14.
Idea: 1 for, 4 againstPerformance: 2 for, 3 againstDesign: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Concise code with no parser and compiler-checked view syntax
From 1 comment
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…
ivanceras on HN
Good branding of the name
From 1 comment
Looks cool, really like the name. It’s always interesting to me to see other developers who are good at branding, despite no obvious marketing background.
owens99 on HN
Objections
Wasm bundle size is large (1.17MB minimal, 165KB release)
From 2 comments
Sauron looks really great and I for one am super excited about the future of Rust + WASM for web apps(with Backend). However I am a bit concerned that even the minimal example is…
K0nserv on HNDoh. My bad for being a dummy. 165kb is still fairly big for a minimal example, much smaller than 1.17MB though, compared to React for example. Are there ways to analyze what…
K0nserv on HN
Performance not yet optimized
From 2 comments
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…
ivanceras on HNI think If you start adding more code, the growth of the release binary will diminish. The todomvc code is only 207KB when compiled and has relatively more code than the minimal…
ivanceras on HN
Name may evoke Lord of the Rings trademark concerns
From 2 comments
Slightly off topic - I can’t imagine calling the framework Sauron and posting a photo from the LOTR movie is legal.
eljimmy on HNIs that the Internet's idea of "fair use" which is "I can pretty much do whatever I want as long as I say 'fair use'", or the legal one? Calling it Sauron is almost certainly OK.…
jerf on HN
Requests
JSX-like syntax support
From 2 comments
Would there be an easy/straightforward way to put a jsx transpiler in front of the rust compilation step, potentially with hot reloading? I realize that jsx in react is really…
Octoth0rpe on HNLook into the framework Yew. It sits somewhere between elm and react in how it's designed, and makes use of an html macro that allows for jsx-like markup.
mdtusz on HN
Better bundle size reduction
From 2 comments
> EDIT: It's 68KB gzipped and 165KB is the uncompressed size What's the state of brotli content type support in browsers? Wasn't that supposed to be the next generation beyond…
wyldfire on HNI think you can still reduce that size further with binaryen
tiuPapa on HN
Questions
How does it compare to Yew?
From 2 comments
Obvious questions first: How does it compare to Yew?
dbrgn on HNDo you have any experience with Sauron vs Yew? I'm quite interested in Yew due to the benchmark and that their code examples look similar to me. Yew also says Elm inspired. Since…
asdkhadsj on HN
How does caching work with a single wasm binary?
From 1 comment
(Disclaimer: very limited knowledge about WASM) Curious as to how WASM impacts browser caching? In the JS scenario, several modules will be cached and change in one may still…
yumraj on HN
Alternatives named
Yew
From 2 comments
Obvious questions first: How does it compare to Yew?
dbrgn on HNLook into the framework Yew. It sits somewhere between elm and react in how it's designed, and makes use of an html macro that allows for jsx-like markup.
mdtusz on HN
Blazor
From 2 comments
Between this and Blazor ( http://blazor.net/, among other wasm projects I'm forgetting right now), I'm glad more complicated UIs are being once again designed on the backend and…
twoquestions on HNCheck out http://blazor.net/
ksejka on HN
Phoenix LiveView
From 1 comment
Another lightweight contender, not WASM though, is Phoenix Live View[1] [1] https://github.com/phoenixframework/phoenix_live_view
lostjohnny on HN
Elm
From 1 comment
Elm gets plundered repeatedly before it ever reaches version 1.0. Is name-brand Elm still growing in adoption?
frou_dh on HN