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

Perhaps you could keep ABI compatible using with versioned symbols?



If the functions are separate overloads there is no need of versioning in the first place.

On the other hand if you change the layout of structures (like it would be the case for bound checked pointers), it is much much harder. GCC has ABI tags, but they only help a bit.

In any case nobody is going to bound check iterators by default, these already exists when using whatever debug standard library your compiler provides and they are orders of magnitude slower than unchecked iterators.




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

Search: