News for hackers. Stuff that matters.
Re:Less is Moore by aidenn0 on Tuesday April 28, 2015 @12:48AM (#9450575)
Abstractions that never leak are extremely rare. Because of this, trying to write a general purpose abstraction is very hard. A special purpose abstraction only needs to not leak for its intended purpose which is a lot easier to get right.
Re:Less is Moore by lmm on Tuesday April 28, 2015 @07:17AM (#9451435)
I want more examples before I accept this Even the original "law of leaky abstractions" post did not have any good examples; using UDP rather than TCP will not save you if you pull out the network cable, and micro performance differences like the AND A = C example are rarely relevant.
Re:Less is Moore by aidenn0 on Tuesday April 28, 2015 @10:51PM (#9456241)
UDP vs TCP: environments with significant non-congestion related packet-loss (not to mention buffer bloat). In both cases the underlying assumption of TCP is broken, so the abstraction leaks.