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

JavaScript Engine Choice #3

Open
phase opened this issue Mar 26, 2016 · 3 comments
Open

JavaScript Engine Choice #3

phase opened this issue Mar 26, 2016 · 3 comments

Comments

@phase
Copy link

phase commented Mar 26, 2016

Obviously if you're going to write an operating system using jQuery, you're going to need JavaScript. And to get JavaScript running, you need an engine for it.

Duktape was built for this. It's incredibly small, and can be easily integrated with any C setup.

V7 is another good choice. It's only ~200kb.

The only argument against these is that they aren't using JIT, which could be a problem if you were to have something big running on them, i.e. an OS. V8 would be a great choice for JIT, though it's a lot larger.

@vihanb
Copy link
Member

vihanb commented Mar 26, 2016

The reason I was thinking about V8 is it would be easier to incorporate a DOM as I could just copy+paste Chromium's code. I'll take a look at those though

@somebody1234
Copy link
Contributor

Plus, you can use Chromium as the renderer with V8.

@vihanb
Copy link
Member

vihanb commented Dec 11, 2016

I'll re-enforce my vote for v8 since I am now familiar with v8 internals

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

No branches or pull requests

3 participants