|
|
|
|
|
by sylware
8 days ago
|
|
linux ELF code is loading the ELF loader only. $ORIGIN may not be a good idea
since that would add more ELF complexity to the kernel. If we are honest with ourself, ELF is the core of the issue: for executables and
dynamic libraries we _now_ know it is severely obsolete on modern hardware
architectures. I am currently using my own format, excrutiatingly simple, no loader, basically a
program segment, "userland syscalls" with hardware CPU synchronization. I do wrap
the executables into ELF capsules to run them transparently. So simple a small RFC will be enough. With that, I discovered that the hard part is c++ and other similar languages which are very expensive in runtime infrastructure and linking complexity. I
would need to build a mesa vulkan driver with that format, and it seems the blocker is c++ (and similar language namely with grotesque and absurd syntax
complexity). Thx to valve to have removed a lot of c++, for less c++... would
have been much better if plain and simple C. |
|