Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

My comment on this work #7

Open
rain-1 opened this issue Mar 4, 2019 · 1 comment
Open

My comment on this work #7

rain-1 opened this issue Mar 4, 2019 · 1 comment

Comments

@rain-1
Copy link

rain-1 commented Mar 4, 2019

This is a good data point, a lot of our beliefs about software are based on "educated guesses" (translation we just have no clue and make everything up). Thank you for making this, it's really very interesting! I hope to learn more from it too.

redis is 100,000 lines of .c code plus 50,000 lines of deps (jemalloc mostly, and lua, and then linenoise which is tiny). It runs (roughly) 2x the speed of pydis.

pydis is 250 lines of .py which is very impressive.. but it runs on top of python which is 400,000 lines of .c code and 777,460 lines of .py

I would like to see the kind of performance a golang implementation in roughly 250 lines would get (because it's high level like python, but it's also compiled so it might be very fast). How close to 1.0x performance might it achieve?

@mahmoud
Copy link

mahmoud commented Mar 6, 2019

@rain-1 Good observations all round, but the performance of go seems somewhat off-topic given the goal of comparing a C-based interpreter vs a native C project, something you yourself allude to in your other issue, #8. ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants