back to article Ommm... devs, align your Chakra, whispers Microsoft, you don't need Google's V8...

Microsoft has released an early version of Node-ChakraCore for macOS, following a similar release for Linux at Node Summit in July. Why is this important? Well, Node-ChakraCore is Microsoft's open-source glue that plugs Node.js into ChakraCore, the MIT-licensed JavaScript engine within its Edge web browser. It's all part of …

  1. hplasm
    Holmes

    "At this particular point in history, stepping back in time has a certain appeal."

    Back to when Windows didn't suck quite as much, and MS didn't thrash about like they had been headshot?

  2. Anonymous Coward
    Anonymous Coward

    running node on Win10 IoT Core - oh god, please, no!

    currently working on a project for a client which requires running an existing node.js headless app on an IoT device. Because it currently runs on a tiny footprint PC (running "regular" Win10 and vanilla v8 node) they thought porting it over to Win10 IoT Core on a Raspberry Pi B would be a no-brainer... until we discovered that you have to install Visual Studio, add a bunch of extra tools to it, jump through hoops to make the device work and talk to the PC, migrate your project into a Universal Windows Node Server template (along the way forking the app so I hope that's where you want to be) and then... try and run it on the device at which point it all falls over in a heap with no error messages.... three days down the drain.

    Switch to plan B which it install Raspbian, vanilla node, copy the files onto the SD card, SSH into the machine and run "node server-main.js" and ... that took less than 3 hours.

    If anyone has had more success - getting a Win10 IoT Core machine with node up and running (and able to watch the console when the app runs) - please... share your wisdom!

    1. stephanh

      Re: running node on Win10 IoT Core - oh god, please, no!

      No wisdom to share, but I think the "hello world" of node on Windows IoT is hilarious, see:

      https://developer.microsoft.com/en-us/windows/iot/samples/helloworldnode

      "When the reboot completes, the app will be running." True to form.

      Also note how the code shown in the debugger is not the same as the original source code, but rather the Node-module-system-transpiled version. Oops.

  3. stephanh

    fragmentation?

    So in theory it is nice that node can support multiple JS engines, but in practice it means that developers now also need to test their server-side code on all engines. Or, more likely, only test on the one engine on which they actually deploy. Leading to "this code tested on Chakra only", or "this code tested on V8 only", in other words: fragmentation of the node ecosystem.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like