News for hackers. Stuff that matters.
Re:I love coding in C by jstimpfle on Thursday December 26, 2019 @03:03PM (#21886278)
> Contrary to urban myths, C has a runtime as well.

Would you like to tell us how it compares to e.g. Java's runtime as well?

Re:I love coding in C by pjmlp on Thursday December 26, 2019 @03:13PM (#21886345)
For starters, easier to exploit.

Then, unless we are speaking about a non-conformant ISO C implementation for bare metal deployments, it provides the initialization before main() starts, floating point emulation, handling of signals on non-UNIX OSes, VLAs.

Re:I love coding in C by jstimpfle on Thursday December 26, 2019 @04:54PM (#21887144)
So basically all the stuff that noone cares about? Maybe it's only a runtime if you really want to win a pointless argument?
Re:I love coding in C by pjmlp on Friday December 27, 2019 @07:05AM (#21890853)
How Apple, Google, Microsoft, Sony, ARM are now steering the industry regarding their OS SDKs has already proven who is on the right side.

I have been at this since the BBS days, I don't care about Internet brownie points.

The only thing left is actually having some liabily in place for business damages caused by exploits, I am fairly confident that it will eventually happen, even if it takes a couple of more years or decades to arrive there.

Re:I love coding in C by jstimpfle on Friday December 27, 2019 @07:43AM (#21891001)
Claiming that a little process startup code (that isn't really part of a particular language, but is much more part of the OS ABI) was easier to exploit than an entire JRE is just dishonest.

I would never think of "floating point emulation, handling of signals on non-UNIX OSes, VLAs" as anything resembling a "runtime". These are mostly irrelevant anyway, but apart from that they are just little library nuggets or a few assembly instructions that get inserted as part of the regular compilation.

By "runtime", I believe most people mean a runtime system (like the JRE), and that is an entirely different world. It runs your "compiled" byte code because that can't run on its own.

Re:I love coding in C by pjmlp on Friday December 27, 2019 @07:55AM (#21891057)
I care about computer science definitions, not what most people think.

Dishonest is selling C to write any kind of quality software, specially anything conected to the Internet, unless one's metrics about quality are very low.

Re:I love coding in C by jstimpfle on Friday December 27, 2019 @08:00AM (#21891078)
So "computer science" defines a little process startup code to be equal to the JRE? If that is so, I admit defeat to your infallible logic.
Re:I love coding in C by pjmlp on Friday December 27, 2019 @08:02AM (#21891089)
Computer science defines any kind of code used to support language features as a language runtime.

Assume whatever you feel like.

Re:I love coding in C by jstimpfle on Friday December 27, 2019 @08:06AM (#21891103)
So that seems to be about how balanced and deep you want discussions to go. Thanks for the propaganda anyway.
Re:I love coding in C by pjmlp on Friday December 27, 2019 @03:05PM (#21894086)
Propaganda goes both ways.