Three-body level 1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Three-body level 1

fschmidt
Administrator
I spent over two months trying to clean up the jetty web server code as described here:

http://www.mikraite.org/A-software-exorcism-tp887.html

After cleaning it up enough so that I could somewhat understand it, I realized that it is worthless.  I wasted two months.

So then I looked for an alternative web server.  On my first pass, I ignore all Git hosted software.  I discovered that all active projects are hosted on Git.  So I did another pass looking at them.  Based on the APIs, jetty looks better than any of them.  Here is the hot new web server:

http://sparkjava.com/

Note the HelloWorld example.  It is absolute gibberish to anyone who doesn't know Java well including the latest horrible features that were added to Java.  For example, where does the "get" function come from?  It comes from a static import which is a horrible added Java feature that helps make sure that you can't figure out where functions come from.  This example code is short, but is anything but clear.  It is incomprehensible magic.  Good code is understandable, which means it is necessarily longer than this example.

After realizing that all web servers are garbage, I started to think of my own design.  I will implement a web server.  Its design will be the exact opposite of popular programming practice.  It will be a thin layer on top of HTTP which is a very well designed protocol.

When I talked to Alex on shabbat, he suggested that Luan may be like the three-body game in the book "The Three-Body Problem" in the sense that it will only appeal to the type of people that would fit with Mikraite.  I hadn't read the book then, but I have finished it now.  So yes, Luan could be like that, but it is level 2.  Even an above average Java programmer who has been cursed by exposure to modern culture is unlikely to understand the point of Luan.  But many Java programmers need a web server and so will at least look at my web server if I put it out there.  In other words, this is much easier to market than Luan is.  But the simplicity of my API will shock programmers the way the starkness of the three-body game does.  So this really will be like level 1 of the three-body game.
Reply | Threaded
Open this post in threaded view
|

Re: Three-body level 1

fschmidt
Administrator