News for hackers. Stuff that matters.
Re:Zen-C: Write like a high-level language, run like C by thomasmg on Monday January 12, 2026 @11:05AM (#46590285)
I wonder, how can a programming language have the productivity of a high-level language ("write like a high-level language"), if it has manual memory management? This just doesn't add up in my view.

I'm writing my own programming language that tries "Write like a high-level language, run like C.", but it does not have manual memory management. It has reference counting with lightweight borrowing for performance sensitive parts: https://github.com/thomasmueller/bau-lang

Re:Zen-C: Write like a high-level language, run like C by jhgb on Monday January 12, 2026 @10:21PM (#46596999)
C is literally a high level language.
Re:Zen-C: Write like a high-level language, run like C by throwaway17_17 on Tuesday January 13, 2026 @12:40AM (#46597624)
Seriously, in the discussion happening in this thread C is clearly not a high-level language in context.

I get your statement and even agree with it in certain contexts. But in a discussion where high-level languages are presumed (in context) to not have memory management, looping constructs are defined over a semantics inferred range of some given types, overloading of functions (maybe even operators), algebraic datatypes, and other functional language mixins: C most certainly IS NOT a high level language.

This is pedantic to the point of being derailing and in some ways seemed geared to end the discussion occurring by sticking a bar in the conversations spokes.

Re:Zen-C: Write like a high-level language, run like C by saidnooneever on Tuesday January 13, 2026 @06:16AM (#46599552)
glad you bring up context in this note. i find C high level too but u are right, in a comparisson you can still say its really low level.

C was coined originally as high level because the alternatives were things like assembler. a term rooted in comparisson more than anything.

Re:Zen-C: Write like a high-level language, run like C by throwaway17_17 on Tuesday January 13, 2026 @09:06AM (#46601060)
Thanks, my parent’s comment is almost a thought-terminating cliche in this kind of discussion. However, Chisnall’s now classic ‘C is not a low level language’ article is one of my favorite papers on language theory and potential hardware design. A discussion about the shortcomings of viewing C as a low level language can/could be profitable, deep, and interesting; but context is king.
Re:Zen-C: Write like a high-level language, run like C by afreire on Tuesday January 13, 2026 @04:30AM (#46598884)
It has autofree and drop traits.