Hacker News new | past | comments | ask | show | jobs | submit login

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?




Check 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: