Re:Show HN: Redbean – Single-file distributable web server
by rustypython on Saturday February 27, 2021 @06:04AM
(#26284032)
Could you please explain to someone from the web domain with very little experience with compiled C programs why this is significantly better than, say, distributing a python program? Python runs on all the platforms mentioned. Or alternatively requiring compilation from source?
[ Parent
| on HN ]
Re:Show HN: Redbean – Single-file distributable web server
by tvprod1203 on Monday March 01, 2021 @10:16AM
(#26303491)
The python script/program ultimately depends on a Python interpreter which currently has to be distributed as a different binary for every platform.
So in the end, the difference is purely where the platform-differentiated compilation happens for VM & interpreted languages like Java & Python.
This would instead allow you to ship a single Python executable that simply works everywhere. Whether with a bundled-in script/program, or just the interpreter.