Live data from Hacker News

Microsoft Edge's JavaScript engine to go open-source

blogs.windows.com

231–240 of 283 posts

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

#231
post #109

Earlier quoted context omitted.

The next Firefox Nightly build should get 84% on that page, much closer to Edge than Firefox 44 (74%). I work on SpiderMonkey and I'm super excited about this news. All JS engines have added more-or-less similar performance optimizations but often implemented differently and I'm really interested to see what the Chakra team did. I'd be happy to write a blog post on it next month, if people are interested.

Speaking as someone tuning a JS game, I focus on V8 over other engines because there are great articles around that explain in detail what v8 knows how to optimize, what causes functions to deopt, what kicks object property lookups into slow mode, etc. Articles explaining this for SpiderMonkey would be greatly appreciated!

Could you recommend a few articles?

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

#232

Earlier quoted context omitted.

Speaking as someone tuning a JS game, I focus on V8 over other engines because there are great articles around that explain in detail what v8 knows how to optimize, what causes functions to deopt, what kicks object property lookups into slow mode, etc. Articles explaining this for SpiderMonkey would be greatly appreciated!

Could you recommend a few articles?

On v8 right? This one is probably the best broad overview:

http://www.html5rocks.com/en/tutorials/speed/v8/

To get into the gory details google Vyacheslav Egorov - he's a v8 engineer with a number of talks on YouTube, presentation slides, and blog posts on v8 internals. He also maintains a tool called IRhydra, that lets you examine functions after they've been compiled into v8's internal representation.

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

#233
post #177

Earlier quoted context omitted.

Although important for their future, Chrome is not Google's cash cow, Chrome is everyday stealing Firefox's market share, they have the luxury to wait, Chrome's pressure (and now Edge) on Firefox hasn't made Firefox step up their game as one would expect.

It might make one question the underlying assumption that competition somehow can cause people to somehow magically become better (a concept many people have which makes no sense). In reality, competition changes how people allocate resources as they play a strategy game to not lose control over segments of the market they perceive as strategically important. It also causes them to lose their negotiation power in the…

Just for historical accuracy, both Safari and Firefox were working on JITs since before Chrome was announced, so high-performance JavaScript was coming independently of Chrome. I do agree that there was more competition with Chrome there and it took less time than it might have otherwise to get to the performance levels we have today.

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

#234
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?

If it fails when they paste via right-click menu, it's actually a known issue/design decision on Drive's side. Try using shortcuts instead.

> If it fails when they paste via right-click menu, it's actually a known issue/design decision on Drive's side.

I expect that if this were the problem, OP wouldn't be mentioning it.

When you attempt to use the right-click menu to copy and paste, you get a clearly-worded message box that tells you that you need to use the keyboard shortcuts, and which keyboard shortcuts to use.

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

#235
post #85
post #19

Wait, Edge does better on ES6 coverage than both Chrome and Firefox? Microsoft have seriously stepped up their game, especially seeing as it's now neck and neck for performance with Chrome: http://venturebeat.com/2015/09/10/browser-benchmark-battle-s...

Well, historically, when Microsoft was still in competition-mode, Internet Explorer was kicking Netscape's ass with the later versions. With the first few versions they were playing catch-up, but if I recall correctly, IE 4 and IE 5 actually had more features and better standards compliance than the current Netscape versions, as did IE 6 at its launch. "IE hell" started once Microsoft won the race.

Exactly.

And another, very important thing at that time: IE4/5 was much faster and lightweight than Netspace. I recall using IE all the time just because it take NN forever to start up. The only contender on the speed front was Opera.

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

#236
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 know a guy who works on core web-dev stuff at Google.

He tells me that Edge is often very quirky in very subtle ways. He's had to spend many, many hours diagnosing, reporting, and working around quirks in Edge. These quirks sometimes get fixed and sometimes do not, but are often not present in Internet Explorer.

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

#237
post #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.

AIUI, Safari is the IE6 of the "Modern Web".

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

#238
post #148

"I literally blown away by their name". ^^ I'm so sorry to hear about your accident. I hope your injuries were not serious! :-D https://www.youtube.com/watch?v=9jh4Mpgbi4A

We detached this subthread from https://news.ycombinator.com/item?id=10682557 and marked it off-topic.

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

#239
post #149

"I was literally blown away by Visual Studio Code" ^^ Wow, Microsoft should really be more cautious with their code. There seems to be an epidemic of injuries. I'm so sorry to hear about your accident. I hope your injuries were not serious! :-D https://www.youtube.com/watch?v=9jh4Mpgbi4A

We detached this subthread from https://news.ycombinator.com/item?id=10682076 and marked it off-topic.

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

#240

Earlier quoted context omitted.

I have a vested interest in creating a SM -> Chakra adapter to swap out SpiderMonkey and be able to compare it to see how it does because Chakra is also an interpreter and not JIT-only like V8. Such an adapter would also make playing with Servo -> Chakra possible. I haven't play with Servo, but is there a list of all the JSAPI calls that it needs to function or can you easily dump that list?

https://news.ycombinator.com/item?id=10682291 this?

Yep. See also: https://github.com/servo/rust-mozjs
Post reply on HN