Rubinius!

:P

2010/5/14 Luis Lavena <[email protected]>:
> 2010/5/14 Sebastian A. Espindola <[email protected]>:
>>
>> Hasta donde se, el termino lambda fue removido de ruby 1.9
>> "->" es el nuevo metodo de hacer lambdas.
>>
>
> C:\Users\Luis\Projects>ruby -v
> ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
>
> C:\Users\Luis\Projects>irb
> irb(main):001:0> a = proc { puts 'a' }
> => #<Proc:0x29fc900@(irb):1>
> irb(main):002:0> b = lambda { puts 'b' }
> => #<Proc:0x2a6fd40@(irb):2 (lambda)>
> irb(main):003:0> a.call
> a
> => nil
> irb(main):004:0> b.call
> b
> => nil
>
> Puede que haya diferencias en como trabaja lambda con respecto a 1.8,
> y lo mas probable es que sea Rails el problema, no Ruby.
>
>> Rails 2.3 ya es thread-safe y esta completamente soportado
>> en 1.9. La mejora de performance es notable.
>>
>
> Rails 2.3 no soporta correctamente todo el Encoding que tiene Ruby
> 1.9, ahi hay un gran problema.
>
> Mucho no importa que Ruby 1.9 use native threads, tiene un gran GIL
> por fuera que evita que los threads corran de manera concurrente.
>
> --
> Luis Lavena
> AREA 17
> -
> Perfection in design is achieved not when there is nothing more to add,
> but rather when there is nothing more to take away.
> Antoine de Saint-Exupéry
> _______________________________________________
> Ruby mailing list
> [email protected]
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
>
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a