Alex | solx ∎
@alexzmatterlabs
Followers
22
Following
89
Media
0
Statuses
22
Compiler front-end lead of solx, a new Solidity compiler for the EVM.
Joined September 2022
The “stack too deep” problem isn’t fully solved? solc --via-ir still fails to compile in some cases. solx always compiles successfully. So what’s left? 👇
1
4
14
Yesterday I tried this early version of the next evolution of @solx_compiler. My compile time benchmarks: solc (legacy): 34secs solc (via-ir): 1m34secs solx (mlir): 4.7secs
solx is evolving. Here is a sneak peak of what’s coming 👀 Today, solx already fixes stack-too-deep and cuts gas. Next: with MLIR, solx will also redefine compilation speed. See how 👇
1
1
12
solx is evolving. Here is a sneak peak of what’s coming 👀 Today, solx already fixes stack-too-deep and cuts gas. Next: with MLIR, solx will also redefine compilation speed. See how 👇
2
7
32
We threw 20 major Ethereum projects — Aave, Uniswap, OpenZeppelin, Solady… — at solc and solx 0.1.1. The result? 8–13× faster than previous versions on heavy builds, beats solc by 5–10× in compile time with via-ir — and cuts gas usage. Let’s dig into the benchmarks 🧵
5
11
99
Using solc --via-ir to dodge “stack too deep”? Swap to solx --via-ir—same fix, much faster dev builds. Not ready to commit? Flip back to solc before deployment. Save machine time and keep your focus on code.
nothing but love for @solidity_lang, but via-ir compile times this long on an M1 Max processor is just crazy. was able to get the same codebase down to < 1min on solx from @the_matter_labs that’s a 10x improvement! great work happening over there.
0
3
8
nothing but love for @solidity_lang, but via-ir compile times this long on an M1 Max processor is just crazy. was able to get the same codebase down to < 1min on solx from @the_matter_labs that’s a 10x improvement! great work happening over there.
0
5
21
@solx_compiler compiling Aave V3 in 2 minutes flat? wild times dev workflows on a whole new level now
1
1
1
⚡️ solx 0.1.1 is here — and it’s fast 💨 This release focuses on cutting compilation times, especially with --via-ir. Up to 9× faster builds, plus additional improvements in gas and bytecode size. Here’s what’s new 👇
9
19
101
We just published a deep dive on how solx fixes stack-too-deep — without --via-ir, and without changing Solidity semantics. Includes internals on spilling, memory layout, and edge cases. ⬇️
1
4
15
$ZK's solx Beta Nukes “Stack-Too-Deep” While Slashing Gas 🔹 @zksync's compiler kills the dev-dreaded error without changing contract behavior—just flip and build. 🔹 Benchmarks show 92 % of 2 057 tests cheaper than solc, with smaller bytecode to boot. 🔹 Mainnet-ready for
0
2
28
Out of all responses this makes me the most bullish, maybe solx/LLVM is not *as* insecure as I first thought. 🤔 Although the open miscompilation issues still worry me. 🧐 Peaking at some solx generated bytecode and I have to say, it's quite decent. Good job! ⚡️
@real_philogy On top of that, zksolc has been in production on ZKsync for four years, using the same LLVM fork and optimization passes as solx. I'm not aware of a single miscompilation that came from any contract deployed on mainnet, are you?
2
1
8
Until solx's release, progress was limited because building a compiler isn't a revenue-generating business. As a result, developers had to rely on Solc regardless. But solx came out, alpha version with 10~40% gas consumption and powerful compatibility!
1
1
4
solx beta finally fixes “stack-too-deep” — with no semantic changes. In this post: – How the spill-to-memory fix works – Runtime gas benchmarks – Network-wide savings estimates – Our approach to compiler safety 📖
zksync.mirror.xyz
With the new release, solx fixes solc’s notorious stack-too-deep failure without altering contract semantics — your contract behaves exactly as if compiled with solc.
0
5
21
⚡️ Solidity turns 10—huge congrats to the @solidity_lang team! To celebrate we’re shipping 𝐬𝐨𝐥𝐱 𝐛𝐞𝐭𝐚 — a new Solidity compiler built on LLVM designed for efficiency that fixes “𝘴𝘵𝘢𝘤𝘬-𝘵𝘰𝘰-𝘥𝘦𝘦𝘱,” trims gas, and keeps original Solidity semantics. 🧵⬇️
8
23
99
Introducing solx v0.1.0-alpha.4 🚀 This release addresses key feature requests and bug reports. Special thanks to all devs testing for their invaluable feedback – together, we’ve made solid progress in improving solx. Full details below 🧵
6
10
53