News for hackers. Stuff that matters.
Re:C Is Not a Low-level Language – Your computer is not a fa... by throwaway87543 on Monday October 16, 2023 @08:22AM (#37898818)
Other than assembly, which barely qualifies as a language, what programming language is lower than C?
Re:C Is Not a Low-level Language – Your computer is not a fa... by pjmlp on Monday October 16, 2023 @08:42AM (#37899045)
Plenty to chose from since 1958's introduction of JOVIAL, when one cares to research what has happened in the world of systems programming outside Bell Labs, and UNIX/C taking over the server room.
Re:C Is Not a Low-level Language – Your computer is not a fa... by dist1ll on Monday October 16, 2023 @08:30AM (#37898919)
In general terms, any language aiming to be lower-level than C should

- have an "abstract" machine that is more concrete than C (and by extension less portable)

- be easier to lower into optimal assembly (especially loop ops)

- give you strong and precise compile-time guarantees about memory layout (padding, bitfields), variable sizes, register spilling, stack usage, etc.

Re:C Is Not a Low-level Language – Your computer is not a fa... by casparvitch on Monday October 16, 2023 @08:25AM (#37898867)
Forth/joy maybe?
Re:C Is Not a Low-level Language – Your computer is not a fa... by drsopp on Monday October 16, 2023 @08:25AM (#37898869)
B
Re:C Is Not a Low-level Language – Your computer is not a fa... by Joker_vD on Monday October 16, 2023 @08:30AM (#37898921)
Or T3X9, if you're prefer Algol-style syntax.
Re:C Is Not a Low-level Language – Your computer is not a fa... by humanrebar on Monday October 16, 2023 @08:43AM (#37899059)
LLVM IR
Re:C Is Not a Low-level Language – Your computer is not a fa... by Nzen on Monday October 16, 2023 @08:47AM (#37899102)
I think there is an argument that Brainfuck [0], et al, is lower than C, given that it eschews variables and functions.

[0] https://esolangs.org/wiki/Brainfuck

Re:C Is Not a Low-level Language – Your computer is not a fa... by AlecSchueler on Monday October 16, 2023 @08:54AM (#37899172)
Low level means close to the processor, not small in scope.

You could argue brainfuck is machine language for a theroetical infinite tape machine, but such a machine can only exist when implemented in high-level software.

Re:C Is Not a Low-level Language – Your computer is not a fa... by lproven on Monday October 16, 2023 @08:56AM (#37899192)
It does not need to be a relative statement in order to be correct.

The statement "C is not close to the instruction set of a modern CPU" does not need to be validated by specifying examples of languages that are closer.

Re:C Is Not a Low-level Language – Your computer is not a fa... by danielvaughn on Monday October 16, 2023 @09:06AM (#37899310)
But if you're going to say that "C is not a low-level language", then yeah you kinda do need other languages beneath it.
Re:C Is Not a Low-level Language – Your computer is not a fa... by lproven on Monday October 16, 2023 @09:23AM (#37899547)
Well, firstly, I'm not saying it.

But no. That is what I meant when I said this is not a relative statement.

If the title said "C is not the lowest-level language" then your objection would be valid... but it doesn't and it's not saying that.

But before I go into some lengthy explanation: have you read the article, or are you responding to the title alone?

Re:C Is Not a Low-level Language – Your computer is not a fa... by giaour on Monday October 16, 2023 @09:27AM (#37899595)
Fortran, maybe?