←back to thread

Thomas E. Kurtz has died

(computerhistory.org)
614 points 1986 | 1 comments | | HN request time: 0.214s | source
Show context
WalterBright ◴[] No.42150808[source]
I originally learned to program with BASIC. When I was designing D, I thought back to how easy and natural string manipulation was in BASIC, and what a festering swamp of bugs it was in C.

Having strings as easy and correct in D was a major priority, and history has shown that this was a success.

P.S. Whenever I review C code, I first look at the string manipulation. The probability of finding a bug in it is near certainty. Question for the people who disagree - without looking it up, how does strncpy() deal with 0 termination?

Thank you, Thomas Kurtz!

replies(6): >>42150847 #>>42150921 #>>42151230 #>>42153040 #>>42155368 #>>42203247 #
1. Gibbon1 ◴[] No.42150921[source]
I was thinking that same thing recently with the embedded code I work on. I was thinking if BASIC could handle strings on Z80 with 4k of ROM and 16K (woo hoo!) of static RAM why do I have to put up with C strings on an ARM running at 48MHz?