Alcun Atirutan BBS

It had this conversation on TwitX just recently.
Zealot: Rust adds memory safety! Therefore we must use Rust in kernel!
Zaitcev: But Rust is not the only compiled language that adds memory safety. What about D and Go?
Zealot: screeeee! Python suuuucks!!!

I understand that D and Go have some undesirable baggage. D is used widely by the BSD types, and Go is weirdly crusty for a language that young. But if memory safety is your overriding concern, why Rust and where have you been all this time?

@pro I think someone did some testing with various languages, and the two that had the fastest results were C and Rust, with C++ coming in 33% slower than both of those in the tests they did, and Go being worse than C++, so it's more a combination of memory safety and not impacting speed significantly. As far as development, if you can figure out how to work with the borrow checker, then Rust code does make the development easier than C, and much closer to Python in capabilities.

@kazriko I see, thanks. Not sure how credible it was, but a data point anyway.

@pro Yeah, any of these will have some degree of subjectivity. In the selection of what tests to run, how they're implemented on each language, and how experienced the developers are at making efficient code in those languages.
replies
0
announces
0
likes
0