Have you ever considered AssemblyScript? #1973
matthew-dean
started this conversation in
Ideas
Replies: 1 comment
-
I won't be surprised if some internals cannot be converted, there is quite a bit of dynamic behavior under the hood, e.g: Regardless of that, if I understand correctly: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of the things that's true about Chevrotain is no matter how blazing fast it is for a JavaScript parser, it still has a theoretical performance limit imposed by JavaScript itself.
I'm wondering if you've ever considered rebuilding in something like AssemblyScript? An implementer could, in theory, implement a parser in TypeScript / JavaScript OR AssemblyScript (I think?), and compile the parser to WASM for some amazing speed gains (in theory).
However, I don't know all of the internals of Chevrotain, and it's possible there are some JS features that are not yet available there. But I was just curious.
Beta Was this translation helpful? Give feedback.
All reactions