News for hackers. Stuff that matters.
Re:eC Programming Language by fuzztester on Saturday April 06, 2024 @03:16PM (#39954686)
What C-like but supposedly better languages are worth trying out, for small but real world apps, to start with? I have a long, though sometime prior, C background, had done a lot of real world work with it, and would like to try out one or more of these newer C-likes.

I know of Zig, Odin and Hare in this category. Saw a video about Hare very recently.

Zig and Odin have been discussed on HN multiple times in the past, and Zig often still is. Maybe Hare too, didn't check yet.

I've also played around with D a fair amount earlier.

Any others that anyone would recommend?

Re:eC Programming Language by armchairhacker on Saturday April 06, 2024 @03:46PM (#39954904)
Idk how “C-like” it is vs “Swift-like” or just being another general-purpose language, but: Nim.
Re:eC Programming Language by fuzztester on Saturday April 06, 2024 @04:25PM (#39955193)
Yes, I thought of mentioning Nim in this category, but did not, because although I have looked at it a bit, I am not sure how C-like it is considered to be,

But thanks.