Live data from Hacker News

Microsoft Edge's JavaScript engine to go open-source

blogs.windows.com

61–70 of 283 posts

Re: Microsoft Edge's JavaScript engine to go open-source

#64
I find myself hoping Microsoft makes a comeback and they are really doing a lot to win developers which I think is the right move. Obviously, they are a huge platform and developers inherently will be using it but they have taken a lot of great steps like open sourcing this engine as well as other projects.

The Code editor they released is built on Atom Electron and seems more performant than Atom in the few experiences I have had switching between them.

If they can continue to gain trust in the community and improve their UI they could become great again. You can tell they have thought about how to do this. A few years ago now I remember the guys from the IE team did an AMA about the new explorer IIRC it was 10. They talked about cross browser compatibility and wanted developer feedback.

I am not sure if they are actually an "underdog" but I find myself feeling like that, and hoping they can get it together.

Re: Microsoft Edge's JavaScript engine to go open-source

#65

Earlier quoted context omitted.

Engineer on the Chakra team here. As the blog post says, we are definitely interested in going cross-platform. Which platforms would you be interested in seeing first?

Linux/FreeBSD

Yes, please! Here's another vote in support of Linux and FreeBSD!

Re: Microsoft Edge's JavaScript engine to go open-source

#67
post #61

We have a bunch of laptops at school running Windows 10 with Edge. Students can't copy and paste into Google Docs while using Edge. Was this a deliberate choice by Microsoft to steer people away from Google products, or is it something more benign than that?

I had similar problems using Google Docs on Safari too, so I think it’s just a bug on Google’s side.

Re: Microsoft Edge's JavaScript engine to go open-source

#68

Earlier quoted context omitted.

Servo currently uses SpiderMonkey as its JavaScript engine (SpiderMonkey is the Firefox JS engine). Sure, a JavaScript engine written at Rust would be useful at some point, but right now that's not on their roadmap.

From what I heard, it is on a roadmap, just not on Servo's. Apparently, it'll someday be a sister project to Servo.

Servo contributor here: Haven't heard of this plan (still could exist), though we do (mostly jokingly) toss the idea around every now and then. There are a couple of not-production-ready Rust JS interpreters floating around (https://github.com/swgillespie/rjs/ is the latest I've seen) though.

Stuff like JITs can't really reap Rust's safety+performance benefits[1], and overall the same might be said of a JS interpreter, with all the garbage collection and stuff. The other thing is that Spidermonkey/Chakra/V8 have had years of optimization and tweaks, starting from a clean slate would be _very_ hard. With Servo's small team this is an impossible task, but with a larger, dedicated, team, there's a chance. shrugs

[1]: though it's possible they will still be safer than the C++ counterparts, which is still good. The question then becomes, how much is that increase in safety, and can it justify a whole rewrite?

Re: Microsoft Edge's JavaScript engine to go open-source

#69

As a mere mortal - How hard would it be for a day programmer to built something cool like an JavaScript engine ? I sometimes have crazy thoughts about the world ending. How hard would it be to built your own javascript engine from scratch ?

A toy javascript interpreter is quite easy. But a high-performance, production-ready engine is a totally different story.

Re: Microsoft Edge's JavaScript engine to go open-source

#70

Earlier quoted context omitted.

Yep. They're kicking everyone's asses in ES6 feature coverage. All the more impressive when you consider how they came from behind. http://kangax.github.io/compat-table/es6/ I's almost sad that Edge is not cross-platform.

Engineer on the Chakra team here. As the blog post says, we are definitely interested in going cross-platform. Which platforms would you be interested in seeing first?

All! Mac OS X + Linux!
Post reply on HN