Live data from Hacker News

Using Chakra for Scripting Applications Across Windows 10

blogs.windows.com

1–10 of 13 posts

Re: Using Chakra for Scripting Applications Across Windows 10

#2
if it wasn't enough to have google pushing it's weight around to drive new JS and html specs, now microsoft resurrects from the grave with out-of-IE6-history pearls such as:

"Legacy JSRT APIs ... Edge JSRT APIs"

when IE11 rolls out, lots of devs (obviously not in san francisco bubble) will be churning out sites that require IE11 new APIs to work.

let's just hope they at least bring something useful to justify the shitstorm, like they did with XMLHttpRequest (which does not get even the uppercase consistency right)

Re: Using Chakra for Scripting Applications Across Windows 10

#3
post #2

if it wasn't enough to have google pushing it's weight around to drive new JS and html specs, now microsoft resurrects from the grave with out-of-IE6-history pearls such as: "Legacy JSRT APIs ... Edge JSRT APIs" when IE11 rolls out, lots of devs (obviously not in san francisco bubble) will be churning out sites that require IE11 new APIs to work. let's just hope they at least bring something useful to justify the shi…

All of these apis seem to be exposed only when hosting the Chakra engine. They even call out the fact that it's not for in browser:

> However with JavaScript’s increasing popularity in beyond-the-browser scenarios, developers have been requesting to host the Chakra engine outside the browser to enable JavaScript programmability in their native/managed applications across the client and the server.

Re: Using Chakra for Scripting Applications Across Windows 10

#6
If you want to use the API the documentation is not particularly helpful on how to put all the pieces together (though it's not too hard to figure out with some guessing).

I found this sample program helpful: https://code.msdn.microsoft.com/JavaScript-Runtime-Hosting-d...

Re: Using Chakra for Scripting Applications Across Windows 10

#8
post #2

if it wasn't enough to have google pushing it's weight around to drive new JS and html specs, now microsoft resurrects from the grave with out-of-IE6-history pearls such as: "Legacy JSRT APIs ... Edge JSRT APIs" when IE11 rolls out, lots of devs (obviously not in san francisco bubble) will be churning out sites that require IE11 new APIs to work. let's just hope they at least bring something useful to justify the shi…

when IE11 rolls out, lots of devs (obviously not in san francisco bubble) will be churning out sites that require IE11 new APIs to work.

IE11 was already released in 2013.

Re: Using Chakra for Scripting Applications Across Windows 10

#9
I don't really get what the advantage of having the EventLoop running on a Threadpool instead of of a single thread is? At first it sounds like disadvantage because of more context switches.

It might be helpful if you really want to run a lot of Javascript EventLoops - but that's not the node.js programming model.

Post reply on HN