4 ms·
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
by RussianCow 9y ago
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.
- ricardobeat 9y agoIt _is_ isomorphic since he is shipping the rust code to the browser using web assembly.
- RussianCow 9y agoIt could be, hypothetically, but the description and example given don't do that.
- ricardobeat 9y agoSee the first section on 'stdweb', and check the Github repo linked - the code is all there for DOM manipulation in the browser. EDIT: what is going on here with the downvotes? Care to explain?
- mathw 9y agoThe author's "isomorphic" application is only stated as being the third section, where they're just rendering templates on the server side, and there's no client-side Rust at all.
- Drdrdrq 9y ago> I expect that within a couple years, Rust will be a viable alternative to Python and Ruby for backend web development I like Rust, but I don't see this happening. Python, Ruby and PHP/Node.js languages became popular (and thus useful) because their learning curve is not steep - which is not something one can say about Rust. I consider myself capable developer but I struggled with many concepts. It's true that I didn't use it for a real project though, it might have been easier if I had clear goal in my mind.
- RussianCow 9y agoThat's true, and I don't mean to imply that I think it will replace Python/Ruby/etc. But I think Rust may find a sizeable niche as a high-performance, lower-level backend programming language for the web, sort of like Elixir. I've personally found the learning curve to be a lot smaller for web development than other projects because you don't have to learn everything at once; web development doesn't typically call for things like manual threading, so the borrow checker and other advanced features don't come up nearly as much or as early as they might for other codebases.