Live data from Hacker News

Rust for the Web

thefullsnack.com

11–20 of 100 posts

Re: Rust for the Web

#11
This makes no mention of the size of these applications. Given the recent focus on shipping less JavaScript to the browser to better support mobile and slow networks, I wonder how feasible this project even is?

Re: Rust for the Web

#13
Just a small nitpick, but #3 is not actually an isomorphic app, it's just a regular server-rendered one. Isomorphic typically means that the app is rendered in the same way (e.g. via React) on both the frontend and backend, and the frontend degrades gracefully when JS isn't enabled.

More on-topic: I just recently started a new web app using Rust on the backend. Though there is definitely a lot still missing, it's amazing how far the language and its ecosystem have come in the past year or so. I expect that within a couple years, Rust will be a viable alternative to Python and Ruby for backend web development.

Re: Rust for the Web

#14

Just a small nitpick, but #3 is not actually an isomorphic app, it's just a regular server-rendered one. Isomorphic typically means that the app is rendered in the same way (e.g. via React) on both the frontend and backend, and the frontend degrades gracefully when JS isn't enabled. More on-topic: I just recently started a new web app using Rust on the backend. Though there is definitely a lot still missing, it's ama…

It _is_ isomorphic since he is shipping the rust code to the browser using web assembly.

Re: Rust for the Web

#15

Just a small nitpick, but #3 is not actually an isomorphic app, it's just a regular server-rendered one. Isomorphic typically means that the app is rendered in the same way (e.g. via React) on both the frontend and backend, and the frontend degrades gracefully when JS isn't enabled. More on-topic: I just recently started a new web app using Rust on the backend. Though there is definitely a lot still missing, it's ama…

It _is_ isomorphic since he is shipping the rust code to the browser using web assembly.

It could be, hypothetically, but the description and example given don't do that.

Re: Rust for the Web

#16

This is all good and dandy but I don't like the webpage font-color! Can we have more of black on black so that it's even more modern and minimal? Or white-on-white which is more of a trend these days?

;(

Lol, I'm sorry it was a bit snarky! You've obviously done a great job but if anything the jab was not at you but at the trend...

Re: Rust for the Web

#17

Web developers may be also interested in https://gotham.rs/ , which was released very recently and looks to be a promising competitor to Rocket.

And for those who care, unlike Rocket it runs on stable rust. IMO that is useful as I personally prefer running on stable than nightly.

Re: Rust for the Web

#19
Man Rust is super hard already! I mean people told me it would be harder to think functionally but after clojure, i think lisps are super easy. But i feel Rust is way harder than anything. Infact i feel Haskell is comparatively easier than Rust. So i am not sure why one wants to use it for web. I think Rust has a place and that is to replace C++ for system software, possibly even C for writing Kernels because why not? But definitely not for web. Go is probably the right choice for that sort of performance scenario in the backend. But for frontend neither Go or Rust are good simply because of the huge size of the runtimes. Clojure-script comparatively has a smaller runtime than either Go or Rust runtimes compiled to JS.

Re: Rust for the Web

#20

This is all good and dandy but I don't like the webpage font-color! Can we have more of black on black so that it's even more modern and minimal? Or white-on-white which is more of a trend these days?

+1 for the snark, however I think the site looks good and the contrast is just right.

there is an official Chrome plugin that lets you meddle with a site's contrast these days if you're having trouble (like me) with this awful trend that's approaching white-on-white: https://chrome.google.com/webstore/detail/high-contrast/djcf...

Post reply on HN