I know how to compile and link C. I've never done C<->JS FFI but could probably figure it out. But if I have relatively small C code in single files, why bother? I'll take the easy route unless there's a clear reason not to.
The thing is, I'm not already using the Bun runtime and wouldn't switch just for this.
The thing is, I'm not already using the Bun runtime and wouldn't switch just for this.