News for hackers. Stuff that matters.
Re:Show HN: The C3 programming language (C alternative langu... by fuzztester on Thursday April 03, 2025 @04:26PM (#43574947)
Any other C alternative or C-like languages that people here are using more than experimentally?

Asking because my above question and this current post about C3 are related to this recent post by me, which had a good number of comments:

Ask HN: What less-popular systems programming language are you using?

https://news.ycombinator.com/item?id=43223162

Re:Show HN: The C3 programming language (C alternative langu... by lerno on Thursday April 03, 2025 @05:21PM (#43575594)
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)

Re:Show HN: The C3 programming language (C alternative langu... by fuzztester on Friday April 04, 2025 @09:59AM (#43582501)
thanks.
Re:Show HN: The C3 programming language (C alternative langu... by tialaramex on Friday April 04, 2025 @11:07AM (#43583531)
Notably 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.

Re:Show HN: The C3 programming language (C alternative langu... by lerno on Friday April 04, 2025 @12:12PM (#43584515)
Re:Show HN: The C3 programming language (C alternative langu... by fuzztester on Friday April 04, 2025 @07:04PM (#43588664)
>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).

Re:Show HN: The C3 programming language (C alternative langu... by tialaramex on Saturday April 05, 2025 @05:48AM (#43592209)
Sure, 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.

Re:Show HN: The C3 programming language (C alternative langu... by Joshringuk on Saturday April 05, 2025 @08:13AM (#43592775)
True, 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.