Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    171comments
  2. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    23comments
  3. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    45comments
  4. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    98comments
  5. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    105comments
  6. OpenJev(openjev.com ↗)
    226comments
  7. Systemd is a suite of basic building blocks(systemd.io ↗)
    25comments
  8. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    130comments
  9. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    1comments
  10. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    12comments
  11. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    137comments
  12. Cache-to-Cache: Direct Semantic Communication Between Large Language Models(arxiv.org ↗)
    discuss
  13. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    190comments
  14. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    81comments
  15. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    10comments
  16. Minimal Phone 2(minimalcompany.com ↗)
    62comments
  17. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    5comments
  18. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    3comments
  19. Our brain evolved from two primitive nervous systems that merged: Study(newscientist.com ↗)
    9comments
  20. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    4comments
  21. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  22. Jemalloc 5.4.0(github.com/jemalloc ↗)
    77comments
  23. I don't like passkeys(hawksley.dev ↗)
    617comments
  24. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    16comments
  25. The scourge of x86 emulation(fex-emu.com ↗)
    71comments
  26. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    24comments
  27. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    8comments
  28. AI chatbots are becoming experts at changing people's minds(science.org ↗)
    85comments
  29. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    13comments
  30. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    5comments

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.