by bestouff · 3y ago · 0 comments
The good news is that you can build typesafe alternatives on top of the underlying std crap. Would be nice to have a standard <stdstruct.h> that provides common typesafe structs for things like os paths, sql strings, html strings, etc. just like <stdint.h> did for sized integers.
I’ve rolled my own typesafe wrappers fo my current C project and it’s been great so far.