Hacker News new | past | comments | ask | show | jobs | submit login

Now compare Crystal with Nim.



I want to say this: https://framework.embarklabs.io/news/2019/11/18/nim-vs-cryst... was published on HN at one point. Regardless, it's a decent rundown.


Oh wow I expected Nim to be at least as fast as Crystal.


Nim JSON parser is not optimized, it was mostly written for maintenance (for example it allocates a Table per node in the json file)

I.e. the difference in speed here is a difference in elbow grease.

I have yet to come into an optimization problem where you cannot reach the speed you can achieve in C in Nim.




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

Search: