5 ms·
> Of course you can, but the reason you don't is that their performance would be quite bad Not very different from Java or C#. Worse than zig/c/c++ but that’s
by vlovich123 3mo ago
> Of course you can, but the reason you don't is that their performance would be quite bad
Not very different from Java or C#. Worse than zig/c/c++ but that’s because those are the equivalent of using use in rust.
- pron 3mo ago> Not very different from Java or C# It will be significantly worse than Java, at least in some important situations (don't know about C#). I've been programming in C++ for many, many years, and I find it increasingly hard to even match Java's performance, even when writing unsafe code, especially when programs get larger and/or more concurrent (very broadly speaking, Java's performance is about that of C++ - in some situations it's worse and in others is better, but the same general vicinity; after all, the JVM was designed to address some of the performance issues that certain classes of C++ programs suffer from). Performance is not the reason to use a low-level language in many domains, and in those domains, if you want super-high performance and safety, there are better and more popular alternatives already. You use a low-level language when you need the things low-level languages do best, but you also expect performance that is more-or-less the same as the high-performance safe alternatives.