←back to thread

452 points birdculture | 5 comments | | HN request time: 0.628s | source
1. jmull ◴[] No.43984646[source]
I'm not sure there are many cases where I would choose rust. I'm open to it. I just think in any given situation there would most likely be a better option.

Perhaps it will become prevalent enough that it will make sense in the future.

replies(4): >>43984813 #>>43985214 #>>43985593 #>>43986622 #
2. lvass ◴[] No.43984813[source]
It's definitely the perfect language for writing a browser from scratch, as it was designed for almost 20 years ago. Of course nowadays it's already completely dominating that area, and their creator's "unix" has taken over the world and was not overtaken by something a random dude called ladybird.
3. coldpie ◴[] No.43985214[source]
It's the best fit I'm aware of for any task where correctness is worth the dev time hit. That includes systems programming tasks, where you're shuffling memory and files and system resources around and an error could kill your program or corrupt resources; or as a library for critical parts of your program, which could then provide an interface for other languages to use that allow for faster development & prototyping.
4. toprerules ◴[] No.43985593[source]
As systems programmer there are no better options. C is inherently unsafe, C++ is awful to work with and unsafe without careful use of pre-made safe abstractions that can't catch everything at runtime...

I have written C for decades and love the language, but Rust has convinced me that we need to evolve beyond the 70s. There's no excuse anymore.

5. rx123dx ◴[] No.43986622[source]
Rust will prevail only if it fixes C++ interop