r/Compilers • u/naharashu • 3h ago
Is ClangIR(CIR) better than raw LLVM IR?
Just found it, and it seems more easily to understand than LLVM IR
r/Compilers • u/naharashu • 3h ago
Just found it, and it seems more easily to understand than LLVM IR
r/Compilers • u/vu_N • 3h ago
Hi there, im working on a apk to source decompiler tool chain with full game compiled and run smoothly on almost any IL2CPP Unity game apk/ipa. Actually i have done for almost 40 games top of market focus on hybrid casual even the liveops part. Some game with pairIP anti Frida and BeeByte Obf still can break. But im not sure about public the kit since i dont know how it will impact. The de-compilation process took 1 day for everage size game to 5 days on massive game with million lines of code decompiled with LLM support.
r/Compilers • u/adityazero • 6h ago
A recent news where NEAR AI reported that an attacker exploited a RCE vulnerability in SGLang exposing account details etc.
At this point it seems like we need a better way to program inference systems. As per Claude's research and SGLang's published RCEs this year share a pattern: Python features that run code by design, exposed to the network.
This is where *capability types* can help programmers and tools and AI reason about the attack surfaces. Vx is in early stages so adding capability types is not too difficult at this point but I'd like to learn from someone who has done it before.
r/Compilers • u/Hopeful-Ad-1665 • 20h ago
Hey r/Compilers !
A while back, I started building FoxVC—a lightweight, zero-dependency scripting language and bytecode virtual machine designed around 25 deterministic keywords
(act, emit, pick, alt, spin, pulse, etc.).
Like a lot of hobby language projects, it originally started with a classic architecture: a Python frontend (lexer, AST parser, bytecode compiler) that called
into a fast C VM (foxvm.so) via ctypes.
It was fun, it worked, but eventually, I hit what I call the "3-language duplication trap":
1. You write a feature in Python.
2. You have to sync it with your C VM.
3. Then you want a WebAssembly browser playground, so you end up maintaining a third JavaScript parser that slowly drifts out of sync.
4. Worst of all: cold-start latency sucked. Spawning Python just to parse a 20-line .fox script took ~200ms before the C VM even touched the first bytecode opcode.
Over the last few weeks, I pushed two massive updates—v2.0.0 (Engine 0.7.0) and today’s v0.7.1 “Titan” update—to completely overhaul the engine.