Closed alspore closed 9 years ago
going to split core into separate npm modules
Will runtime.js be managed by npm
? This would be awesome! :-D
@piranna yeah, I think it would be nice to have different components available as npm modules and also be able to depend on other modules internally. Maybe even going to use browserify to make it simple to use.
It would look like this (not sure about exact module structure yet):
var runtime = require('runtimejs-core');
var net = require('runtimejs-net')(runtime);
var fs = require('runtimejs-fs')(runtime);
// Use network directly
var socket = new net.UDPSocket();
// Http over network
var http = require('runtimejs-http')(net);
http.createServer( ... )
Also, all existing RRC/isolates/promises/pipes functionality is temporary going to be disabled. Just want to make it much much more simpler/less scalable and focus on critical stuff and get it running.
Cool! I've also done the NodeOS build system npm based, so maybe some day runtime.js would be a dependency! :-D
Sounds great! :+1:
Shell has been partially removed, because there is no filesystem and the idea is to not have shell at all by default.
@5paceManSpiff thank you for this feature request! unfortunately I wouldn't be able to get to this soon because runtime.js is currently under major rewrite (system design and code structure, going to split core into separate npm modules, also complexity of this system is insane, there is going to be a lot of structure changes and cleanups).