Hacker News new | past | comments | ask | show | jobs | submit login
Using Chakra for Scripting Applications Across Windows 10 (windows.com)
53 points by neo_optimus on May 18, 2015 | hide | past | favorite | 11 comments



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...


I used the Active Scripting interfaces in a Windows product then discovered my mistake a year later when MS refused to release 64-bit versions of the .lib files. I won't make that mistake again, no thanks Microsoft.


Source/license? ATM just slightly interested, since v8 is pretty much state-of-the-art and can be used commercially + open source.


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.


You might get more context switches, but that's preferable to having multiple cores that are left unused.


Wow. Small thread...lots of anger and distrust.


Node.js on Chakra sounds pretty cool.


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)


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.


Yeah, just like XMLHttpRequest was a activeX on 5, until outlook.com team or something wanted to use it.


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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: