Jun 122014
 
 June 12, 2014  Posted by at 12:57 pm JS & TS Tagged with:  Add comments

edge2

Edge.js connects .Net and node in-process – it allows interoperability so we can leverage the two platforms together. This means that if you need something from .net, be that existing libraries or components, you can reuse them in Node. An obvious thing you might want for some situation is to leverage the multithreaded model of .Net for CPU bound computations. Node is, as you know, single threaded.

The creator of Edge is Tomasz Janczuk, and he has a mind the size of a planet. I asked him to watch this video, so I am a tiny bit nervous! But he seems like an awesome guy.

edge

So how does this work?

When you download node you get an executable that allows you to compile your application using the javascript engine V8.

Instead of having the two components, with the cost of communication channel you choose you can with Edge run them in one-process and save the communication cost. Not to mention have everything in one place.
You might want to leverage some dlls in a node app, or use some juicy modules from node in a .net application.

For now we will stick to this simple explanation, but I will in a separate video explain in detail, and also walk through the syntax. The purpose of the next video is to get you up an running, first with a Hello World, and then with something useful.
In the next video and example we use .Net with Node, separate videos on the reverse scenario will come, as well as running on Ubuntu. Many videos coming! Yay!

The full list of videos (will be updated as I publish them):

What is Edge.js?
Getting started: Hello World and compression example
Double Edge: Using node modules in .Net
Edge syntax explained
Edge on Ubuntu for the beginner
Edge examples beyond Hello World
Edge in detail
Real world examples with Edge
+ more

Leave a Reply

Your email address will not be published. Required fields are marked *

*

HTML tags are not allowed.

What is 5 + 11 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)