4 ms·
Not sure I actually understand why K is pushed here almost daily. Most programmers find k interesting. k is fast. k is small. k & APL are great as a tool of th
by kick 7y ago
Not sure I actually understand why K is pushed here almost daily.
Most programmers find k interesting. k is fast. k is small. k & APL are great as a tool of thought. It has a "lost art" feel. It's an intellectually satisfying endeavor.
Do many people here deal with array computation?
Like three Dyalog employees occasionally contribute to discussion, fintech employees make up like 10% of the people regularly writing comments on the site, and array programming is incredibly popular when in disguise and made less efficient as Python (numpy), pretty much essential for multiple subfields of computer science, so forth.
K is also supposedly fast—not once have I seen an explanation of what makes it fast
People talk about it all the time here, though. 'geocar mentions why in almost every thread, and he should know: he helped write an operating system in the language.
and why those techniques aren't looted for open-source languages.
Because they don't want to believe it to be true! When told you're messing up something simple, you have to question your assumptions a bit. People hate doing this, especially when they've invested time in seeing them through.
Is K in fact a thin layer on top of assembler (specifically SIMD and other extensions), for number crunching in the vein of shaders/CUDA?
k is higher-level than C, Haskell, Rust, etc.
- aparashk 7y agoThere are open source implementations of Kx, e.g. https://github.com/kevinlawler/kona https://github.com/kevinlawler/kona I do not know how good/performant they are.
- kick 7y agoI think everyone in this thread probably knows about kona. It's neat, but it's also trying to be an implementation for a very old version of k. Here's a list of a few different k implementations. Most aren't aiming for performance. https://ngn.bitbucket.io/k.html https://ngn.bitbucket.io/k.html
- amiga_500 7y agoAs a long time programmer, q is the only language I can hack at, look up 10 minutes later and 2 hours have gone. Frustrating. Obtuse. Overall: fun.