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

Inertia is no excuse, if something like SDS was adopted by WG14, eventually C applications could slowly be migrated into it.

As it is, it will never happen.




SDS is cool, I use it in my projects and have also extended it further with some new features... but I worry about the amount of dynamic allocation going on, it would be nice to have an alternative solution such as using stack or pool allocations, or being able to declare SDS string literals at compile-time (probably only possible in C++). Every time I notice that I need to replace a const char* with an SDS I just know I'm slowing things down and adding more complexity.


It doesn't have to be 1:1 equal to SDS, rather at least having WG14 doing something, anything at all, instead of keeping pushing the agenda of C being a Swiss cheese of security exploits, to the point everyone is adopting hardware memory tagging as the ultimate mitigation.




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

Search: