4 ms·
Other than C3, there is Jai, Odin, Zig and Hare which are the ones that have any traction right now that I know of. Many interesting projects have been started
by lerno 2y ago
Other than C3, there is Jai, Odin, Zig and Hare which are the ones that have any traction right now that I know of. Many interesting projects have been started but ultimately later abandoned.
Going to C++ competitors there is obviously Rust, but also Nim, Crystal, Beef and a lot of others. (And Jai is a C++ competitor too)
- fuzztester 2y agothanks.
- tialaramex 2y agoNotably all of these you mentioned aren't finished. C3 is 0.7, Jai is an "internal beta", Odin is working through a series of "dev" builds, Zig is 0.14, and Hare 0.24.2 This is maybe more striking when comparing against C which was already very old and battle tested in 1989 when it was standardized. If you pick any of these languages you're accepting an unknowable amount of churn. It better be worth it.
- lerno 2y agoYes: https://c3.handmade.network/blog/p/8486-the_case_against_a_c_alternative https://c3.handmade.network/blog/p/8486-the_case_against_a_c...
- fuzztester 2y ago>This is maybe more striking when comparing against C which was already very old and battle tested in 1989 when it was standardized. If you pick any of these languages you're accepting an unknowable amount of churn. C has plenty of issues too, even though it is very old, battle tested and standardized. (How about all the UB in C, for example?) That is why people are looking for C alternatives in the first place. >It better be worth it. It better be worth it for C too (and for C3; pun unintended but evaluated).
- tialaramex 2y agoSure, as someone who got paid to write C for many years I can't disagree it has issues - after all I no longer write C. I chose to write Rust instead. The notable commonality of these "C alternatives" is that they are still moving targets and yet that wasn't mentioned.
- Joshringuk 2y agoTrue, C3 at least is one breaking release per year and between those there are non-breaking additions. It's quite common for a project to pin to a stable version so this doesn't seem too unpredictable.