These are chat archives for opal/opal

15th
Nov 2017
Elia Schito
@elia
Nov 15 2017 00:43

@catmando I suspect the latter stops at the first level while the former can work with nested hashes… but if you sense there's an opportunity to implement Hash.new in terms of Opal.hash and make it faster please do!

relevant code:
https://github.com/opal/opal/blob/0-6-stable/stdlib/native.rb#L461-L477
https://github.com/opal/opal/blob/0-6-stable/opal/corelib/runtime.js#L800-L804

Surya Poojary
@staymetal
Nov 15 2017 01:51
@elia sure !?
!!
Barrie Hadfield
@barriehadfield
Nov 15 2017 12:14
Hello all - are there plans for Opal to compile to WebAssembly in the future?
Elia Schito
@elia
Nov 15 2017 12:31
@barriehadfield there are one or two issues open on that topic, but I don’t remember if anyone started any actual work. Anyway we’re open to that but there must be enough browser support first. Also I think would be interesting to see if we can offload just some hot code paths to WA and improve the perf without rewriting everything.
Barrie Hadfield
@barriehadfield
Nov 15 2017 12:47
thanks @iliabylich. I think it is one to watch with great interest. The true democratization of the web and the beginning of the end to the tyrannous reign of JS.