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•2h 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.

Show HN: Pulpie – Models for Cleaning the Web

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

Show HN: I Built LangGraph for Swift

https://github.com/christopherkarani/Swarm
12•christkarani•2h ago•3 comments

Show HN:I Made a Mac Native Excalidraw (Open Sourced)

https://github.com/zpphxd/whitespace
3•z_phxd•31m ago•2 comments

Show HN: Silicon Physics Sandbox

https://silicon.bergkv.ist/
4•bergkvist•49m ago•0 comments

Show HN: Nook – a sticky note on the edge of your monitor

https://nook.nostock.studio/
2•phinoda•52m ago•1 comments

Show HN: Cona – design your real room in 3D, in the browser

https://cona.design
2•Losenok•1h ago•0 comments

Show HN: I build a screenshot Mac app for Pi

https://pilens.dev/
2•nava•1h ago•0 comments

Show HN: Char-width – final answer to measure terminal text width

https://www.npmjs.com/package/char-width
2•dawson0•1h ago•0 comments

Show HN: A Wordle game that insults you as you play

https://smugexe.trydoff.dev
2•shreyasjk•1h ago•0 comments

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

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

Show HN

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

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

https://voltius.app
4•kipavy•1h ago•0 comments

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

https://www.dailicle.com/
2•lucky-solanki•1h ago•0 comments

Show HN: Scan your AI agents for dangerous capabilities

https://github.com/makerchecker/MakerChecker
38•smashini•4h ago•19 comments

Show HN: Mazzap, a Level 4 Open Source Digital Twin Engine

https://github.com/zymazza/mazzap
3•zymazza123•2h ago•0 comments

Show HN: Causari – Content-addressable ledger for AI agent code edits

https://causari.dev/#quickstart
3•CroviaTrust•2h ago•0 comments

Show HN: Tetris where every pixel is another Tetris (23,040 games in GLSL)

https://thiagolira.blot.im/_projects/fractetris/index.html
2•farcaster•2h ago•0 comments

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

https://buildnectar.com
3•blakeburnette•2h ago•0 comments

Show HN: Keyhole – Share secrets with your AI agents

https://keyhole.maferland.com
2•maferland•2h ago•1 comments

Show HN: Paint the Earth on a live, interactive globe (collaborative art.)

https://earth.tattoo
17•earth-tattoo•7h ago•8 comments

Show HN: Agent Draw: An agent draws while you talk, built on TLDraw

https://techstackups.com/articles/tldraw-agent-draw/
2•jameswhitford•2h ago•0 comments

Show HN: Xalgorix – Autonomous AI Pentesting Agent

https://github.com/xalgord/xalgorix
4•xalgord•2h ago•0 comments

Show HN: AI harness for C/C++ with GDB, sanitizers, perf and compile tools

https://byteask.ai/
3•anirudhak47•2h ago•2 comments

Show HN: Query Companion (QCP) for your database

https://v0-qcp.vercel.app/
3•sjashwin•2h ago•0 comments

Show HN: BloomDisk – free open-source alternative to paid Mac disk analyzers

https://github.com/Nabilhassan12345/BloomDisk
3•nabilhassan•3h ago•1 comments

Show HN: Tool for Auditing Embedded Linux Hosts

https://github.com/nstarke/embedded_linux_audit
3•bootbloopers•3h ago•0 comments

Show HN: Messageboard – A simple API-first dashboard for human readable messages

https://messageboard.tech/
2•dchanco•3h ago•0 comments

Show HN: Otaku – one terminal client for Ollama, LM Studio, and MLX

https://github.com/enclavum/otaku
2•enclavum5•3h ago•0 comments

Show HN: Homegames. An open-source game platform I've been making for 8 years

https://homegames.io
214•homegamesjoseph•20h ago•52 comments

Show HN: Osint tool that finds exposed files on domains

https://search.cerast-intelligence.com/
54•PatchRequest•21h ago•19 comments