Comment by Gibbon1

10 months ago

My thought is what's telling is the 'rewrite it in rust'. Rust doesn't have a new business case.

C was better than assembly. C++ was better than C for GUI applications. JAVA has garbage collection and usually won't force you to fix your machine after a bad crash. Python is better than Perl for quick and dirty stuff. PHP lets you build a web service without much pain. C# is a better Java that also gives you better integration with Windows. Go does a good job with small quick running services. Lua is easy to integrate into programs.

I look at existing C codebases. They're usually well worn and work okay.

C++ codebases would probably be better rewritten in Go or C#

Go codebases? Switching to Rust so you can what exactly?

PHP? Keep using it or us Go.

I also feel like Go, C#, and Python are designed to be fairly easy for a noob to come up to speed. Where Rust is the opposite.

I guess you make a living writing zero day exploits?

  • Keep believing that Rust magically prevents you from getting owned when you fuck up.

    • That is a fallacy. No one has claimed that Rust magically prevents you from getting owned. Quite to the contrary: there is no magic in preventing most, if not all memory handling errors. Which are the most common reason for security problems. Removing one category of errors entirely would free a lot of resources to deal with the remaining ones.

      9 replies →

> Go codebases? Switching to Rust so you can what exactly?

The way I heard it, the Rust's type system, async implementation(s), they way lifetimes just keep propagating once you start, and its macro languages are way more engaging, thus Rust must be superior.

  • but those improvements, and the complexity that they bring, are not enough to make the switch from a Go codebase to a Rust codebase unless performance is REALLY an issue.