Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Redis Source Walkthrough: How the ECHO command is implemented (codecrafters.io)
15 points by rohitpaulk on Aug 4, 2022 | hide | past | favorite | 5 comments


On a related note, I am really loving the code walkthroughs by Sourcegraph

Caddy - https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTM2Nw==

ES Lint - https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTA2OA==


Thanks for sharing! I knew that Sourcegraph notebooks were a thing, didn't know that they embedded code like that (I assumed they'd just embed Sourcegraph queries).


Very shallow walkthrough, you need to explain how the lookup table works. C doesn't have hashmaps built in. Without reading the entire source code, for all we know Redis could be using a for loop across 75K entries. You need to explain how the lookup works otherwise junior engineers (especially the sort that came out of JS/Python bootcamps) would get confused.


Is it just me, or is the site usefully dead? I'm just seeing "</>", an animated GIF and "Loading..."


Probably your script/adblocker preventing the JS that removes the useless loading screen from running.

Redis commands are pretty much always given in ALLCAPS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: