[#10193] String.ord — David Flanagan <david@...>

Hi,

41 messages 2007/02/05
[#10197] Re: String.ord — Yukihiro Matsumoto <matz@...> 2007/02/06

Hi,

[#10198] Re: String.ord — David Flanagan <david@...> 2007/02/06

Yukihiro Matsumoto wrote:

[#10199] Re: String.ord — Daniel Berger <djberg96@...> 2007/02/06

David Flanagan wrote:

[#10200] Re: String.ord — David Flanagan <david@...> 2007/02/06

Daniel Berger wrote:

[#10208] Re: String.ord — "Nikolai Weibull" <now@...> 2007/02/06

On 2/6/07, David Flanagan <david@davidflanagan.com> wrote:

[#10213] Re: String.ord — David Flanagan <david@...> 2007/02/06

Nikolai Weibull wrote:

[#10215] Re: String.ord — "Nikolai Weibull" <now@...> 2007/02/06

On 2/6/07, David Flanagan <david@davidflanagan.com> wrote:

[#10216] Re: String.ord — David Flanagan <david@...> 2007/02/07

Nikolai Weibull wrote:

[#10288] Socket library should support abstract unix sockets — <noreply@...>

Bugs item #8597, was opened at 2007-02-13 16:10

12 messages 2007/02/13

[#10321] File.basename fails on Windows root paths — <noreply@...>

Bugs item #8676, was opened at 2007-02-15 10:09

11 messages 2007/02/15

[#10323] Trouble with xmlrpc — James Edward Gray II <james@...>

Some of the Ruby code used by TextMate makes use of xmlrpc/

31 messages 2007/02/15
[#10324] Re: Trouble with xmlrpc — "Berger, Daniel" <Daniel.Berger@...> 2007/02/15

> -----Original Message-----

[#10326] Re: Trouble with xmlrpc — James Edward Gray II <james@...> 2007/02/15

On Feb 15, 2007, at 1:29 PM, Berger, Daniel wrote:

[#10342] Re: Trouble with xmlrpc — James Edward Gray II <james@...> 2007/02/16

While I am complaining about xmlrpc, we have another issue. It's

[#10343] Re: Trouble with xmlrpc — Alex Young <alex@...> 2007/02/16

James Edward Gray II wrote:

[#10344] Re: Trouble with xmlrpc — James Edward Gray II <james@...> 2007/02/16

On Feb 16, 2007, at 12:08 PM, Alex Young wrote:

Re: Collaborative Ruby Language Specification

From: Charles Oliver Nutter <charles.nutter@...>
Date: 2007-02-01 01:38:51 UTC
List: ruby-core #10145
gwtmp01@mac.com wrote:
> 
> On Jan 30, 2007, at 10:38 AM, John Lam (CLR) wrote:
>> On the CLR front (and I'm pretty sure on the JVM front as well) 
>> continuations pose a very major problem for implementers. It's a 
>> difficult problem to solve while preserving decent performance 
>> characteristics. And the approaches that have been attempted in the 
>> past (like exploiting the exception facilities of the runtime) don't 
>> hold forth the promise of future performance improvements.
> 
> Do you have any pointers to resources (papers, blog entries, source 
> code) that elaborate on the difficulties of implementing continuations?  
> Is it difficult in the theoretical sense or simply difficult to 
> implement on top of VMs that were designed without continuations in mind?

The latter. The JVM and CLR do not provide any way to manipulate the 
call stack, which is the typical and probably most efficient way to 
implement continuations (aside from providing your own machine and call 
stack implementation, which would essentially be an interpreter-on-VM in 
both cases).

So yes, they're difficult to do on the JVM and CLR. Maybe impossible 
without severe performance degradation, and entirely impossible to do 
when third-party libraries are involved that don't play nice with even 
the cleverest tricks we could come up with.

For this reason, it's highly likely that even if continuations did 
survive into later 1.9 and 2.0 releases, they may never be available on 
the CLR or JVM.

Ruby developers will have to decide if inability to run on JVM or 
CLR-based Ruby implementations is worth all the continuation-based 
"funky stuff". Honestly, I don't think it is.

- Charlie

In This Thread