@sebmck in Rome, have you abstracted away the 'host environment' in any way to make the toolchain available in contexts like the browser? Certainly would be amazing to have a tight, UX friendly ecosystem like that in the browser.
-
-
Replying to @filearts
Yeah, enough is abstracted that it could work outside of Node. I’ve minimised my usage of Node APIs. There’s abstractions around the parts they matter. In fact, it would be easy to make Rome has WebWorkers for workers instead of spawning processes. The RPC is very agnostic.
2 replies 0 retweets 4 likes -
Could also prettily run in Deno then?
1 reply 0 retweets 2 likes -
Potentially*
1 reply 0 retweets 0 likes -
-
In fact, I was (sort of still am), considering bundling the Rome CLI with my own version of Node/whatever. Would make it easy to use Rome outside of the Node-ecosystem. Would also allow easy distribution. Similar mode to Yarn, available everywhere: homebrew, apr-get, rubygems etc
3 replies 0 retweets 4 likes -
I don’t think that’s a good idea if you want usage from Node.js module authors. We have to run our tests across a range of Node.js versions (2-4 at any given time). Tests frameworks should run across all LTS runtimes without problems.
1 reply 0 retweets 0 likes -
Of course! If Rome were distributed on npm then it wouldn’t bundle anything. For external distribution it makes more sense. It has a lot of implications, which is why I’ve yet to form a strong opinion. If Rome supports running in a different host which is faster, then makes...
2 replies 0 retweets 3 likes -
It would be a nice touch to provide tooling support for future Rome devs (not users) to prevent them from reaching for host-specific APIs. Each plugin that encodes a new host-specific API narrows where the tool can be used. Rome could give tools to devs to stay 'pure'.
2 replies 0 retweets 1 like
I've tried to make things pretty lightweight. The current list of Node built-ins that Rome uses are: stream: 8 readline: 2 util: 4 net: 4 child_process: 4 crypto: 4 path: 22 fs: 16 module: 1 zlib: 1 os: 3 inspector: 2
-
-
Rome has zero third party dependencies. A bunch of those modules don't have any runtime Node behaviour, so could easily be mocked, or otherwise have a custom Rome variant of those modules.
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 