frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Nectar, a Rust-like React that compiles to WebAssembly

https://buildnectar.com
3•blakeburnette•1h ago
After a pretty rough gig experience, I wanted to remind myself that I was a vaguely capable developer. I had recently jumped on the Rust train and wanted a Rust equivalent of React that is more performant and easier to work with. I also wondered if I could effectively eject Javascript. This project came from that... Nectar is a programming language that compiles your entire app, logic, state, and rendering, to WebAssembly. JavaScript is reduced to a roughly 10 KB syscall layer that only bridges WASM to the DOM.

The origin: I set out to get React-style ergonomics with better performance, and about halfway in I realized I had hit the ceiling of what was possible going through the browser's DOM (Blink/C++) and a diffing step. So I stopped fighting it and built my own signal-driven rendering layer that compiles to WASM and updates exactly the DOM nodes that changed, in O(1), with no virtual DOM and no garbage collector.

What it is right now:

- One binary. The same compiler does formatting, linting, testing, a dev server, an LSP, and SSR (although SSR is underdeveloped). - Fine-grained signals. Each binding updates on its own, so there is no diffing pass. - A Rust-inspired borrow checker for compile-time safety. - Language-level keywords for the patterns you reach for constantly on the web: component, store, router, form, auth, payment. - SEO and Screen Readers. It compiles to two DOMs from the same source so the app stays visible to screen readers and crawlers.

Honest status, because this is early and it is mostly one person:

- The "no JavaScript" line has an asterisk. WASM cannot touch the DOM directly, so there is a small JS bridge (about 10 KB) that as of this moment I cannot overcome on major browsers. - The numbers on the site (a counter is ~10 KB versus ~387 KB for React plus JS) are real but small examples, not a full-app shootout. I would not read them as more than they are. They are intentionally poorly architected to measure throughput at massive scales. (contrived) - License is BSL 1.1, so read that before you build anything real on it.

Live demo, 10,000 products with a canvas rendering engine, plus a side by side against Svelte 5: https://buildnectar.com/app/canvas

Site: https://buildnectar.com Code: https://github.com/HibiscusConsulting/nectar-lang

I would genuinely like it torn apart. If the core bet is wrong, crush my dreams but tell me how we can make it better, please. I still am not completely sure this is even a good idea. I honestly thought this would be a lot easier to build than it has been. If I had known at the start, I would have never built it, but here we are.

The Red Queen Gödel Machine: Co-Evolving Agents and Their Evaluators

https://arxiv.org/abs/2606.26294
1•niclane7•1m ago•0 comments

Show HN: A website that shows every pro triathlete's swim, bike, and run gear

https://racekit.pro
1•mpc75•2m ago•1 comments

Orasort: 5x faster column-sorting with an expired patent from Oracle

https://deepsystemstuff.com/how-oracles-secret-column-sorting-technique-became-public-after-its-p...
1•theanonymousone•3m ago•0 comments

A Tale of Two Irans

https://a16z.com/this-is-a-tale-of-two-irans/
1•kehiy•4m ago•0 comments

Behind the Refusal: Determining Guardrail Activation via Behavioral Monitoring

https://arxiv.org/abs/2607.02121
1•Jimmc414•4m ago•0 comments

When Albert Einstein & Charlie Chaplin Met and Became Fast Famous Friends (1930)

https://www.openculture.com/2026/07/when-albert-einstein-charlie-chaplin-met.html
1•Brajeshwar•5m ago•0 comments

Can you run every line of code in Super Mario Bros.? [video]

https://www.youtube.com/watch?v=o0gOALTvkcc
1•dbl000•6m ago•0 comments

Show HN

https://vorcigernix.github.io/rohrpost/
1•vorcigernix•8m ago•2 comments

Local translation: when small dedicated models beat Goliath

https://qvac.tether.io/blog/local-translation-when-small-dedicated-models-beat-goliath/
1•delduca•9m ago•0 comments

LeetCode but not as a product but a learning tool

https://cses.fi/problemset/text/2433
1•callsign_bats•10m ago•0 comments

I built an out-of-the-box self-hosting infrastructure. How can I improve it?

https://github.com/canntstand/ServeHub-2
1•canntstand•10m ago•1 comments

It's true – AI will replace _most_ software engineers

https://getsmall.xyz/post/cmp5lur8h0003vyr7dxes60rh
1•trezm•10m ago•0 comments

Autoresearch: The feedback loop behind self-improving agents

https://www.latent.space/p/autoresearch-introspection
1•gmays•12m ago•0 comments

Young People Watch TikTok, Not Television

https://www.wsj.com/opinion/young-people-watch-tiktok-not-television-6142cdf7
1•bookofjoe•13m ago•1 comments

Millions may be getting the wrong cholesterol test

https://www.sciencedaily.com/releases/2026/06/260626125714.htm
1•brandonb•15m ago•0 comments

Show HN: Voltius – open-source SSH/SFTP client, built in Rust

https://voltius.app
2•kipavy•15m ago•0 comments

Pulpie: Models for Cleaning the Web

https://usefeyn.com/blog/pulpie-pareto-optimal-models-for-cleaning-the-web/
1•snyy•15m ago•1 comments

Apple Startup Sounds

https://froods.ca/~dschaub/sound.html
1•gregsadetsky•16m ago•0 comments

AI-friendly architecture: write better software, not just more of it

https://purple-hammer.com/blog/ai-friendly-architecture.html
1•AriIs•16m ago•0 comments

Union Busters Coming After Me

https://www.nlrbedge.com/p/union-busters-coming-after-me
2•anothermathbozo•16m ago•0 comments

UK regulator warns of "arms race" to keep up with AI use in financial services

https://arstechnica.com/ai/2026/07/uk-regulator-warns-of-arms-race-to-keep-up-with-ai-use-in-fina...
2•secret_hawk_25•17m ago•0 comments

They got something on the screen

https://graybeard.ing/they-got-something-on-the-screen/
1•rglover•17m ago•0 comments

How to design a cancer vaccine (and vastly improve them)

https://www.owlposting.com/p/how-to-design-a-cancer-vaccine-and
2•crescit_eundo•18m ago•0 comments

GAN Lateral Superjunction Schottky Diode

https://www.powerelectronicsnews.com/gan-lateral-superjunction-schottky-diode/
1•stmw•20m ago•1 comments

Ask HN: I use coding agents daily, but how do real engineers use them?

1•getlawgdon•21m ago•0 comments

Help Web Attackers Self Report

https://nochan.net/b/Internet-Crap/20260524-Help-Attackers-Self-Report/
1•Bender•22m ago•1 comments

Show HN: Built a Website for People Who Miss the Old Web

https://www.dailicle.com/
1•lucky-solanki•22m ago•0 comments

HTML vs. JSON for LLMs: the format was a wash, the strategy was everything

https://www.lightningjar.com/blog/barkup-bench-results
1•kevinpeckham•25m ago•0 comments

How Google and AI Nearly Made a Seasoned Reporter Spiral

https://www.propublica.org/article/google-ai-reporting
1•Jimmc414•26m ago•0 comments

Loop Engineering: Design the Loop, or Be the Loop

https://clairetsao.substack.com/p/loop-engineering-design-the-loop
1•missmoss•26m ago•0 comments