reTHINK-project / core-framework

The main goal of WP3 is to provide the reTHINK core framework comprised by the runtime environment where Hyperties are executed and the messaging nodes used to support messages exchange between Hyperties.
Apache License 2.0
1 stars 0 forks source link

Nodejs Runtime documentation #152

Closed pchainho closed 7 years ago

pchainho commented 8 years ago

To be included in D3.2:

https://github.com/reTHINK-project/dev-runtime-nodejs

Take into account D3.1 material

Feel free to change assignment

pchainho commented 8 years ago

Attemptative date for a meeting: next thursday afternoon

antonroman commented 8 years ago

Since there is not a repository for the Node.js repository runtime yet I'd leave my findings here. We were checking the npm module proposed by Paulo (http://gf3.github.io/sandbox/) to implement the sandboxes in Node and it seems to be a good option. We executed its internal tests and it can handle situations such as syntax errors, illegal access to restricted code, infinite loops and different types of attacks. So this library seems a good option to implement the Node.js runtime.

pchainho commented 8 years ago

These are great news!

The nodejs runtime repo is available: https://github.com/reTHINK-project/dev-runtime-nodejs/tree/dev-0.1

feel free to start hacking :)

antonroman commented 8 years ago

We still have to find the best way to send and receive messages with the sandbox.