4 ms·
> … but you now write twice the amount of code… We could take some JavaScript programs — https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/n
by igouy 5y ago
> … but you now write twice the amount of code…
We could take some JavaScript programs —
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-node-6.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-node-5.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
— and try to transliterate them into Dart —
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-dartexe-6.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-dartexe-5.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
— and see how much or how little boiler plate is required when a language supports null safety, local type inference, implicit-dynamic: false ?