I was looking at the 'Blinkenlights' project by Justine Tunney which is "a virtual machine that runs statically-compiled x86-64-linux programs on different operating systems and hardware architectures" (might as well let Justine describe it!) motivated by research on APE ("Actually Portable Executable")¹ ². #ActuallyPortableExecutable
After appreciating blink I looked at Justine's other repos, as one does, and… here's what I already bookmarked:
* "sectorlisp is a 512-byte implementation of LISP that's able to bootstrap John McCarthy's meta-circular evaluator on bare metal." - https://github.com/jart/sectorlisp #Lisp
* "Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable." - https://github.com/jart/cosmopolitan #Libc #VirtualMachine #Polyglot (you should also look at the work by @Ange on the vast subject of polyglots)
* "Disaster lets you press C-c d to see the compiled assembly code for the C, C++ or Fortran file you're currently editing. It even jumps to and highlights the line of assembly corresponding to the line beneath your cursor." - https://github.com/jart/disaster #Emacs #EmacsLisp #Disassembler ( @anticomputer this one is for you…)
No apologies for sending you down this Github hole :flan_molotov: as it is more fun to go spelunking with friends!
__
¹ https://justine.lol/ape.html
² https://github.com/jart/blink
#ActuallyPortableExecutable #lisp #libc #virtualmachine #polyglot #emacs #emacslisp #disassembler
Redbean Tiddlywiki Saver https://rpdillon.net/redbean-tiddlywiki-saver.html #LuaLang #ActuallyPortableExecutable #Redbean
#lualang #ActuallyPortableExecutable #redbean
@rowens @drwho it did remind me of #JustineTunney's far more lightweight single-file cross-platform executable webserver #redbean, which was an example of their #ActuallyPortableExecutable format: https://redbean.dev/ and https://justine.lol/ape.html
#JustineTunney #redbean #ActuallyPortableExecutable