2 ms·
So, were I to seek examples of such "thoroughly modern C code" in order to educate myself, do you have some suggestions where to look? In particular, would you
by jabl 11y ago
So, were I to seek examples of such "thoroughly modern C code" in order to educate myself, do you have some suggestions where to look?
In particular, would you recommend to do string handling with some string library (e.g. glib has one?), or just use the mem*() functions and manually keep track of the lengths, or what?
- tptacek 11y agoCheck out the recent AGL story on BoringSSL for an idea of what a conversion from 90s C code to modern C code looks like. Yes: do string handling with high-level string abstractions. No, don't try to freelance it with the mem-() functions.