frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Self-growing neural networks via a custom Rust-to-LLVM compiler

https://github.com/pierridotite/NOMA
6•pierridotite•2h ago
Hi HN,

I built NOMA (Neural-Oriented Machine Architecture), a systems language where reverse-mode autodiff is a compiler pass (lowered to LLVM IR).

My goal is to treat model parameters as explicit, growable memory buffers. Since NOMA compiles to standalone native binaries (no Python runtime), it allows using realloc on weights mid-training. This makes "self-growing" architectures a system primitive rather than a complex framework hack.

I just pushed a reproducible benchmark (Self-Growing XOR) to validate the methodology: it compares NOMA against PyTorch and C++, specifically testing how preserving optimizer state (Adam moments) during growth affects convergence.

I am looking for contributors! If you are into Rust, LLVM, or SSA, I’d love help on the harder parts (control-flow AD and memory safety).

Repo: https://github.com/pierridotite/NOMA

Comments

pierridotite•2h ago
A quick note on the implementation details for those interested in compilers:

The hardest part wasn't the AD itself, but managing memory safety during the "growth" phase. Since NOMA compiles to native code (LLVM), I had to ensure that when a weight buffer gets realloc'd (moved in memory):

The gradient tape updates its pointers.

The optimizer state (Adam moments) is correctly mapped to the new indices.

The benchmark I linked shows the result: "Preserving" this state allows the model to continue converging immediately after resizing, whereas "Resetting" it causes a massive performance regression.

I'm specifically curious if anyone here has experience with handling SSA Phi-nodes during reverse-mode AD on the Control Flow Graph? That's my next big hurdle for supporting complex control flow.

cylicium•2h ago
Hey ! I Saw a post that u done on reddit how can I help if I wl to contibute ?
pierridotite•2h ago
Go on our discord :) We can help u to find an issue and some implementation that could be usefull as demo or others x)

tc-ematch(8) extended matches for use with "basic", "cgroup" or "flow" filters

https://man7.org/linux/man-pages/man8/tc-ematch.8.html
1•hamonrye•1m ago•0 comments

Open Source AI Reclaims the Digital Commons

https://gpt3experiments.substack.com/p/how-open-source-ai-reclaims-the-digital
1•nutanc•1m ago•0 comments

The Rime of the Ancient Maintainer

https://www.joanwestenberg.com/the-rime-of-the-ancient-maintainer/
1•gpi•5m ago•0 comments

A post-American, enshittification-resistant internet – Cory Doctorow 39c3 [video]

https://media.ccc.de/v/39c3-a-post-american-enshittification-resistant-internet
2•manfredz•6m ago•0 comments

Show HN: Listen to Any GitHub README

https://desktop.with.audio/reader/new?github
1•OfflineSergio•10m ago•0 comments

Scientists discover beer bottle in the Mariana Trench (2024)

https://www.unilad.com/news/scientist-beer-bottle-deepest-point-ocean-mariana-trench-667878-20240213
8•thunderbong•15m ago•5 comments

Goodbye SASS

https://www.redblobgames.com/blog/2025-12-27-goodbye-sass/
2•signa11•18m ago•0 comments

When AI Learns to Experiment Like Us, What Future Are We Building Together?

https://comuniq.xyz/post?t=657
1•01-_-•19m ago•0 comments

CSS Wrapped 2025

https://chrome.dev/css-wrapped-2025/
2•Topfi•21m ago•0 comments

How I Learned to Code

https://nicholaschen.me/blogs/how-i-learned-to-code
3•ushakov•22m ago•0 comments

EasyOCR2 with rust speed. 5X-10x faster than EasyOCR

https://github.com/JaidedAI/EasyOCR/issues/1447
1•prabhatkr•23m ago•0 comments

EPass: Verifier-Cooperative Runtime Enforcement for eBPF

https://ebpf.foundation/epass-verifier-cooperative-runtime-enforcement-for-ebpf/
2•westurner•24m ago•1 comments

PostgreSQL REST API Benchmark: 15 Frameworks Compared

https://npgsqlrest.github.io/blog/postgresql-rest-api-benchmark-2024.html
1•vbilopav•25m ago•0 comments

Ed25519-CLI – command-line interface for the Ed25519 signature system

https://lib25519.cr.yp.to/ed25519-cli.html
1•INGELRII•32m ago•0 comments

Show HN: MindPick – Turn "pick your brain" requests into paid async answers

https://mindpick.me
1•bogdanmp•35m ago•1 comments

Lengthy trade route is peak globalization

https://www.wsj.com/articles/three-months-19-687-nautical-miles-this-lengthy-trade-route-is-peak-...
3•RyanShook•37m ago•0 comments

Napier's combinators and Böhm's λogarhythms (2021) [pdf]

http://docs.hancock.fastmail.fm.user.fm/arithmetic.pdf
1•aebtebeten•38m ago•0 comments

Why D Programming Language? [video]

https://www.youtube.com/watch?v=teWQbYvPBTg
2•teleforce•38m ago•1 comments

Tips and best practices for working with AI coding agents

https://www.vibekanban.com/vibe-guide
1•cjbarber•38m ago•0 comments

Show HN: Tiny acmecli for ACMEv2 account mgmt and for DNS-persist-01

https://github.com/pawlakus/acmecli
1•plagiat0r•39m ago•0 comments

A Guide to Claude Code 2.0 and getting better at using coding agents

https://sankalp.bearblog.dev/my-experience-with-claude-code-20-and-how-to-get-better-at-using-cod...
1•cjbarber•39m ago•0 comments

Shut Up About the Water

https://prettygoodblog.com/p/shut-up-about-the-water
2•notorious_pgb•40m ago•0 comments

Ask HN: How do you get visibility if you're suuuuper bad at marketing?

2•ClipNoteBook•40m ago•2 comments

Ask HN: If you only needed 200 customers at$49, how would you approach it?

1•OmKadam•41m ago•0 comments

Rainbow Six Siege hack forces Ubisoft to shut down servers

https://www.notebookcheck.net/Rainbow-Six-Siege-hack-forces-Ubisoft-to-shut-down-servers-after-pl...
2•hellel•42m ago•1 comments

U.S. Government Taking over Anthropic

https://dev.to/om_shree_0709/the-1-takeover-how-the-us-government-nationalized-anthropic-3pp6
1•OmShree0709•44m ago•0 comments

Ask HN: Best Ways to Save on Taxes?

2•silexia•44m ago•1 comments

Methanol biotransformation for production of plastic monomer L-lactate in yeast

https://www.nature.com/articles/s41467-025-65793-x
2•PaulHoule•46m ago•0 comments

Interesting things I found this year

https://www.karlsnotes.com/interesting-things-i-found-this-year/
1•valkrieco•46m ago•0 comments

A lifetime of ad-free documentaries without a recurring bill in this deal

https://www.bleepingcomputer.com/offer/deals/a-lifetime-of-ad-free-documentaries-without-a-recurr...
2•WaitWaitWha•47m ago•1 comments