Re:Ruby 3.2 preview 1 with support for WASM compilation
by byroot on Thursday April 07, 2022 @02:40PM
(#30948642)
It was explored but decided against, at least for now https://bugs.ruby-lang.org/issues/18653
Re:Ruby 3.2 preview 1 with support for WASM compilation
by dragonwriter on Thursday April 07, 2022 @04:38PM
(#30950043)
Wrapping RE2 with a fallback to the existing engine to try to maintain compatibility was explored; that, like the timeout approach, is pretty clearly a stopgap measure; actually implementing an RE2-style algorithm without the compatibility and toolchain warts of RE2 for Ruby's existing code and functionality is a bigger but more permanent solution, that I don't think has really been ruled out of explored.
[1]: https://github.com/google/re2