Hi all – Is there a way to compile OSv with whatever application you want to run in it, all together in one optimized build? It seems like there would be Link Time Optimization (LTO) opportunities there.
There was a project out there that basically did this with LLVM, but I can't find it. It would allow you compile an OS (probably Linux) and application together, and would LTO the LLVM bytecode or something, crossing the OS and app boundaries. There would also be Profile Guided Optimization (PGO) opportunities, but I'm not sure if that would be any different from just profiling OSv and an application separately. With a uni-build, there could also be interesting security wins, like tree-shake out any system calls you weren't going to use. It would be like Linux's seccomp filters, but better because the filtered system calls would no longer exist at all. Same with unneeded drivers. Anyway, just some Thursday thoughts. Cheers, Joe -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/0a44ba9d-1b2a-4b6e-ad3e-00dbc8aa3b1a%40googlegroups.com.
