Microsoft's Dynamic Languages Runtime (DLR)

Alex Martelli aleax at mac.com
Thu May 3 11:02:05 EDT 2007


Duncan Booth <duncan.booth at invalid.invalid> wrote:

> means in pure Python code the string has python methods, but in Python
> using the CLR it gains the CLR methods. Presumably in Ruby code it looks
> like a Ruby string and so on, but (and this is what's new) it is the same
> object, not a bunch of language specific wrappers around the string type.

So is it changeable (making Python code using it deeply unhappy) or
unchangeable (making Ruby or Javascript code similarly unhappy)?  The
idea of just having one string type across languages is fascinating, but
I'm not sure it can work as stated due to different semantics such as
mutable vs immutable...


Alex



More information about the Python-list mailing list