Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't that the same ballpark?


It's close but you do pay a performance cost for garbage collection (with Go, Java, and Crystal all being garbage collected). There are some benchmarks at the following link, but note that many of the examples are hyper-optimized so you should look at the implementations to make sure the results aren't misleading. As an example though if you don't want to click, the nbody benchmark clocks the slowest C++ program at 387ms compared to Crystal at 580ms

https://programming-language-benchmarks.vercel.app/crystal-v...


That's an incredible achievement for Crystal given how high-level that language is. But you're right technically of course.




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

Search: