3 ms·
I didn't say I actually use it, I said it's the perfect language for that use case. In practice there are many other factors that determine whether a language i
by logicchains 6y ago
I didn't say I actually use it, I said it's the perfect language for that use case. In practice there are many other factors that determine whether a language is adopted, e.g. library availability, compiler maturity, and the fact that it's not simple to integrate a new language into an existing codebase of very many lines of C++.
- littlestymaar 6y agoThanks, I was very afraid for a moment. In fact, I recently worked for a company which started using Rust in a mission critical setting back in… 2013 (yes, long before the language was stable and its future secured). Fortunately it worked, but still, it was far from a safe move.
- The_rationalist 6y agoWith retrospective, do you regret choosing rust? It's poor ecosystem with low human resources can kill a startup.
- littlestymaar 6y agoI didn't make the pick (and I wouldn't have picked Rust then, I still judge this move as way too risky), and I merely worked as a contractor there and the project was already 5 years old. That being said, a few notes on Rust on this project: Cons: - finding people proficient in Rust was a challenge (but that's why I go hired, so for me that was a plus;). - in the first few years of the project, keeping up with language changes (before Rust 1.0 and even after because the project had been using nightly Rust until 2018) added. Neural: - the library ecosystem was nonexistent at the beginning, but because Rust has good C interop, the project just used C libraries for different things. Some where replaced by pure Rust ones later on, some didn't. Pro: (Note: the project had important performance requirements (regarding CPU and memory consumption) so had Rust not been chosen, the project would have been written in C++.) - When your Rust program compiles, it never crashes (except on an assert) - I've spent exactly 0 minutes in a debugger on that project - I've done massive refactoring without issues: you just fix the compiler errors (which are now extraordinarily clear!), you recompile and it works. So overall, the Rust bet was a big success for this project! But you're right: the company wasn't a start-up and the company's ability to count on an existing team was vital here because hiring a new Rust dev would have been impossible in the first few years. With Rust becoming more and more popular each year, the hiring issue shouldn't be as acute right now (well, especially since Mozilla fired dozens of Rust-fluent developers earlier this month…)