4 ms·
The author tests the seven languages python, julia, rust, c#, swift, c and nim by programming a Yahtzee bot in each and comparing them. The "winner" is nim. Un
by xrayarx 4y ago
The author tests the seven languages python, julia, rust, c#, swift, c and nim by programming a Yahtzee bot in each and comparing them. The "winner" is nim.
Unfortunately the author only provides the code for nim.
So it is subjective based on a simple practical project (1000 locs). Unfortunately it leaves out all the other "cool kids" like crystal, zig, v, dart, d and so forth...
- ergonaught 4y agoThere are repositories for the other languages. Look.
- eduction 4y agoThe code for other languages is in other repos: https://github.com/mode80?tab=repositories&q=Yahtzee&type=&language=&sort= https://github.com/mode80?tab=repositories&q=Yahtzee&type=&l...