Show HN: High-order Virtual Machine (HVM) – A Parallel Functional Runtime
github.com
github.com
That is enough for it to enjoy roughly the same performance of GHC in normal programs, and even outperform it when automatic parallelism kicks in, if that counts! Of course, there are still cases where it will perform worse (by 2x at most usually, but remember it is a 1-month prototype versus the largest functional compiler in the world). I'm confident HVM's current design is able to scale and become the fastest functional runtime in the world, because I believe the optimal algorithm is inherently superior.
I'm looking for partners! Check the notes at the end of the repository's README if you want to get involved.
Actually though you might find this interesting: there’s a fundamental disconnect between our universe and the von neumann architecture, which is that the rules of our universe appear to be reversible. By which I mean, if there are two possible unique states the universe can be in at time T, there will be exactly two possible unique states the universe can be in at time T+1. This is counter to how an AND gate works, where the result is the same for multiple states (0 AND 1 = 0 as well as 1 AND 0 and 0 AND 0) - one bit of information is lost.
This means that the extra bit must be converted into heat, which puts a lower bound on the amount of heat an AND gate can produce during its operation. There are reversible models of computation (that are not turing complete) which could theoretically run without producing any heat.
And then also just to post the abstract from Readme.md as a comment to the post.
I think it creates more engagement when people see immediately that the creator is present in the thread.
PS. Really cool project!