
Boosted by slightlyoff@toot.cafe ("Alex Russell"):
zkat@toot.cat ("Kat Marchán 🐈") wrote:
my final project as part of my tenure at Microsoft, aside from that NPM patch (lol), is this lil' guy: https://github.com/microsoft/libsyncrpc
Just a small, but v v fast IPC lib that lets you make synchronous calls to a child process from node, while the child can execute callbacks from you before you return.
I optimized the everloving shit out of this thing, and it ended up being fast enough that the #TypeScript team will be able to use it for the thing that will let you use the Go typescript compiler from JS: you'll just be calling out directly to a Go child.
Literally hundreds of thousands of ops/s :)