Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    discuss
  2. Better than reality: New emulation tech lags less than original consoles (2018)(arstechnica.com ↗)
    discuss
  3. Open Letter to Paul Nurse(docs.google.com ↗)
    discuss
  4. MonkeyDcode – a CLI coding agent built for small local models(github.com/straw-hat-dev ↗)
    discuss
  5. Fiat-Shamir Bugs: How One Missing Line Breaks a Proof System(zksecurity.xyz ↗)
    discuss
  6. Reconstructed Jurassic insect calls (165M-year-old) [video](youtube.com ↗)
    discuss
  7. Startup Fluxnium found a way to tap 50k years' worth of nuclear fuel(techcrunch.com ↗)
    discuss
  8. Think Like an Attacker: CI/CD Security in the AI Era(medium.com/koukyosyumei ↗)
    discuss
  9. Prediction markets are becoming a national security threat(thebulletin.org ↗)
    discuss
  10. Warren Buffett steps down as Berkshire Hathaway chairman(axios.com ↗)
    discuss
  11. You can create any workflow or pipeline you want with DSCI and LLM(sparrowhub.io ↗)
    1comments
  12. Strong evidence for quantum entanglement between Z bosons found by ATLAS and CMS(home.cern ↗)
    discuss
  13. Why the best AI users stopped hunting for the perfect prompt(firstlastword.substack.com ↗)
    1comments
  14. AI Mistakes – bash scripts – pipefail and grep(medium.com/simonsmartiom ↗)
    1comments
  15. NATS Major Incident Preliminary Investigation Report [pdf](nats.aero ↗)
    1comments
  16. Show HN: Jev vs. GPT-5.6 and Claude Haiku at Pong(ably.dev ↗)
    discuss
  17. World's fastest compression library just doubled its speed(github.com/rrrlasse ↗)
    1comments
  18. Warren Buffett Steps Down as Berkshire Hathaway Chairman(wsj.com ↗)
    discuss
  19. Mastery in the Post-AI World(daddooo.dev ↗)
    discuss
  20. Skins(acdw.net ↗)
    discuss
  21. Most People on the Internet Miss What Jev Is About(medium.com/gemanor ↗)
    discuss
  22. Flights, 4 cities, 18 nights – $112 total. Would you do this trip?(uwillfly.net ↗)
    discuss
  23. What Does Retirement Look Like?(yusufaytas.com ↗)
    discuss
  24. A curated list of open source projects used in nuclear science and engineering(github.com/paulromano ↗)
    discuss
  25. A signed manifest for every release(packslip.dev ↗)
    discuss
  26. Researchers used Claude to hack OpenAI(arstechnica.com ↗)
    1comments
  27. Everything Is Better with Lasers(raspberrypi.com ↗)
    discuss
  28. My agent could write a post but not publish it, so I built an open-source layer(github.com/lumizone ↗)
    discuss
  29. Algorithm = Logic and Control(1979)(acm.org ↗)
    discuss
  30. Show HN: Neon Roads – browser remake of SkyRoads (1993), no install, MIT(neonroads.itch.io ↗)
    discuss

Show HN: Attar – Compile React apps to native machine code

5 pointsby 5h agoattar.dev
0 comments
Hi HN, my cofounder and I are building Attar. It compiles React and TypeScript into native desktop apps, with Blink for HTML and CSS.

I like building things with web tools. We wanted to take that experience all the way to a compiled desktop app: familiar components, familiar styles, native machine code.

Attar builds on Static Hermes and Chromium. React’s reconciler compiles alongside your application, and a native host connects its updates to Blink. JavaScript objects and garbage collection are handled by the compiled runtime.

Its been about eight weeks since we started. We already have stateful React interfaces, Tailwind CSS, and an example with 15 unchanged shadcn/ui components compiling together. There’s a lot to explore here.

You can try the starter on macOS 15+ with Apple silicon and Xcode Command Line Tools:

brew install occam-tech/attar/attar

attar init my-app --template tsx

attar build my-app

We’re also working toward Attar Electron. In an early Etcher experiment for that project, app size went from 375.1 to 73.3 MiB, idle memory from 293.9 to 91.8 MB, and time to the first window from 1,081 to 469 ms on the same Mac. Those results give us plenty of motivation to keep going.

Today along with release on ProductHunt we’re sharing the standalone SDK. I’m around to talk about the compiler, how React runs as machine code, and how we connected it to Blink. Curious what you’d build with it.

A quiet thread, for now.Start the conversation on HN ↗