# LLVM IR

5 Hacker News commenters recommended LLVM IR and 5 criticized it, November 2025 to November 2026. It was recommended in 3 of 13 months.

**Verdict:** People recommend LLVM IR as a middle layer that hides compiler and target differences. Critics say it is buggy, under-specified and hard to read.

## Why people recommend it

- Middle layer across compilers and targets (2 comments): "it's hard to live without LLVM-IR as the middle layer abstracting away compiler and target differences" ([source](https://news.ycombinator.com/item?id=48102332)) "so C, Wasm, LLVM IR, Cranelift IR etc are better than Go, Nim, and D in my opinion" ([source](https://news.ycombinator.com/item?id=49980547))
- Preferred over alternatives like C (2 comments): "The LLVM IR is buggy of course, and under-specified, but we could imagine improving those things more easily than fixing C for this purpose." ([source](https://news.ycombinator.com/item?id=50031484)) "so C, Wasm, LLVM IR, Cranelift IR etc are better than Go, Nim, and D in my opinion" ([source](https://news.ycombinator.com/item?id=49980547))

## What people warn about

- Buggy, under-specified, undefined behavior (2 comments): "The LLVM IR is buggy of course, and under-specified, but we could imagine improving those things more easily than fixing C for this purpose." ([source](https://news.ycombinator.com/item?id=50031484)) "has no official formal semantics and it's riddled with UB" ([source](https://news.ycombinator.com/item?id=48599448))
- Too low-level and verbose (2 comments): "LLVM IR is very low-level and verbose and I think that makes it generally less readable." ([source](https://news.ycombinator.com/item?id=50032928)) "It's not high-level enough so you e.g. don't have to care about ABI details" ([source](https://news.ycombinator.com/item?id=47749775))
- Quirky, unstable and hard to debug (2 comments): "figuring out bugs is not a fun time" ([source](https://news.ycombinator.com/item?id=46949478)) "it's too quirky and unstable" ([source](https://news.ycombinator.com/item?id=46947533))

## Alternatives hackers recommend

- [LLVM](https://hackerapproved.com/p/llvm.md): 119 recommend
- [QBE](https://hackerapproved.com/p/qbe.md): 16 recommend
- [EDG C++ front-end](https://hackerapproved.com/p/edg-c-plus-plus-front-end.md): 15 recommend
- [Roslyn](https://hackerapproved.com/p/roslyn.md): 11 recommend
- [MLIR](https://hackerapproved.com/p/mlir.md): 10 recommend

## Cite as

Hacker Approved, "LLVM IR", https://hackerapproved.com/p/llvm-ir/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
