Comment by yjftsjthsd-h
5 hours ago
Given that this is (AFAICT) a way to efficiently run exactly one program on a machine (probably a VM), I would have liked to see more time spent on the particulars of getting a program running on it. Like, can you easily run existing software on BareMetal? Could you compile nginx to run on it? Or does software have to be written specifically for this environment? And either way, how exactly do you actually build your software for/into(?) the image?
The plan is to get existing *nix programs ported over, yes. That will require some more work (ideally a compatibility layer/library).
I would think that with a bit of work, it should be possible to implement a baseline for a language like Rust or Go to target that environment with a "bare" application that may or may not have a direct filesystem interface to use.
Which could be pretty nice. Just Enough OS, so to speak.
You can’t run most Unix/Linux apps without porting.
https://github.com/ReturnInfinity/BareMetal-Examples/blob/ma...