Re:VFS shim that allows a SQLite database to be appended to ...
by namibj on Friday June 08, 2018 @03:10PM
(#17268729)
What about going all the way and using an unikernel (or something approaching one)? Statically link suitable readonly data/code into a single global address space (to make use of optimizations possible by combining binaries, as apparent in e.g. busybox, and remove the overhead of code duplication and dynamic linking, if possible even skipping some overhead with syscalls, by allowing the compiler to reduce spilling registers to stack in an effort to prevent clobbering), and just make sensitive and modifiable data unavailable to or at least not writable by other/unprivileged processes.
This would probably require some modification to GCC or LLVM, if the latter even supports building a normal Linux.
Re:VFS shim that allows a SQLite database to be appended to ...
by gandreani on Friday June 08, 2018 @05:10PM
(#17269713)
Madness! Or actually really similar to an idea that Joe Armstrong presented in Strange Loop one time (just the idea no demo or anything)
Re:VFS shim that allows a SQLite database to be appended to ...
by ZephyrP on Friday June 08, 2018 @05:46PM
(#17269989)
There exists an Erlang unikernel (of sorts): http://erlangonxen.org/
Re:VFS shim that allows a SQLite database to be appended to ...
by namibj on Sunday June 10, 2018 @06:04AM
(#17277414)
Well yeah, but that's like saying there exists hardware that eats java bytecode. Yes, it does, but it brings _large_ restrictions with it.
Re:VFS shim that allows a SQLite database to be appended to ...
by regularfry on Sunday June 10, 2018 @03:17AM
(#17276997)
https://github.com/regularfry/carton is where I got to. Might give someone some ideas.
Just from a quick experiment
From the manpage: I also considered doing the same thing for a linux distro. Just out of pure curiousity to what would happen to the boot up times. Wish I could have time to try it one day :(