Re: [rust-dev] rust to JavaScript

2012-07-21 Thread David Herman
Oh, actually, I wonder if the transfer semantics of ArrayBuffers wouldn't give us the ability to emulate the exchange heap more accurately: http://www.khronos.org/registry/typedarray/specs/latest/#9.2 http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-Fast Long story

Re: [rust-dev] rust to JavaScript

2012-07-19 Thread Niko Matsakis
On 7/18/12 9:48 PM, David Herman wrote: That would result in a very different performance model, since Rust expects to be able to create several metric craptons [1] of concurrent tasks, whereas the number of workers you can create is much smaller. But who knows, it might still be interesting

Re: [rust-dev] rust to JavaScript

2012-07-14 Thread Stefan Plantikow
On 12 Jul 2012, at 1:40, Mic wrote: Hello, Any plans to allow rust to compile to JavaScript like dart http://www.youtube.com/watch?v=YxogQGnMA9Y . I'd rather see a pluggable js/lisp/lua/.. interpreter that is able to handle arbitrary rust values once the reflection api matures to have a

Re: [rust-dev] rust to JavaScript

2012-07-12 Thread David Bruant
Le 12/07/2012 01:40, Mic a écrit : Hello, Any plans to allow rust to compile to JavaScript like dart http://www.youtube.com/watch?v=YxogQGnMA9Y . To the best of my knowledge, Rust compiles down to LLVM and Emscripten compiles from LLVM to JS, so it seems like the hardest part of the job is

Re: [rust-dev] rust to JavaScript

2012-07-12 Thread Niko Matsakis
On 7/12/12 12:32 AM, David Bruant wrote: To the best of my knowledge, Rust compiles down to LLVM and Emscripten compiles from LLVM to JS, so it seems like the hardest part of the job is already done. Maybe so, but there remains a good bit of work. Emscripten requires non-trivial libraries

[rust-dev] rust to JavaScript

2012-07-11 Thread Mic
Hello, Any plans to allow rust to compile to JavaScript like dart http://www.youtube.com/watch?v=YxogQGnMA9Y . Cheers, Mic ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev