Re:Checked C: extension to C that adds static and dynamic ch...
by zzzcpan on Wednesday March 14, 2018 @09:27PM
(#16589859)
Basically this: https://github.com/antirez/sds
[ Parent
| on HN ]
Re:Checked C: extension to C that adds static and dynamic ch...
by userbinator on Wednesday March 14, 2018 @09:44PM
(#16589944)
Good to see I'm not the only one who thought of that idea, although my implementation has a different order of the fields (and IMHO better, since it allows for statically allocated strings with only a length field --- a sort of subclassing.)