3 ms·
It would be great to have a javascript translation to compare it. This is still pretty amazing.
by phzbOx 15y ago
It would be great to have a javascript translation to compare it. This is still pretty amazing.
- silentbicycle 15y agoYou'd have to translate k's entire data model first. It's based on data-parallel, implicit looping over vectors -- like multiplying an entire vector by a constant in linear algebra. For an open-source implementation of a k-like language, check out Kona (https://github.com/kevinlawler/kona https://github.com/kevinlawler/kona). (Full disclosure, I'm a contributor.) It's still a work in progress, but it's pretty far along.