Linked by MOS6510 on Thu 10th Jan 2013 23:25 UTC
General Development "For years I've tried my damnedest to get away from C. Too simple, too many details to manage, too old and crufty, too low level. I've had intense and torrid love affairs with Java, C++, and Erlang. I've built things I'm proud of with all of them, and yet each has broken my heart. They've made promises they couldn't keep, created cultures that focus on the wrong things, and made devastating tradeoffs that eventually make you suffer painfully. And I keep crawling back to C."
Permalink for comment 548405
To read all comments associated with this story, please click here.
Member since:

Then you throw C performance out of the window, because all C libraries assume null terminated strings and you end up converting between string types all the time.

Since when is C performance depending on null-terminated string ? God, have you already programmed in C ?

Whenever i'm looking for performance, i never handle strings, but blocks of bytes.
Strings are for "higher-layers", such as sending a file name as a parameter. This kind of usage has zero impact on critical loop performance.

Reply Parent Score: 1