Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Python is faster than Go and C#? #8

Closed
hsluoyz opened this issue Jul 26, 2018 · 1 comment
Closed

Why Python is faster than Go and C#? #8

hsluoyz opened this issue Jul 26, 2018 · 1 comment

Comments

@hsluoyz
Copy link

hsluoyz commented Jul 26, 2018

Python is a dynamic language. Go is a static language. There is no way that Go is slower than Python.

And C# is similar to Java in the runtime. So C# should at least faster than Python too.

@mariomka
Copy link
Owner

It seems that Go does not have the best implementation, you can find some issues related in the golang repo.
.Net Core has no compiled regex the performance is worse than in .Net.

By the way, you can run all the benchmarks in your system. In the next days, when I have time, I will add benchmark for Dart and I will run all the benchmarks again in a new machine.

From README:

I hope this benchmark can be helpful for choosing a language but it's not only about performance, each language has its engine and offers different features (like UTF support, backreferences, capturing groups...)

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

No branches or pull requests

2 participants