Repository navigation
Why used python as engine ? #259
|
There are better alternatives that are faster and better to build a db with like Rust or Go. Just asking cause at scale python is really slower than other programming languages like Rust and GO. Clarify so that if I am missing something I can learn. Always will like to contribute. |
Replies: 2 comments 2 replies
|
@RajGajjar-01 The short and easiest answer is the fact that python was chosen when the project was started by Daniel, and that's what we're sticking with. And actually, as of recent updates python is no longer all that slow anymore, mainly due to the JIT compiler 😄 If in the future, python proves to be a bottleneck, we'll probably consider other languages, but for the time being we're sticking to it |
And when we want to use something faster like C, changing components is easy with CPhython. That makes it easy to change later, if needed. |
@RajGajjar-01 The short and easiest answer is the fact that python was chosen when the project was started by Daniel, and that's what we're sticking with. And actually, as of recent updates python is no longer all that slow anymore, mainly due to the JIT compiler 😄
If in the future, python proves to be a bottleneck, we'll probably consider other languages, but for the time being we're sticking to it