pheo
J/K. I think this is an interesting problem in that its a sandbox for allocation and GC in pretty much any dynamic interpreter's implementation. My qualm is that it would be "easy" to tune for the test. Consider the difference between dynamic blocks of a small but fixed size, getting alloc'd/freed in an asynchronous way (a network stack?) versus a pool of variable byte length strings getting shuffled around (a key/value store?). Those are simple, but drastically different, strategies for your heap. There won't be a "best" answer besides the limits of your problem domain.
I think that many "servers" today aren't going to benefit though from the level of optimization that you're talking about. Network bandwidth is at least an order of magnitude slower than memory and PCI throughput. For all but the most heavyweight computational tasks (ie. gaming, finance, scientific computing, etc.) this kind of multiplexing optimization is very helpful. If you're needing to get that kind of performance, you would userspace map off the NIC.
With how fast modern processors (CPUs and GPUs) are, whats much more important nowadays is not stalling on the flow from the NIC. The solution of the original author seems to me like a very simple fix for the old naive paradigm of state machine switching off from a single thread.
I think you might be (impressively) too close to the metal, and guilty of premature optimization. For example, a simple database application would benefit much more from keeping the slow I/O bottlenecks flowing than from the compute multiplexing.
Mobile is for content consumption, workstations are for content creation. Missing that key point leads many of the points here astray. Solving the disparity is one of the major open areas in HCI research.
Fast reactors make nuclear weapons as byproduct. Thats why we don't use them.
I do have a qualm, hopefully taken as constructive criticism and not nit-picking:
The cornea and the aqueous humor are going to have different IORs and because this doesn't appear to be modeled, the iris is unrealistically distorted at sharp angles.
Otherwise, this is amazingly, disturbingly realistic. Good job.
My site browses on mobile just fine, and it's fully un-optimized wordpress.