Re: Webassembly as a Clojure target platform

2018-07-31 Thread Nathan Fisher
I haven’t been following it that closely. I thought GC is planned but not targeted for MVP or has that changed? On Thu, Jul 26, 2018 at 20:32, Gerard Klijs wrote: > Kotlin native can also target wasm. But I don't know enough of it to know > if it's usefull for the clojure story. Since there is

Re: Webassembly as a Clojure target platform

2018-07-31 Thread scstarkey
Seems this would be a good feature to follow then: Garbage Collection On Thursday, July 26, 2018 at 6:32:48 PM UTC-5, Gerard Klijs wrote: > > Kotlin native can also target wasm. But I don't know enough of it to know > if it's usefull for the

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Gerard Klijs
Kotlin native can also target wasm. But I don't know enough of it to know if it's usefull for the clojure story. Since there is very little you can do with wasm, it's highly dependent on interacting with JavaScript. It's possible some computational heavy stuff might better be done in wasm then

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Nathan Fisher
Think Rust and Golang both have the ability to target WASM now too. I'm not sure how well Java Byte-Code to WASM would work in practise. Found this project that seems able to transpile from Java ByteCode to JS/WASM; http://teavm.org/ On Thu, 26 Jul 2018 at 12:34 Bo Yao wrote: > Not true.Wasm

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Bo Yao
Not true.Wasm is a a kind of assembly and it's browser runtime: https://webassembly.github.io/spec/. The emscripten project is doing compile c/c++ to wasm. There's a another team working on rust to wasm compiler and toolchains: https://webassembly.github.io/spec/ On Friday, September 15, 2017

Re: Webassembly as a Clojure target platform

2017-09-15 Thread Nur Azhar
Correct me if I am wrong, webassembly is just a compiler currently only supports C,C++ and rust and we might be able to compile clojure to webassembly in the far future? On Thursday, September 14, 2017 at 5:03:25 AM UTC+8, Hlöðver Sigurðsson wrote: > >

Re: Webassembly as a Clojure target platform

2017-09-13 Thread Hlöðver Sigurðsson
https://github.com/AssemblyScript/assemblyscript Looks like the Typescript people are attempting exactly this. On Monday, 4 April 2016 08:50:06 UTC+2, JvJ wrote: > > Is there any plan in the future to have clojure (or some dialect of > clojure) compile to webassembly? I can't say for sure if

Re: Webassembly as a Clojure target platform

2016-04-04 Thread Kevin Downey
I recommend reading up on WebAssembly, a good place to start might be https://github.com/WebAssembly/design/blob/master/FAQ.md#is-webassembly-only-for-cc-programmers/ In those three paragraphs, it is pretty clear that, at least as it stands now, wasm is much closer semantically to actual asm than

Webassembly as a Clojure target platform

2016-04-04 Thread JvJ
Is there any plan in the future to have clojure (or some dialect of clojure) compile to webassembly? I can't say for sure if it is the "next big thing" for the web, but it is a very interesting concept. I suppose that, if Java bytecode could cross-compile to Webassembly, we would essentially