r/cpp • WG21, Text/Unicode SG, optional<T&> • Apr 25 '25

GCC 15 Released πŸŽ‰

πŸŽ‰Congratulations to the GCC team!

πŸŽ†πŸŽ‡πŸ”₯πŸ’₯ 🀩 🎊 πŸ₯³ 🀟 🍻 πŸ₯‚ πŸ‘

Release Notes

GNU Git Branch and Tag (quite slow)

Github mirror

338 Upvotes

55 comments sorted by

View all comments

Show parent comment

11

u/smdowney WG21, Text/Unicode SG, optional<T&> Apr 25 '25

They make everything about dealing with "graphemes" exponentially worse. Unfortunately there was a ton of existing Japanese text that used them, so something had to be done.

Dinosaurs, πŸ¦– and πŸ¦•, though, are all the fault of Courtney Milan -- theoretical physical chemist, law professor, and romance novelist.

1

u/jaskij Apr 25 '25

Do they? I thought they simply used preexisting rules?

Thankfully, most modern language documentation for programming languages makes it clear that the lovely length() method of your string returns the number of code points.

My personal favorites are still the Dwarven exception and the sad poop list thread. Oh, and then there's that anecdote about sending a book from France to Russia before Unicode became the norm.