News for hackers. Stuff that matters.
Re:Why is strlen so complex in C? by kllrnohj on Monday August 26, 2019 @07:19PM (#20804696)
> This is kind of the point of C. It maps directly to the hardware.

No it doesn't. It didn't in the past, it was a high-level abstraction. And it doesn't today, because CPUs don't behave at all like C's defined virtual machine.

Re:Why is strlen so complex in C? by justinmeiners on Monday August 26, 2019 @07:24PM (#20804731)
> CPUs don't behave at all like C's defined virtual machine

What "virtual machine" are you referring to?

Re:Why is strlen so complex in C? by anticensor on Sunday September 08, 2019 @03:47PM (#20912936)
One that ISO 9899 refers to as its abstract machine.
Re:Why is strlen so complex in C? by saagarjha on Monday August 26, 2019 @07:32PM (#20804787)
The one defined in the standard.