If someone wants to tackle this, there are some options to be taken:

1. Compile Erlang Abstract Code to asm.js

2. Compile Core Erlang to asm.js

3. Rely on the llvm backend for hipe, which compiles to native, to compile
to webassembly instead

4. Experimental: Compile Elixir AST to asm.js. We have spent the last weeks
improving the Elixir compiler to allow Elixir developers to work on the
Elixir AST instead of the formats above. The advantage of doing so is that
you can introduce constructs to the Elixir syntax that targets specific
backends

If someone is interested in playing with any of those options and you would
like to chat about it, please ping me on IRC or privately by e-mail.



*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

On Wed, Mar 8, 2017 at 5:41 PM, Brian Cardarella <[email protected]> wrote:

> Bringing this back up as it never got any traction.
>
> I'm seeing more and more of Elixir's competing languages getting some
> attention for web assembly:
>
> Rust: https://davidmcneil.github.io/the-rusty-web/
> Go: https://github.com/golang/go/issues/18892
>
> Thoughts on discussion around an Elixir effort?
>
> On Wednesday, March 23, 2016 at 7:40:33 AM UTC-4, Brian Cardarella wrote:
>>
>> This is more of a "what if?" post than anything.
>>
>> I am curious if there has been any discussion on either the Elixir side
>> or Erlang side around Web Assembly. Is it a viable compilation target?
>> Could there be benefits to the Elixir community? What type of efforts would
>> be necessary to make this a reality?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/elixir-lang-core/a437e695-d491-4abc-8a73-
> 505912bcb79f%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/a437e695-d491-4abc-8a73-505912bcb79f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2B0iKCo016y%2BFBVgXYh47eNAiGzatHrtEbZVqgbbREe3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to