News for hackers. Stuff that matters.
Re:Memory use in CPython and MicroPython by dom0 on Sunday July 02, 2017 @09:56AM (#14682502)
> Erlang

What the fuck. And I thought constant-time indexable strings were a bad idea!

Re:Memory use in CPython and MicroPython by masklinn on Sunday July 02, 2017 @11:03AM (#14682784)
FWIW it's way too common in functional languages, Haskell's standard String is a typedef for [Char] (a linked list of Char) hence the proliferation of various other string types.
Re:Memory use in CPython and MicroPython by patrec on Sunday July 02, 2017 @12:51PM (#14683235)
They are. You want to use iolists in Erlang. Constant time concatenation (which is useful) rather than constant time indexing into codepoints (which is not; and erlang does not have BTW).