Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    140comments
  2. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    11comments
  3. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    29comments
  4. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    89comments
  5. OpenJev(openjev.com ↗)
    215comments
  6. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    22comments
  7. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    113comments
  8. Systemd is a suite of basic building blocks(systemd.io ↗)
    6comments
  9. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    122comments
  10. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    discuss
  11. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    184comments
  12. Grok Voice Transcribe 2.0(x.ai ↗)
    1comments
  13. I don't like passkeys(hawksley.dev ↗)
    573comments
  14. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    6comments
  15. Jemalloc 5.4.0(github.com/jemalloc ↗)
    76comments
  16. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    24comments
  17. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    2comments
  18. The scourge of x86 emulation(fex-emu.com ↗)
    69comments
  19. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  20. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    4comments
  21. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    10comments
  22. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    164comments
  23. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    4comments
  24. BeanShell3 in Development(beanshell.github.io ↗)
    15comments
  25. Replacing Pull Requests with Delta(zed.dev ↗)
    73comments
  26. AI chatbots are becoming experts at changing people's minds(science.org ↗)
    80comments
  27. An empirical study of harness design for coding agents(arxiv.org ↗)
    43comments
  28. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    2comments
  29. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    62comments
  30. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    57comments

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.