frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lamina – A compiler backend that is not LLVM or Cranelift

https://github.com/SkuldNorniern/lamina
2•skuldnorniern•1h ago
Recently, I've been working on Lamina, a compiler infrastructure that generates native assembly for multiple architectures without relying on LLVM or Cranelift. It's designed for building compilers for new languages, educational projects, and any projects that can utilize a custom syntax of code generation.

Instead of depending on external backends, Lamina provides a complete pipeline from a single SSA based IR directly to the supported target's assembly generation. The IR is readable, also provides a IRBuilder API that is easy to use via programmatic construction.

For better management of the code generation process, in the future, it will use a new pipeline IR -> MIR -> native assembly with the optimization passes.

Key features: - Direct code generation: IR -> assembly/machine code without LLVM/Cranelift - SSA based IR: single assignment form optimized for analysis and optimization passes - MIR based codegen(experimental): new intermediate representation with register allocation and advanced optimizations - IRBuilder API: fluent interface for building modules, functions, blocks, and control flow - Readable IR: easy to debug and lower than high level languages - Zero external backend dependencies: simplified builds and transparent pipeline while being faster to build

Optimization passes (experimental MIR flow only): - Control flow: CFG simplification, jump threading, branch optimization - Loop optimizations: loop fusion, loop invariant code motion, loop unrolling - Code motion: copy propagation, common subexpression elimination, constant folding - Function optimizations: inlining, tail call optimization - Arithmetic: strength reduction, peephole optimizations

Performance: On a 256×256 matrix multiplication benchmark (300 runs), Lamina's experimental MIR-based codegen (which includes all optimization passes) generates code comparable to C/C++/Rust (within 1.8x) and faster than Java, Go, JavaScript, and Python. The experimental MIR based flow's result is much faster than the IR-> Assembly based codegen.

Written in Rust (2024 edition), Current Version 0.0.7. Optional nightly features available for SIMD, atomic placeholders, and experimental targets.

Show HN: Solved hiring by deleting the hiring step; your crew almost ready

https://www.crewrok.com/
1•rokontech•48s ago•0 comments

On the world’s coldest stage, a military musician plays with a plastic horn

https://apnews.com/article/antarctica-navy-musician-scott-base-new-zealand-d7a9f6eb2c0bbe769a5087...
1•mooreds•2m ago•0 comments

The Wandering Inn

https://wanderinginn.com/2017/03/03/rw1-00/
1•ptsneves•3m ago•0 comments

How to fix the internet: break the oligarchy

https://www.newstatesman.com/culture/books/book-of-the-day/2025/11/how-to-fix-the-internet-break-...
1•robtherobber•5m ago•0 comments

Testing shows Apple N1 Wi-Fi chip improves on older Broadcom chips in every way

https://arstechnica.com/gadgets/2025/11/testing-shows-apple-n1-wi-fi-chip-improves-on-older-broad...
1•signa11•7m ago•0 comments

So I'm in the Epstein Files: Rebecca Watson (Skepchick) [video]

https://www.youtube.com/watch?v=VNLdyWPAz18
1•Teever•10m ago•0 comments

Act-1: A Robot Foundation Model Trained on Zero Robot Data

https://www.sunday.ai/journal/no-robot-data
1•Anon84•10m ago•0 comments

Templated Static Content

https://judi.systems/sprouts/manual/05-templated-static-content
1•hsn915•13m ago•0 comments

Lessons Learned from UK "AV Day"

https://avpassociation.com/thought-leadership/lessons-learned-from-uk-av-day/
1•mooreds•14m ago•0 comments

Show HN: Awesome J2ME

https://github.com/hstsethi/awesome-j2me
2•catstor•16m ago•0 comments

Inaccurate news.YCombinator.com/item?id=7509122

https://trellis.law/case/24fl001767/carol-reiley-vs-andrew-ng
1•salkahfi•20m ago•0 comments

Dutch media warn of growing influence of global tech giants

https://www.dutchnews.nl/2025/11/dutch-media-warn-of-growing-influence-of-global-tech-giants/
2•HelloUsername•22m ago•0 comments

Internet Archive Down

https://web.archive.org/sry
2•danielfalbo•22m ago•1 comments

Spanish government approves decree to remove 'Francoist symbols and vestiges'

https://www.euronews.com/culture/2025/11/20/spanish-government-approves-decree-to-begin-removal-o...
1•petethomas•22m ago•0 comments

Compile-time Tailwind CSS for React Native with zero runtime overhead

https://github.com/mgcrea/react-native-tailwind
1•olouv•27m ago•0 comments

Humans Are Evolving in Front of Our Eyes on the Tibetan Plateau

https://www.sciencealert.com/humans-are-evolving-in-front-of-our-eyes-on-the-tibetan-plateau
3•DrierCycle•27m ago•1 comments

China's "intelligent mines" are getting rid of truck drivers and diesel fuel

https://kdwalmsley.substack.com/p/chinas-intelligent-mines-are-getting
1•signa11•31m ago•0 comments

We don't use Cloudflare, yet Prisma depends on it so the outage broke our infra

https://ariana.dev/blog/cloudflare-outage-lessons
2•AnicetN•32m ago•1 comments

Rore: A GPU-Accelerated UI Framework in Rust (No DOM, No Webview)

https://github.com/davlatov-tech/Rore
2•Davlatov•35m ago•2 comments

In the A.I. Race, Chinese Talent Still Drives American Research

https://www.nytimes.com/2025/11/19/technology/ai-research-chinese-talent.html
1•signa11•36m ago•0 comments

Supercomputer simulates quantum chip in unprecedented detail

https://phys.org/news/2025-11-supercomputer-simulates-quantum-chip-unprecedented.html
1•iamtech•37m ago•0 comments

Paladin Press

https://en.wikipedia.org/wiki/Paladin_Press
1•hentrep•41m ago•0 comments

Put a little Pixie in your cluster

https://bitfieldconsulting.com/posts/little-pixie
1•mu0n•44m ago•0 comments

Firebase vs. Supabase vs. Appwrite: We Built the Same App Three Times

https://simpletechguides.com/comparisons/firebase-vs-supabase-vs-appwrite/
1•ritzaco•44m ago•0 comments

Post-American Blues

https://newleftreview.org/sidecar/posts/post-american-blues
1•robtherobber•45m ago•0 comments

Minimizing Variable Scope in Go: New Blog Post and Static Analyzer Tool

https://old.reddit.com/r/golang/comments/1p201d9/
1•eik•45m ago•1 comments

ConnectApp.inc – Where True Digital Connection Begins

1•tobinews•46m ago•1 comments

Border Patrol is monitoring drivers and detaining those with suspicious patterns

https://apnews.com/article/immigration-border-patrol-surveillance-drivers-ice-trump-9f5d05469ce8c...
3•LordGrey•47m ago•0 comments

Show HN: Arka – an MCP gateway that makes MCP adoption possible

1•ayushshivani•50m ago•0 comments

Spanish court orders Meta to pay $550M to digital media companies

https://www.reuters.com/sustainability/boards-policy-regulation/spanish-court-orders-meta-pay-550...
3•giuliomagnifico•50m ago•0 comments