3 ms·
Delphi strings were really well implemented. Garbage collected (RC), multithread safe, length in first integer, fast, make them as big as your memory could hand
by robocat 3y ago
Delphi strings were really well implemented. Garbage collected (RC), multithread safe, length in first integer, fast, make them as big as your memory could handle. Reduced bad memory pointers a lot compared to competition at the time. Didn't handle the Unicode transition well: but virtually no languages did.
- magicalhippo 3y agoOn the contrary, I'd say they handled the Unicode transition very well. At work we had many, many thousands of lines manipulating strings, high and low level, and full project was over 300kLOC plus many heavy dependencies. We spent just a day or two to convert it to be Unicode capable. Since we've had hardly any issues, and Unicode is not something we need to think about in the day-to-day.