like a DLL or SO but, without OS-specific syscalls. you'd have to write a custom object loader surely, but could it be done? many thoughts.

23 - script kitty (ΞΈβ¨Ί) & actual real life vampire
wife: @evie-src
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
π΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈπ΅πΈ
like a DLL or SO but, without OS-specific syscalls. you'd have to write a custom object loader surely, but could it be done? many thoughts.
as long as you're fine with writing a new file format and surrounding tooling, yes, absolutely. one caveat: OSes with extremely tight sandboxes may disallow the functionality you'd need to actually execute the code - iOS definitely does, for example.
you will probably want to pick an existing ABI and use it; since each OS has its own, you will need trampolines or some equivalent strategy for function calls across the boundaries of your new format, but that's doable in the loader as long as you make sure the format preserves enough metadata.