Live data from Hacker News

Rust for the Web

thefullsnack.com

1–10 of 100 posts

Re: Rust for the Web

#2
Nice overview, it might be worth mentioning that Emscripten isn't a tier 1 platform[1]. We've seen some asserts thrown in LLVM when building debug but go away when build release.

I've been trying to isolate it down to a reproducible sample but haven't nailed down exactly what's causing it yet.

Even with that issue it's been great to work with. I find myself so much more productive with Rust compared to C/C++.

[1] https://forge.rust-lang.org/platform-support.html

Re: Rust for the Web

#3
The 'Client-sode JS in Rust' part is a promising showcase for WebAssembly and I hope to see more languages compiling to WebAssembly soon. But looking closer at the code which does not a lot compared to its size I rather prefer the JS version.

Re: Rust for the Web

#4

The 'Client-sode JS in Rust' part is a promising showcase for WebAssembly and I hope to see more languages compiling to WebAssembly soon. But looking closer at the code which does not a lot compared to its size I rather prefer the JS version.

In practice, I don't think Rust is really particularly well suited for this use case (especially the frontend stuff). But this is a really cool demo nonetheless, and the underlying WebAssembly will be something a lot of languages can use someday.

Re: Rust for the Web

#6

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

Yeah, Gotham looks promising, and it has even better document than Rocket. It's always good to see more competitors coming around.

Re: Rust for the Web

#7

The 'Client-sode JS in Rust' part is a promising showcase for WebAssembly and I hope to see more languages compiling to WebAssembly soon. But looking closer at the code which does not a lot compared to its size I rather prefer the JS version.

Yeah, the only convenience in this approach is to give you an ability to write JS right inside your Rust code. Somebody already starts implementing VIrtualDOM and something so we can expect more in the future.

Re: Rust for the Web

#8

The 'Client-sode JS in Rust' part is a promising showcase for WebAssembly and I hope to see more languages compiling to WebAssembly soon. But looking closer at the code which does not a lot compared to its size I rather prefer the JS version.

I do believe big change is coming over the next few years, as we can develop reliable solutions on Web Assembly we're going to be able to use better languages.

It's going to be glorious!

Re: Rust for the Web

#9
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?
Post reply on HN