cynicalsecurity :cm_2: · @cynicalsecurity
990 followers · 3757 posts · Server bsd.network

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")¹ ².

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." - github.com/jart/sectorlisp

* "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." - github.com/jart/cosmopolitan (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." - github.com/jart/disaster ( @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!

__
¹ justine.lol/ape.html
² github.com/jart/blink

#ActuallyPortableExecutable #lisp #libc #virtualmachine #polyglot #emacs #emacslisp #disassembler

Last updated 2 years ago

Blain Smith :golang: :ferris: · @blainsmith
236 followers · 553 posts · Server fosstodon.org
FiXato · @FiXato
393 followers · 9412 posts · Server toot.cat

@rowens @drwho it did remind me of 's far more lightweight single-file cross-platform executable webserver , which was an example of their format: redbean.dev/ and justine.lol/ape.html

#JustineTunney #redbean #ActuallyPortableExecutable

Last updated 2 years ago