News for hackers. Stuff that matters.
Re:Switching to C over 'Modern' Programming Languages by uranusjr on Thursday April 13, 2023 @04:53AM (#35552734)
I think parent knows. A more accurate description would be everyone of the intended audience was writing assembly. Yes there are other languages of higher levels, but C was not invented to help their users. And since they are also not really what Rust targets either, IMO it’s reasonable to shorten it to drop the qualifier in this context.
Re:Switching to C over 'Modern' Programming Languages by tourmalinetaco on Thursday April 13, 2023 @08:36AM (#35554439)
> since they are also not really what Rust targets either

Exactly this. This belief that Rust can and even will replace C is at best ignorant and at worst evangelical. In fact I’m convinced most Rust enthusiasts on HN are less involved in programming and more with politics.

While I’m all for mem-safe languages Rust is simply too abstract and undefined to work on any real embedded systems work. At most, it can work on the driver level, but even that code will need to be constantly redone as the language ages without any proper specifications.

Re:Switching to C over 'Modern' Programming Languages by pjmlp on Thursday April 13, 2023 @03:31PM (#35560931)
C was invented in the context of porting UNIX, while the world outside Bell Labs used something else, that is all there is to it.