3 ms·
This sounds like a UNIX where you could write snippets in different languages, have enough wrapper to let those snippets eat stdin and write on stdout, and plum
by rakoo 7y ago
This sounds like a UNIX where you could write snippets in different languages, have enough wrapper to let those snippets eat stdin and write on stdout, and plumb it all with pipes, organized in a shell script. That was the original dream anyway. Too bad the weak performance of "programs as functions" makes it all barely usable unless you programs are long-running
- fierarul 7y agoIt kinda sounds like using UNIX pipes but you would also need a context of global variables and running threads / processes. In my vision the blocks would share memory / variables.
- rakoo 7y agoThat is what the shell script is for: managing the lifetime of said processes, and storing any globals you might need. The real issu with this approach in my opinion is that a stream of bytes is just too generic, and the necessary (de)serialization is going to eat a lot of CPU for not useful task