Re: Flexible String Representation - full Unicode for ES6?

2012-12-23 Thread Rick Waldron
On Saturday, December 22, 2012 at 12:34 AM, Chris Angelico wrote: On Sat, Dec 22, 2012 at 4:09 PM, Erik Arvidsson erik.arvids...@gmail.com wrote: On Fri, Dec 21, 2012 at 6:45 PM, Chris Angelico ros...@gmail.com wrote: There is an alternative. Python (as of version 3.3) has implemented a

Re: Flexible String Representation - full Unicode for ES6?

2012-12-21 Thread Erik Arvidsson
On Fri, Dec 21, 2012 at 6:45 PM, Chris Angelico ros...@gmail.com wrote: There is an alternative. Python (as of version 3.3) has implemented a new Flexible String Representation, aka PEP-393; the same has existed in Pike for some time. A string is stored in memory with a fixed number of bytes

Re: Flexible String Representation - full Unicode for ES6?

2012-12-21 Thread Chris Angelico
On Sat, Dec 22, 2012 at 4:09 PM, Erik Arvidsson erik.arvids...@gmail.com wrote: On Fri, Dec 21, 2012 at 6:45 PM, Chris Angelico ros...@gmail.com wrote: There is an alternative. Python (as of version 3.3) has implemented a new Flexible String Representation, aka PEP-393; the same has existed

Re: Flexible String Representation - full Unicode for ES6?

2012-12-21 Thread Mark Davis ☕
The man main complication for compatibility is indexing. See http://macchiati.blogspot.com/2012/07/unicode-string-models-many-programming.html If you look back about a year in this list's archive you'll find a long discussion. {phone} On Dec 21, 2012 9:34 PM, Chris Angelico ros...@gmail.com

Re: Flexible String Representation - full Unicode for ES6?

2012-12-21 Thread Chris Angelico
On Sat, Dec 22, 2012 at 5:20 PM, Mark Davis ☕ m...@macchiato.com wrote: The man main complication for compatibility is indexing. See http://macchiati.blogspot.com/2012/07/unicode-string-models-many-programming.html Right, and that's the exact issue. If a programming language had a bug wherein