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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: support for v8-lite add a v8 jitless build to be used with deno #6621

Closed
frank-dspeed opened this issue Jul 3, 2020 · 5 comments
Closed

Comments

@frank-dspeed
Copy link

frank-dspeed commented Jul 3, 2020

the new v8 lite project will be merged soon into the --jitless mode flag https://v8.dev/blog/v8-lite so it will not only allow to pre allocate memory it will also save up to 35% memory traded for some performance so it will run even better on devices with a small memory footprint

Enables

  • Running on IoT Devices more memory efficient
  • IOS & Android Support
  • Better for big Data and Memory based Cloud Computing like ML Research.

Related Issues

@frank-dspeed frank-dspeed changed the title Proposal: add a v8 jitless build to be used with deno Proposal: support for v8-lite add a v8 jitless build to be used with deno Jul 3, 2020
@kitsonk
Copy link
Contributor

kitsonk commented Jul 3, 2020

This is more of a rusty_v8 thing than a Deno thing. https://github.com/denoland/rusty_v8. Even if it made it to Deno it would first need to be in rusty_v8.

@frank-dspeed
Copy link
Author

Oh you're correct but in general, as deno ships with v8, it can be open here as a reference till something is done in that direction.

@kitsonk
Copy link
Contributor

kitsonk commented Jul 3, 2020

Deno ships with rusty_v8, which includes v8.

@lucacasonato
Copy link
Member

You can already run Deno in V8 jitless mode: deno run --v8-flags="--jitless". It is just painfully slow. V8 lite mode is also supported via --v8-flags="--lite-mode". I am not sure everything works, but it is enough for initial testing.

@frank-dspeed
Copy link
Author

@lucacasonato amazing how fast we as a community did ship this features 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants