Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Rosenbjerg/local-review: Minimal webapp for local code review of branches(github.com/rosenbjerg ↗)
    discuss
  2. Shopify CEO says employees' `slop grenades` making more work for everyone else(fortune.com ↗)
    discuss
  3. Replacing an agentic classification loop with Jev: 7x faster(r6i.it ↗)
    discuss
  4. Do Artifacts Have Politics? (1980)(jstor.org ↗)
    discuss
  5. Thoughts on a Typesafe Coding Agent(docs.google.com ↗)
    discuss
  6. North Korean Hackers Posed as Recruiters.They Infected 30k Devices Worldwide(inc.com ↗)
    discuss
  7. Should you trust Al to deliver financial advice?(saturnos.com ↗)
    discuss
  8. Publications on Regality theory and cultural selection theory(agner.org ↗)
    discuss
  9. Models Watching Models(southbridge.ai ↗)
    discuss
  10. Software Optimization Resources(agner.org ↗)
    discuss
  11. Simple and Efficient Row-Level Security(acadia.engineering ↗)
    discuss
  12. Slower than an SD card under heavy load: iPhone 18 Pro Max's QLC storage tested(notebookcheck.net ↗)
    discuss
  13. Infinitely Recursive of Game of Life(oimo.io ↗)
    discuss
  14. Evaluating Long-Term Memory for AI Agents: AML Cycle 2 Is Now Open(twitter.com/agentmemoryl ↗)
    discuss
  15. Perennial Technical Reads(parallelprogrammer.substack.com ↗)
    discuss
  16. Why Are People Cancelling?(bankstatementconverter.com ↗)
    discuss
  17. BYD car was easily hacked by cybersecurity expert(abc.net.au ↗)
    discuss
  18. A computer scientist-novelist reflects on AI and our understanding of maths(scroll.in ↗)
    1comments
  19. International Observe the Moon Night(wikipedia.org ↗)
    discuss
  20. iPhone 18 Pro Teardown: What Changed Inside? [video](youtube.com ↗)
    discuss
  21. The big ideas and tiny details behind Amazon's new recyclable mailer (2019)(aboutamazon.com ↗)
    discuss
  22. Jev's Architecture Unmasked(archerhume.com ↗)
    discuss
  23. The Toxicity of Sports Media(medium.com/freedomofthought ↗)
    discuss
  24. Lightweight Markdown Viewer/Editor for Linux and Windows(marklite.app ↗)
    discuss
  25. Kanye West: A Civil Rights Leader?(medium.com/freedomofthought ↗)
    discuss
  26. Elektron Machinedrum in the Browser(machinedrum-study.pages.dev ↗)
    discuss
  27. Less Typing, More Work(nicolasdular.com ↗)
    discuss
  28. Understanding the European Cyber Resilience Act (CRA)(openssf.org ↗)
    discuss
  29. Postgres 19: What's new in monitoring?(clickhouse.com ↗)
    discuss
  30. Find-jevable-code – audit a repo for Jev-replaceable decisions(altslate-labs.github.io ↗)
    discuss

What do you think of a Java-like language that compiles to native code?

1 pointsby 2h agogithub.com
3 comments
2h agoHN ↗

Ironwood is an interesting project: a Java-like, object-oriented language that compiles AOT to native executables, without a JVM, JIT, garbage collector, raw pointers, or Rust-style ownership.

Unlike GraalVM Native Image, which takes existing Java bytecode and packages the required Java runtime components into a native executable, Ironwood is a separate language designed from the start around native execution and explicit compiler-enforced safe memory management.

It uses LLVM, like Rust and Zig, so the native code produced can be very fast. It has a "defer" keyword for deferred cleanup, like Zig.

What do you think of the idea?

2h agoHN ↗

What does no garbage collector actually mean ?

1h agoHN ↗

public class Hello {

    public static void main(String[] args) {

        Chatter chatter = new Chatter();

        String text = "Hello " + chatter.getWord() + "!";
        System.out.println(text);
        free text; // destroy object and reclaim the memory

        free chatter; // destroy object and reclaim the memory

        // System.out.println(chatter); // use after free NEVER compiles
    }

}

// OR:

public class Hello {

    public static void main(String[] args) {

        Chatter chatter = new Chatter();
        defer free chatter;

        String text = "Hello " + chatter.getWord() + "!";
        defer free text;
        System.out.println(text);
    }
}