News for hackers. Stuff that matters.
Re:Using Chakra for Scripting Applications Across Windows 10 by MarkSweep on Monday May 18, 2015 @10:26PM (#9567874)
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 by tonyedgecombe on Tuesday May 19, 2015 @02:13AM (#9568359)
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.
Re:Using Chakra for Scripting Applications Across Windows 10 by kungfooman on Monday May 18, 2015 @07:00PM (#9567319)
Source/license? ATM just slightly interested, since v8 is pretty much state-of-the-art and can be used commercially + open source.
Re:Using Chakra for Scripting Applications Across Windows 10 by Matthias247 on Tuesday May 19, 2015 @07:00AM (#9569108)
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.

Re:Using Chakra for Scripting Applications Across Windows 10 by bad_user on Tuesday May 19, 2015 @07:27AM (#9569227)
You might get more context switches, but that's preferable to having multiple cores that are left unused.
Re:Using Chakra for Scripting Applications Across Windows 10 by sudioStudio64 on Tuesday May 19, 2015 @07:15AM (#9569174)
Wow. Small thread...lots of anger and distrust.
Re:Using Chakra for Scripting Applications Across Windows 10 by sudioStudio64 on Monday May 18, 2015 @08:28PM (#9567595)
Node.js on Chakra sounds pretty cool.
Re:Using Chakra for Scripting Applications Across Windows 10 by gcb0 on Monday May 18, 2015 @06:33PM (#9567229)
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 by zastrowm on Monday May 18, 2015 @06:42PM (#9567255)
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 by gcb0 on Tuesday May 19, 2015 @01:20PM (#9571641)
Yeah, just like XMLHttpRequest was a activeX on 5, until outlook.com team or something wanted to use it.
Re:Using Chakra for Scripting Applications Across Windows 10 by pavlov on Tuesday May 19, 2015 @04:01AM (#9568619)
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.