3 ms·
Replacing the string memory layout in operating system APIs is more similar to changing the track width on an existing railroad network, across the whole world.
by flohofwoe 5y ago
Replacing the string memory layout in operating system APIs is more similar to changing the track width on an existing railroad network, across the whole world.
It may be a good idea from a theoretical standpoint, but once you start calculating the cost it simply doesn't make sense.
- pjmlp 5y agoLiability and lawsuits due to security exploits will take care of that. Thankfully they are starting to pick up.
- kortex 5y agoObviously not with that attitude. I'm not even talking about back-porting. I'm saying going forward, in new drivers and extensions, and new growth where it makes sense to do so. There's even plenty of means for backwards-compatible strings and arrays, such as sds. But really the point was more to "this should have really been addressed decades ago." https://github.com/antirez/sds https://github.com/antirez/sds