Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Vim in Web Worker and say goodbye to Emterpreter #30

merged 20 commits into from Jun 12, 2019


None yet
1 participant
Copy link

commented Jun 11, 2019

Closes #10
Fixes #29

Please read README for more details.

馃憤 Benefits:

  • Pure Wasm (not Emterpreter byte code)!
  • Program is more stable
  • Total binary size is smaller since has gone
  • Compilation is much faster
  • User interaction is not prevented as Vim is running in worker thread

馃憥 Downside:

  • JavaScript codebase is a bit more complicated because it is separated into main thread and worker thread
  • Browser support of SharedArrayBuffer is very limited in several major browsers due to Spectre. Only Chrome (and Chromium based browsers) enables it by default thanks to site-isolation

@rhysd rhysd force-pushed the webworker branch from d5f6385 to d90ba4e Jun 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.