Speakeasy JS Discuss Redbean: Actually Portable Executable Web Server with Justine Tunney
In this episode of Speakeasy JS Justine Tunney provides a walk through of the concept of Actually Portable Executables and the blazingly fast web server Redbean. ...
Actually Portable Executable
Actually Portable Executables is a clever way of formatting a software program so that it can be interpreted by, and run on Windows, Linux, MacOS, OpenBSD, NetBSD, and FreeBSD. One day when Justine Tunney, the creator of the format, discovered that it's possible to encode Windows Portable Executable files as a UNIX Sixth Edition shell script, due to the fact that the Thompson Shell didn't use a shebang line. She quickly realized it's possible to create a synthesis of the binary formats being used by Unix, Windows, and MacOS. With her new found knowledge she went ahead and created Cosmopolitan a from-the-ground up library written in C. Allowing people to create and ship Actually Portable Executables, high-performance native code can be almost as pain-free as web apps.