eismcc
eismcc on Hacker News
If this kind of thing interests you, you can try KlongPy (based on Klong) which also now has backprop support making it a differential array language.
Posted by
eismcc on Monday June 15, 2026 @10:29AM
from the github.com dept.
I added autograd support to the KlongPy array language. It’s been fun to integrate PyTorch and come up with new examples.
https://klongpy.org
Posted by
eismcc on Thursday February 05, 2026 @12:59PM
from the show-hn dept.
http://www.klongpy.org/
Hello HN!I had some free time so I have been upgrading KlongPy.KlongPy now supports PyTorch as a backend and autograd over the array language.A while back someone on HN thought it would be cool to have Klong support autograd and I also thought that would be cool.There's a lot of examples in https://github.com/briangu/klongpy/tree/main/examples/autogr...but here's a taste:f::{x^2} :"...
You may want to look into the nintendo zelda chemistry engine
Not yet. I want to make an online book.
I don’t use windows so not sure.
Numpy is just the backend and KlongPy has a lot more application features than Numpy. You can see something like kdb+ as inspiration.
KlongPy has a lot of other features beyond pure NumPy operations (such as IPC and web server), which you could see as a kind of making use of array operations in some application. You could look at the core Klong language as what you suggest.
You can do realtime in the sense that you can build Numpy arrays in memory from realtime data and then use these as columns in DuckDb. This is approach I took when designing KlongPy to interop array operations with DuckDb.
I recall that Richard Hamming used to also reserve Friday afternoons to deep/big thinking. Sounds wonderful.
Steve Omohundro was one of the main authors of starlisp.
After my class read this book in high school, we wrote the author and he responded. How often does that happen in today’s schools?
Thanks the insights. Not to over do self promotion, but aside from learning, the main reason I made KlongPy was to allow for optionality with the ecosystem. Use Klong for array operations and other libraries for standard stuff.
shakti has GPU support now, i believe.
Arthur Whitney is showing how to build an array language using C in array language form.
AW is known for kdb+ which is often used in finance due to its extreme performance properties and ability for quants to quickly explore ideas.
Personally, to get a better handle on how array languages worked, I implemented KlongPy which is a python implementation of Klong, which descends from K (which AW wrote).
You have to play with this stuff to understand it intuitively.
In KlongPy, dot product is: dot::{+/x*y}
P::[2 3 4]
Q::[1 0 2]
dot(P;Q)
Just gonna say, this is why i wrote KlongPy - an array language in Python that lets you interop with Python while also getting some array lang. efficiencies. Klong isn't as smooth as K, but it's still quite useful.
Judging by the google group, they are in early development phase and are onboarding their first customer.
KlongPy sits on NumPy so gets pretty far. For some features, it’s still early days.
Http://klongpy.org
I was mainly surprised how fast NumPy can be if you push it. KlongPy is effectively a NumPy DSL (array language). So vector thinking is natural.
Chapel[0] was created, in part to replace MPI in HPC communities. However, MPI remains dominant.
[0] https://chapel-lang.org/
I worked on windows kernel team and my first real projects were ACPI 1 and 2 implementation. It's been a while and ACPI was well on its way when i got there, the story at the time was that huge gaps in BIOS were problem and we need to move it into the kernel. There was also a big push from the industry at the same time to use EFI to allow devices to have a pre-os experience (e.g. play DVDs) and not be dependent upon Windows for those.
Another memory I have for that time was that powermgmt was a big priority. So i suspect the ability for the OS to do that via ACPI was strategic - I wasn't involved in the decision making.
I worked in the windows kernel team and my favorite story about DC is when he basically made x64 happen because he hated Itanium architecture so much. He worked with AMD and basically made it happen while cranking in his corner office.
Posted by
eismcc on Thursday September 28, 2023 @09:10AM
from the show-hn dept.
Posted by
eismcc on Monday September 11, 2023 @05:06PM
from the show-hn dept.