Today while developing geomyidae and trying out, two things made the
life for all gopherspace using geomyidae better:
1.) With 20h moving to libressl in Gentoo, which is not really possible
in binary distributions, he found out about tls.h, a simple TLS API and
implemented in half a day TLS for geomyidae. Now it is there.
2.) While debugging geomyidae, Evil_Bob was running geomyidae on OpenBSD
and so we realized, sendfile() does not work on sockets and related
stuff. Removing all sendfile() support saved source code lines and sped
up geomyidae on lo from 500 Mbit/s to 1.3 Gbit/s on plaintext and from
100 Mbit/s to 1.3 Gbit/s on TLS. Everyone will profit from this.
What are the lessons from this?
* Make simple, straightforward, easy to use APIs.
* Run diverse systems and configurations for finding bugs. If you do not,
you end up like the web, which can easily fail with some small software
failures.