These are chat archives for opal/opal

Nov 2016
JavaScript Regular Expression Library for NodeJS and Browsers.
Might be useful to integrate (or learn from) if we are going to support more Regexp. It actually do the parsing & exec in JS.
To optimize, we could actually do the AST parsing for those static regexp at compile time and inline the internal AST.
David Chang
Nov 19 2016 08:33

Microsoft has done experiment compiling oniguruma (regex engine MRI used) to js using emscripten for their Monaco editor. But looks like the performance is really poor.

we have experimented with Emscriptem to compile the C library to asm.js, but performance was very poor even in Firefox (10x slower) and extremely poor in Chrome (100x slower).