this post was submitted on 07 Feb 2024
9 points (90.9% liked)

Programming

17313 readers
360 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

was reading this update by modular

https://www.modular.com/blog/outperforming-rust-benchmarks-with-mojo?_hsmi=293164411

Since we know Mojo isn't open-sourced yet, how much of benchmarks we can trust?

top 3 comments
sorted by: hot top controversial new old
[–] Solemarc 7 points 9 months ago

Mojo is a Python superset, Python is written in C therefore mojo is written in C.

I don't know what that rust library they benchmarked against is but given that they claim to have performed 50% better I would be sceptical. Given that most sources benchmark rust, C and C++ at about the same level.

[–] [email protected] 5 points 9 months ago

I don't think you can trust because we can't verify the results they put out, plus iirc, people have done wild comparisons between mojo and different langs.

[–] quaternaut 2 points 9 months ago

Not sure. I'd wait on more benchmarks with different libraries before making a conclusion