4 ms·
You believe you can write it faster or better or more efficiently than any available library Unless you're right.
by jraines 18y ago
You believe you can write it faster or better or more efficiently than any available library
Unless you're right.
- swombat 18y agoYeah. That's a pretty small percentage of people though. There are only so many DHH's out there...
- marijn 18y agoExactly. You don't get progress without arrogant bastards re-inventing things every now and then. Overeager re-inventing is often a recipe for disaster, but categorically dismissing it is too simple.
- cstejerean 18y agoThe arrogant bastards aren't going to listen to a "you're doing it wrong if..." piece.
- DarkShikari 18y agoThis is even more true for non-webapps; one of the worst assumptions you can make in a performance-critical app is that your libraries are already fast. Take memcpy, for example; a while back I noticed that the win32 memcpy was atrociously slow for small blocks, significantly increasing runtime (since our program, x264, did loads of small memcpys). So I wrote my own; it was almost 10 times faster. And that isn't bragging--the function itself was utterly trivial--it just goes to show that system libraries are not always well-optimized.