On 31/01/2018 3:43 AM, Jon Perryman wrote:
Tom Marchant wrote:
Well, ok, null-terminated strings are a booby-trap
included in the C language. But it was poor programming that caused the 
problems.
I'm not sure how strings could be attributed to poor programming. Unix & C were 
designed and implemented around RISC processors. Instructions are limited to 
dealing with a single byte. In this situation, strings are far more optimal 
compared to fix length fields. IBM hardware changed that by implementing 
instructions like CLC and MVC.
The MVC and CLC instructions of the IBM /360 came years before
Unix and C.

And I understand that RISC processors came long after C.

Reply via email to