3 ms·
aren't they also written in c though
by VWWHFSfQ 6y ago
aren't they also written in c though
- secondcoming 6y agoYa. This whole post confused me. I thought it was claiming that the Python port was faster. It's too early in the morning.
- boramalper 6y agoThat's taking it too far though isn't it? I mean, gcc is written in C++ too so what? :) You might also be interested in my other comment: https://news.ycombinator.com/item?id=25101200 https://news.ycombinator.com/item?id=25101200
- rfoo 6y agoWhile what you said is true in general, I believe it is debatable in this case, as Redis (at least the subset implemented in this experiment) is something very very special, it is essentially a hashmap attached to the network. There aren't much stuff left if you offload the "hashmap" part and the "attached to the network" (I/O + protocol parser) part. In other words, in this case the hashmap implementation itself is the business logic of your application.