Re:Firefox’s new streaming and tiering compiler
by caf on Wednesday January 17, 2018 @10:05PM
(#16174329)
It might be fun to make a source-based distribution where every binary in /usr/bin started off as a link to a script that built and installed the requested executable (over the top of the link), before executing it.
[ Parent
| on HN ]
Re:Firefox’s new streaming and tiering compiler
by MaxBarraclough on Thursday January 18, 2018 @05:17AM
(#16175989)
Source-based distros essentially do that, they just cache the binaries.
Various research OSs are JIT-based, of course. It looks like JX (a Java operating system) caches its native code, so it's not 'pure JIT' https://github.com/mczero80/jx/blob/5fbeae79/libs/compiler_e...
It looks like Cosmos (a C# operating system) does the same https://en.wikipedia.org/wiki/IL2CPU
Re:Firefox’s new streaming and tiering compiler
by uep on Wednesday January 17, 2018 @11:28PM
(#16174708)
Or how about a fuser filesystem on Linux to do the same? That sounds like an interesting idea. Just don't make the mistake of accidentally typing some obscenely large binary like firefox, chrome, or clang...
I think it would need to be integrated into the package management system pretty tightly (or have one of its own) to get all of the shared library dependencies.