News for hackers. Stuff that matters.
Re:Ask HN: What startup/technology is on your 'to watch' list? by benibela on Saturday May 23, 2020 @08:58AM (#23282549)
I have always used Pascal for memory safe strings. Reference counted, mutable xor aliased, bound checked: their safety is perfect.

Unfortunately there is no string view, so you need to copy the substrings or use pointers/indices. I tried to build a string view, but the freepascal compiler is not smart enough to keep a struct of 2 elements in registers.

There are no comments on this comment yet.