On most computer systems these days can select a set of files and folders and tell the computer to "Send to compressed file", the files that come out of that process usually end in ".zip", and are thus known as "zip files"
This is a zip file, like any other... you can add and remove things from it. However, this ZIP file has a superpower, it can display the contents on the web... it has a web server built into it.
You can take this file, run it on a Windows, Linux, Macintosh, and it will work. You don't need separate versions for each different system... this just works on all three systems, unlike almost every program ever written.
This is one of the most impressive feats of programming things I've seen in my 40+ years of programming. The web serving is clever, but the superpower that it can run on anything really took a huge amount of work, which the author built into a tool called "ape", and has shared with the world, so other people can use it, and help her make it better.
So... will a new browser need to be created in order for this tech to go mainstream? In the case of building a web app does this eliminate the need for a server?
I've been programming since before you were born... and this is the most impressive hacking feat I've ever seen.
A single executable, that doubles as a valid ZIP file, that you can put a complete website into, also doubles as a valid executable on Windows, Mac, Linux.
The build infrastructure is a complete reworking of C to make it far more portable than even K&R thought possible.
I probably wouldn't have believed it possible, but here it is!
On most computer systems these days can select a set of files and folders and tell the computer to "Send to compressed file", the files that come out of that process usually end in ".zip", and are thus known as "zip files"
This is a zip file, like any other... you can add and remove things from it. However, this ZIP file has a superpower, it can display the contents on the web... it has a web server built into it.
You can take this file, run it on a Windows, Linux, Macintosh, and it will work. You don't need separate versions for each different system... this just works on all three systems, unlike almost every program ever written.
This is one of the most impressive feats of programming things I've seen in my 40+ years of programming. The web serving is clever, but the superpower that it can run on anything really took a huge amount of work, which the author built into a tool called "ape", and has shared with the world, so other people can use it, and help her make it better.
So... will a new browser need to be created in order for this tech to go mainstream? In the case of building a web app does this eliminate the need for a server?
Can someone explain this to me like I'm a 31 year old?
I've been programming since before you were born... and this is the most impressive hacking feat I've ever seen.
A single executable, that doubles as a valid ZIP file, that you can put a complete website into, also doubles as a valid executable on Windows, Mac, Linux.
The build infrastructure is a complete reworking of C to make it far more portable than even K&R thought possible.
I probably wouldn't have believed it possible, but here it is!
Multi OS/arch executables exists for decades. They were called fat-binaries[0]. Old trick is new again.
[0]: https://en.wikipedia.org/wiki/Fat_binary
https://en.wikipedia.org/wiki/Universal_binary
1 reply →
Thanks!