Comments by "Anony Mousse" (@anon_y_mousse) on "Was Porting To Rust A Mistake?" video.

  1. As someone who likely spends too much time learning every new language that comes along, I can safely say that both Go and Rust are a mistake. However, if it was already working in Go, you're absolutely correct that it should've just stayed in Go. Rewriting a project in an entirely new language just because you like it is the easiest way to completely fuck up a project. I would argue that any new project these days should probably be written in a domain specific language, and if it's intended to run in a web browser the only choices are really just JavaScript and TypeScript and since TypeScript just compiles to JavaScript and is fully backwards compatible, it's not exactly different enough yet. If it's a backend application then the only real choice is C++. The reason being that it's a far better language than both Go and Rust combined and runs fast and compiles fast. Every time I use Rust I feel annoyed because it's basically a clone of C++ but with a shittier syntax and slower compile times because it aims to be more strict. Well, C++ compilers have all gotten better in nearly every way, and can enforce a lot of strictness on you while still compiling faster. Also, that part about not being able to interface between code generated with MingW and MSVC really hits hard. When interfacing different languages you have to compete with name mangling and a truly portable interface should be written for C compatibility, not just because you might just use C to interact with it, but because it doesn't mangle names.
    1
  2. 1
  3. 1