Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    49comments
  2. Cloudflare Quick Tunnels(cloudflare.com ↗)
    187comments
  3. Apple releases iPhone Duo simulator and Xcode 27.1 beta(developer.apple.com ↗)
    11comments
  4. Saving another 100TB of RAM with math (and Rust)(cloudflare.com ↗)
    7comments
  5. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    33comments
  6. Cache-to-Cache: Direct Semantic Communication Between Large Language Models(arxiv.org ↗)
    2comments
  7. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    56comments
  8. OpenJev(openjev.com ↗)
    231comments
  9. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    6comments
  10. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    137comments
  11. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    121comments
  12. Our brain evolved from two primitive nervous systems that merged: Study(newscientist.com ↗)
    27comments
  13. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    153comments
  14. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    13comments
  15. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    189comments
  16. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    50comments
  17. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    18comments
  18. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    192comments
  19. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    83comments
  20. Minimal Phone 2(minimalcompany.com ↗)
    88comments
  21. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    5comments
  22. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    8comments
  23. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  24. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    5comments
  25. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    12comments
  26. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    13comments
  27. How to Write with an LLM(sockpuppet.org ↗)
    210comments
  28. Jemalloc 5.4.0(github.com/jemalloc ↗)
    81comments
  29. I don't like passkeys(hawksley.dev ↗)
    652comments
  30. The scourge of x86 emulation(fex-emu.com ↗)
    72comments

Interaction Nets, Combinators, and Calculus – HVM

114 pointsby 3y agozicklag.github.io
9 comments
3y agoHN ↗

I think that's OK. Every time I look up a 3 letter initialism on Wikipedia, I have to scroll through dozens of irrelevant articles to find the one I'm looking for.

3y agoHN ↗

A caveat of this technique for reducing lambdas is that it doesn't exactly match the behavior of the normal lambda calculus. While it might reduce the same as the normal lambda calculus in many cases, it doesn't always. And that's totally fine, it doesn't need to match perfectly to be useful in it's own right.

This seems like a serious problem for something trying to be so foundational... I'm kind of surprused the author doesn't go into more detail about it. Why is this fine? If not for evaluating arbitrary programs, what is HVM useful for?

3y agoHN ↗

I think this kind of sentence makes such a huge disservice for the HVM. Rust closures also doesn't support the full λ-calculus! HVM supports way more λ-terms than Rust does. That said, we're working on full λ-calculus support, so this shouldn't be a problem soon.

3y agoHN ↗

Aha-- so then HVM allows a more efficient reduction of some lambda terms, but is not intended to replace something like GHC core?

What is the subset of lambda terms which HVM can (soundly) evaluate?

3y agoHN ↗

Well, it should be a viable alternative to GHC once we implement full lambdas, but without them, it should be seen as a separate language, just like Rust.

The complete subset of lambda terms that HVM can soundly evaluate hasn't been identified yet. It is known that HVM can, at least, soundly evaluate all terms typeable on Elementary Affine Logic (EAL), but, while that is a huge set, it isn't comprehensive, as HVM can evaluate many terms outside of EAL, including recursive terms such as the Y-Combinator.

3y agoHN ↗

Very well written and beautiful article.