News for hackers. Stuff that matters.
Re:C Strings and my slow descent to madness by tyingq on Thursday April 06, 2023 @09:54AM (#35468329)
Fair, though there's always the crossover point where you need to interact with the OS, 3rd party libraries, protocols, etc. It's not difficult to miss a spot where your utf8 string gets mangled, truncated, etc.
Re:C Strings and my slow descent to madness by stephc_int13 on Thursday April 06, 2023 @09:59AM (#35468390)
Yes, do not trust the OS, use the minimal API surface, and build your own toolkit, you won't have to do it often.