News for hackers. Stuff that matters.
Re:Cello – High Level C by kaba0 on Saturday March 05, 2022 @03:33AM (#30565625)
Go is a high level language, it doesn’t share any quality with C, other than perhaps bad expressiveness.
Re:Cello – High Level C by pjmlp on Saturday March 05, 2022 @04:19AM (#30565882)
"C Is Not a Low-level Language Your computer is not a fast PDP-11."

https://queue.acm.org/detail.cfm?id=3212479

Re:Cello – High Level C by badsectoracula on Saturday March 05, 2022 @05:45AM (#30566292)
That article completely misses the point - assembly (or machine code) might not be how the "metal" works on a modern desktop(-like) CPU, but that is irrelevant when that is the lowest level that said CPUs are exposing. On such CPUs C is at the lower levels possible.

But also C isn't just for Intel, x86 and (some) ARM CPUs, there are other targets it has.

Re:Cello – High Level C by pjmlp on Saturday March 05, 2022 @06:34AM (#30566570)
Nothing of that is exclusive to C, please provide an example of a CPU where C is the only compiler toolchain available, and exposes CPU capabilities without using language extensions.

Any example with language extensions to ISO C, allows me to provide a counter example with language extensions.

Any example where only a subset of ISO C is allowed, allows me to provide a counter example with a language subset.

Re:Cello – High Level C by badsectoracula on Sunday March 06, 2022 @09:44AM (#30577859)
Are you replying to the correct comment? I never claimed anything that would be exclusive to C. What i wrote applies equally to something like, e.g., most Pascal dialects that are around the same "level" as C.
Re:Cello – High Level C by pjmlp on Sunday March 06, 2022 @05:38PM (#30581991)
This leaves room for such interpretation "On such CPUs C is at the lower levels possible.".

Sorry if I misunderstood it.

Re:Cello – High Level C by saagarjha on Saturday March 05, 2022 @05:09AM (#30566124)
But many microcontrollers are and their toolchains do treat it as such.
Re:Cello – High Level C by pjmlp on Saturday March 05, 2022 @06:31AM (#30566541)