r/programming • • Dec 05 '15

Microsoft Edge’s JavaScript engine to go open-source

https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/
1.6k Upvotes

504 comments sorted by

View all comments

63

u/[deleted] Dec 05 '15

Can this run standalone on raspberry pi, linux, osx? Or does it require some form of windows?

163

u/bterlson_ Dec 05 '15 edited Dec 05 '15

Hey, I work on the Chakra team.

Chakra Node can run some IOT devices. See here: https://blogs.windows.com/buildingapps/2015/05/12/bringing-node-js-to-windows-10-iot-core/.

Cross-plat, as mentioned, is coming later, but we're super eager to hear from you guys in the meantime what platforms you want to see supported!

Edit: seriously guys, what platforms do you want? If no one says anything I'm going to pick Solaris. ;)

58

u/lasermancer Dec 05 '15

Linux is the obvious choice here

16

u/dilijev Dec 06 '15

Hey, I work for the Chakra team as well.

Linux is an obvious choice, to be sure. We have definitely been considering that as a target for cross-platform, but we are still evaluating various platforms and scenarios to determine which cross-platform targets will result in the greatest value add.

Feel free to share any scenarios you have in mind to help us make the decision!

15

u/skomorokh Dec 06 '15

If it's faster than v8 with better es2015 support sounds like it'd be a straightforward replacement for all the nodejs/misc server-side js stuff that happens all over the place.

I don't know but I believe a majority of nodejs apps are Linux-hosted. We might not move to Windows 10 for it, but if we could just swap out v8 for chakra....

At any rate, thanks for staying in the game and keeping Google on its toes! It's in everyone's interest to have a few cutting edge teams on this.

15

u/DragoonAethis Dec 06 '15

BSDs, most likely. ReactOS if you want to piss off your boss with a full banana on your face :)

11

u/[deleted] Dec 06 '15

Do you really need an evaluation to tell you that Linux is the most successful server OS in history?

10

u/536445675 Dec 06 '15

They are evaluating if Linux is something they can work with. Just look at the comments in this thread,a lot of Linux users wouldn't touch something from ms if it cured cancer.

→ More replies (2)
→ More replies (2)
→ More replies (4)

59

u/Adys Dec 05 '15

Why can't I run this on my TI-86? It's an outrage.

46

u/bterlson_ Dec 05 '15

TI-86?? Out of the question! TI-89 though, maybe, since I'm a member of the TI-89 master race!

Edit: oh wait, these calculators haven't gotten hardware upgrades in decades. :-P

22

u/Sydonai Dec 05 '15

TI nSpire is a hardware upgrade. The reason they don't upgrade the calculators is because it scares the teachers, who knee-jerk ban them from tests because "cheating." It's frankly a miracle we don't teach using slide rules.

8

u/hoohoo4 Dec 06 '15

And the reason they don't make them cheaper is because they don't have to.

→ More replies (1)

4

u/fb39ca4 Dec 05 '15

With its ARM support, you might get it running on the TI-Nspire.

4

u/bterlson_ Dec 05 '15

Wow those look nice. Hmm.....

→ More replies (3)

3

u/cincodenada Dec 06 '15

I don't know, I have a strong attachment to both the TI-86 and the TI-89, as I spent a lot of time with the TI-86 before I got my TI-89. But can't we can all agree to fart in the general direction of those TI-83/84 losers?

→ More replies (1)

0

u/[deleted] Dec 05 '15

[deleted]

8

u/bterlson_ Dec 05 '15

I'm pretty sure Chakra Node still uses libuv, so I think that work is already done. But note that this only runs on Windows, so to enable the Debian scenario we'd have to support that platform first (we'll be supporting more platforms in the future).

11

u/adolfojp Dec 05 '15

Go Haiku or go home!

4

u/[deleted] Dec 06 '15

KolibriOS

4

u/yourebetterthanme Dec 05 '15

Is it possible to bring it to android?

8

u/bterlson_ Dec 05 '15

I think so! Certainly technically, but maybe there are platform restrictions? Probably someone more familiar with android dev can comment further.

→ More replies (3)

3

u/[deleted] Dec 05 '15

What is the relation to Node? As someone new to the MEAN stack, is this a replacement or...?

10

u/bterlson_ Dec 05 '15

Node, like the browser, hosts a javascript engine to provide a programming model to developers. We are hoping to enable Chakra to power Node via a PR soon! (See WIP here: https://github.com/microsoft/node)

3

u/Patman128 Dec 05 '15

Node is built on top of the V8 JavaScript engine.

In theory the engine could be swapped out with Chakra, though in practice it would cause a lot of problems due to all the modules that contain C++ code which directly interacts with V8.

→ More replies (2)
→ More replies (14)