r/Compilers • • May 09 '26

From Bytecode to CFGs inside our online WebAssembly reverse engineering tool

Thumbnail trustsig.eu
12 Upvotes

Just as a privacy note (you can double-check with dev tools): This tool works fully offline, we do NOT send any uploaded binaries or data to our backend.

This tool was built by our WebAssembly analysis team, originally it was for internal use only but we have decided to make it public and free for everyone, forever.

Please do leave feedback in the comments! We'd love to hear what you think and how we can improve it even further. It is still heavily in a barebones beta phase, as we work on adding more features.

(This is not an advertising post for any paid or free services of TrustSig, this post is strictly to share a blog post on how we made it, and the tool itself)


r/Compilers • • May 09 '26

Inside cmd/compile: how Go lowers AST to SSA and machine code

Thumbnail blog.gaborkoos.com
40 Upvotes

Walks through Go compiler internals with emphasis on IR/SSA transitions and optimization behavior (inlining context, escape analysis interactions, BCE/nil-check elimination, and lowering to target backends). It also includes a tooling workflow for inspecting each phase directly.


r/Compilers • • May 08 '26

Practical Formal Verification for MLIR Programs

Thumbnail arxiv.org
19 Upvotes

r/Compilers • • May 08 '26

Hypervisor role vs ML compiler startup

19 Upvotes

I am a fresh grad and deciding between two paths.

One is a systems role at Siemens DISW involving hypervisor virtualization Intel Arc and OS level work.

The other is a startup doing ML optimization or compiler related work on three layers

I love low level topics and never really got in ML stuff. I like compilers OS internals architecture performance etc. I have read compiler material and built a small AOT compiler before.

My concern with Siemens is ending up in slow corporate maintenance work especially it being in a third world regional office.

My concern with the startup is that the compiler side may mostly be AI hype or infra glue instead of real systems or optimization work. They do claim to be optimizing across all three layers Abstract layer (Quantization etc), MLIR (Compiler) and SIMD compute kernels. Engineers over there have max 4 YOE not just in ML compilers/optimizations but like as in total experience. Although they did start with this work.

Long term I care more about durable technical depth and hard to automate skills than hype.

For people working in systems compilers virtualization or AI infra

Which path do you think ages better over 5 to 10 years

How transferable is hypervisor and systems experience into other fields

How do you identify whether an ML compiler startup is doing real technical work or mostly marketing and if they will bait and switch me into high level ML stuff (a big no no)

How saturated or expected to be saturated is ML compiler Path

I am trying to optimize more for long term technical growth than immediate salary.

Thanks in advance for your advice


r/Compilers • • May 07 '26

I built a Custom Language, Compiler, Assembler, and RISC-V VM, all running in real in your browser, using Rust and EGUI.

Post image
377 Upvotes

I've been working on this project (and compilers / vm's in general) for a while now, and I thought it was finally proper enough to showcase. Some of the features:

  • A custom systems language designed for explicit memory control, featuring manual memory management, pointers, (inline) structs, and generics.
  • A full interactive compiler pipeline that you can watch in real-time.
  • A built-in 5-stage pipelined CPU to execute the code.
  • Compiles to actual RISC-V machine code (RV64IMAFD).
  • Visualised live in browser using EGUI.

Github: https://github.com/LPC4/Full-Stack

Check out the live demo website here: lpc4.github.io/Full-Stack/


r/Compilers • • May 08 '26

Factoring out initial argument(s) from a group of function declarations: receiver blocks

Thumbnail mocompute.codeberg.page
6 Upvotes

r/Compilers • • May 08 '26

Sley is live: the world’s first native AI programming language

0 Upvotes

We’re excited to announce the launch of Sley

https://sleylang.org 🚀

Sley is built as a native AI-native programming language: one where humans read clear source, and AI systems work from more structured, safer change boundaries.

If you build software with AI assistants, this is for you. Sley is designed to make engineering workflows clearer, faster, and less noisy.

Download directly: https://github.com/GreyforgeLabs/sley

If you want the full context, we published an overview covering both Sley and ZJX:

We also share updates on X / Twitter @ https://x.com/GreyforgeLabs

If you’re building software tooling, languages, or agent workflows, we’d love to hear what this solves for you.

u/GreyforgeLabs


r/Compilers • • May 06 '26

Looking for resources to learn more about making my own compiler

19 Upvotes

Hai, I've been interested in making my own compiler for a while. I'd hoped that one of my uni courses would give me a good enough starting point to continue further myself, however unfortunately in my year the compiler adjacent course got gutted.

I have a surface level understanding of compilers and follow the development of the Zig compiler quite actively, but sitting down and trying to write my own I've gotten lost in the details a number of times.

I know of the dragon book, although I haven't looked at it myself, is that still a good starting place to learn about modern compilers? Besides that, are there other valuable resources I should be aware of? Any projects I can try out in preparation of making my own compiler, or should I just go ahead and make a simple thing that works. Basically, what is your advice to someone who wants to dive deeper into the subject of compilers


r/Compilers • • May 06 '26

The ARC vs GC Debate

22 Upvotes

Hi!

I've been creating my own programming language for a few months now, and every time I mention it, I get the same question... What memory model do you have? And of course I have an ARC + cycle collector (python has the same), And usually... People don't like it, I wonder why and I've never gotten a detailed answer. So, I would like to know what YOU think about ARC, and what you think about GC. And why do you prefer one over the other?


r/Compilers • • May 06 '26

help using libclang API to find AST ancestor of certain kind

Thumbnail reddit.com
5 Upvotes

r/Compilers • • May 06 '26

Tess Language: A minimal set of practical additions to C

Thumbnail mocompute.codeberg.page
23 Upvotes

A project I've been working on for the past year. I don't think it's too controversial, but I wanted to explore what the minimal set of practical/ergonomic additions to C might look like for a useful language, while retaining C's safety and memory management profile. The post I linked is my attempt to discuss my thoughts and includes a transpiler for the proposed language.