Ask HN: What are some examples of beautiful software?
1–10 of 262 posts
Re: Ask HN: What are some examples of beautiful software?
#2Re: Ask HN: What are some examples of beautiful software?
#3What makes them beautiful? They're very straight forward and clearly communicate what they're doing, and how.
And the parentheses in their language of choice softens the visual display of the code -- while the semantics of the language cause the shape of the code to communicate quite a bit about how the machine will go about executing it.
There are no surprises.
In terms of conceptual beauty, it'd be hard to beat Screamer (https://github.com/nikodemus/screamer).
What makes this beautiful? The way it makes a hairy problem seem simple and straight-forward.
Re: Ask HN: What are some examples of beautiful software?
#4Re: Ask HN: What are some examples of beautiful software?
#5Beautiful software: Java Virtual Machine (the code? could be entirely un-beautiful ;)
Re: Ask HN: What are some examples of beautiful software?
#6Re: Ask HN: What are some examples of beautiful software?
#7The interface between the physical world and the digital world. They are the lenses of computers as much as its magic.
Re: Ask HN: What are some examples of beautiful software?
#8Redis is my favorite example. It's some of the easiest to read, digest, and modify source code out there.
Re: Ask HN: What are some examples of beautiful software?
#9Re: Ask HN: What are some examples of beautiful software?
#101) Configured via a special DSL (Varnish Configuration language) that gets translated into C, compiled and loaded into the Varnish process via a .so. Perfect combination of expressiveness and speed. You can even inline raw C code in it!
2) Heavy, good use of virtual memory. Varnish allocates quite a lot of gigabytes and leaves it up to the operating system to decide what should be in RAM and what should be on disk.
3) LRU garbage collection of cached objects requires a synchronized priority queue. Varnish people transformed the decades old idea of implementing a heap in an array that every CS graduate knows and came up with a faster, paging-aware solution (http://queue.acm.org/detail.cfm?id=1814327).