Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To be fair, it wasn't really by the time they abandoned it.


Still, I think Rust was designed for the style and scale of application that a Web Browser is. Foundational, but not kernel level, highly complex, with a wide feature set, performance is important (but not the most important) and high reliability/maintainability and quality is expected.

Building these kinds of apps was commonplace in the 90s/early 2000s: photo editing apps, word processors, IDEs, 3D modeling software etc. Maybe RDBMS count as well.

In practice Rust is mostly used by web people to gain clout - rewriting microservices, which are usually <10k, but very rarely above 100k LOC, and were originally written in a very slow language, such as Python or Ruby.

Had these projects started out in an uncool, but performant language, like Java, there'd have been very little reasonable justification for these Rust rewrites.


The main advantage is having a reliable type system and a codebase you can reason about and refactor fearlessly.

On the performance side, raw processing power is not that important as you are waiting for io all the time: the main difference is not having GC and GC spikes (if you are working at significant scale) and lower memory usage all around.


> In practice Rust is mostly used by web people to gain clout

Complete hogwash.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: