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

Then you never heard of ropes. Strings are not just vectors, any efficient handling of strings must also deal with small vector optimizations, prefix trees and ropes, besides the neglected unicode nightmares.

You don't want to have that in core, only in the stdlib. Core is fine with vectors and hashes, the rest is built on top of that, plus lists and trees. Do you insist on lists in core? Nobody does that.

Not even the libc has proper strings, you need gnulib or libunistring for that. Neither the libc++ has proper strings.




>Not even the libc has proper strings, you need gnulib or libunistring for that. Neither the libc++ has proper strings.

Yes, but those are the kind of mistakes we want to avoid with newer languages, no?




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

Search: