C Language Alternatives
Comments discuss modern compiled languages like Rust, Zig, Go, Odin, and Hare as safer, more developer-friendly alternatives to C for systems programming and performance-critical tasks.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Why not use a fast language like C, Odin, Hare or Zig?
Possible in all languages that offer native code compilers and are more developer friendly than C.
Don't ever think of trying a compiled language like C++ or Rust, then :)
Try Rust or modern C++. Both are pretty expressive but still suited for systems programming.
Would it be possible to use Go for this? That compiles to native code, although it does include a much more significant runtime than C, it's safer than C or C++, and it's famously easy for developers to pick up as as second language.
Go is definitely a good option. Also try Rust, its a system programming language that is the closest to C. It will be super fast if you don't abuse the functional constructs that the language provides :)
Outside of C, are there any other languages or platforms that can do this? I'd like something modern, but I haven't liked what I've seen with Rust personally.
It would be helpful to move to a compiled language with a decent toolchain. Rust and Go are good candidates.
Ah, sure I forgot this one. Dunno, I thought C with better strings and libs would go a long way without going full c++/go/nim/rust/zig.
Look at the languages made by ex C programmers. Zig is a good candidate.