Taking the JavaScript runtime agnostic approach a step further
I'm thinking about combining qjs
, node
, deno
, and bun
into a single executable (~350 MB, still less than Rust tool chain at ~500 MB)
that I can reference as such within JavaScript and/or TypeScript
in the same .js
and/or .ts
script, and do something like this
import { cc } from "bun:ffi";
import ( $ } from "jsr:@david/dax";
std.popen(...);