Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. There's no point at which turning your brain off will work(danluu.com ↗)
    28comments
  2. Cloudflare Quick Tunnels(cloudflare.com ↗)
    121comments
  3. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    2comments
  4. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    39comments
  5. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    73comments
  6. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    16comments
  7. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    97comments
  8. OpenJev(openjev.com ↗)
    204comments
  9. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    6comments
  10. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    103comments
  11. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    180comments
  12. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    3comments
  13. I don't like passkeys(hawksley.dev ↗)
    529comments
  14. Jemalloc 5.4.0(github.com/jemalloc ↗)
    75comments
  15. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    23comments
  16. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    9comments
  17. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  18. BeanShell3 in Development(beanshell.github.io ↗)
    11comments
  19. The scourge of x86 emulation(fex-emu.com ↗)
    68comments
  20. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    176comments
  21. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    153comments
  22. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    2comments
  23. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    49comments
  24. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    1comments
  25. Show HN: Microsoft Office running with Wine on Linux with no virtualization(github.com/tombert ↗)
    50comments
  26. Qwen 3.8 Omni Flash(qwen.ai ↗)
    117comments
  27. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    37comments
  28. How to Write with an LLM(sockpuppet.org ↗)
    193comments
  29. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    61comments
  30. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    639comments

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.