11 ms·
It's a niche language that dominates its niche. I wouldn't write a LoB application in Rust, for example. But if I wrote programs with really tight speed and me
by orthoxerox 6y ago
It's a niche language that dominates its niche.
I wouldn't write a LoB application in Rust, for example. But if I wrote programs with really tight speed and memory requirements for a living, I would pick Rust for the task.
If people were forced to write their website backends in Rust (or even their frontends in Rust targeting WASM) they would hate it. Its performance is overkill for 99.9% of backends, but the means of getting this performance kill your productivity.
- majewsky 6y agoMy current side project has a frontend in Rust via WASM, and I love it. Way better than the huge mess that is the JS ecosystem.
- Dowwie 6y agoRust WASM is still very bleeding edge. Let's not give anyone the false impression about what anyone can manage to build today.
- Dowwie 6y agoI've been using Rust for backend web dev and networked services for the last two years. I'm working on the greatest project of my life (until my next project) and Rust is really helping me along. The performance and resource efficiencies are great side effects. I don't understand the argument that performance benefits are overkill for web development. Obviously, no one needs to use a flamethrower to light a cigarette. However, a fully-fleshed web server is a very complex system that taxes performance with all that it does. I'm working on a greenfield project and had discretion over what tooling to use. I decided to invest in Rust, eating short-term productivity losses in exchange for long-term gains. Those gains are realized at many points in development, compounding over time. As team members are brought into this project, I will accept a simple "thank you" for bringing joy to their work and renewing their aspirations for creating better products. Web dev doesn't have to be so shitty an experience, but it requires investment. That's a tough sell for managers who aren't coders, but those who rose from engineering understand its importance.
- mamcx 6y ago> I wouldn't write a LoB application in Rust Is ironic, but in fact rust is easier to use for Lob than for low level stuff (for the obvious reason low level stuff requiere more intricate knowledge). I'm building a erp/ecommerce backend, ported from F#. Rust, alike F#, have all the machinery for encode nicely business requirements, but I think I'm building much better logic in rust than F#, in part because doing imperative and async stuff is effortless, the rust syntax not depend on inference (so not guessing what this function is) and the wonderfull From/Into traits. In the other hand, I'm building a relational language on the side, and it is very hard! Somehow, I hit all the hard corners of rust (and have progressed like a snail), where in the other side the erp backend is progressing as fast as I have done in other langs (f#, python, swift, ..) and even doing things that before I can't (because time). My only 2 major complains: Rust slow compiler (rust, like c and c++ are damm slow languages) and the web ecosystem still lack a django-kind of experience.