Hacker News new | ask | show | jobs
by blahbl4hblahtoo 4592 days ago
Wow, for an alpha release that's pretty impressive. Node seems to be really taking off at MS...parts of Azure are built with it...some really large parts of Azure.

It's awesome that they didn't screw with Node either to make it run on Chakra...

2 comments

Do you have a reference for Azure internals being written in node.js? I'd love to read about it.
i'll try to find out. top my head i know the azure node sdk is all node (obviously...), all the cross-plat commands/utils are node, skype, yammer, bing (?), ... all use node to various extents.

some info: http://www.windowsazure.com/en-us/develop/nodejs/ https://github.com/WindowsAzure/azure-sdk-for-node https://github.com/WindowsAzure/azure-sdk-tools-xplat

Also Azure Mobile Services server scripts:

http://www.windowsazure.com/en-us/develop/mobile/how-to-guid...

TypeScript also uses node.
TypeScript uses npm as a package manager yes, but there is unfortunately no support for using Node within TypeScript yet on Visual Studio. There are definitions for node/express/etc, just cannot compile them directly in Visual Studio and also have debugging (unless the linked package in the OP has changed that).
TypeScript support is not there yet, but we have it on the radar: https://nodejstools.codeplex.com/workitem/291
I should have been a bit more specific, Microsoft could have used any language to build the TypeScript compiler.

They took however the best solution by bootstraping it in JavaScript and using node for the process.

Just correct me if I am wrong.

Looks correct to me and makes the most sense to build the tools in the language TypeScript compiles to. On another note, it would appear they will be adding TypeScript support in the beta[1], which makes me very happy.

[1] https://news.ycombinator.com/item?id=6777360

A colleague reverse engineered Azure Mobile services, written in Node, to find out how it works. He blogged about it here: http://weblogs.asp.net/soever/archive/2013/07/26/azure-mobil...
Amazing. How he reverse engineered a service? Thanks.
I'm similarly surprised mozilla hasn't come out with an SM-powered node
It's actually been done[1], to more or less success, but hasn't been kept up, and the differences in embedding SpiderMonkey vs V8 were cumbersome iirc. Not to mention compatibility with compiled modules. I was interested as E4X support would have been nicer earlier on, but it's surprising how quickly json has taken over.

[1] https://github.com/zpao/spidernode