⚡️ 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
Replies
@solidity_lang What’s inside 𝐬𝐨𝐥𝐱 𝐛𝐞𝐭𝐚? - Stack-too-deep fixed (details below) - New runtime-gas & code-size optimizations - Thoroughly tested on 2,000+ contracts - Safe for use in non-critical deployments Download the beta
1
0
14
@solidity_lang 𝐒𝐭𝐚𝐜𝐤-𝐭𝐨𝐨-𝐝𝐞𝐞𝐩? 𝐆𝐨𝐧𝐞. 𝐬𝐨𝐥𝐱 spills vars into a dedicated memory region (0𝘹80..𝘕) lifting the EVM’s 16-slot stack limit. No pragma changes, no opt-ins - works out of the box. Recursion & unsafe asm still disable spills (same as --𝘷𝘪𝘢-𝘪𝘳).
1
0
12
𝐋𝐨𝐰𝐞𝐫 𝐫𝐮𝐧𝐭𝐢𝐦𝐞 𝐠𝐚𝐬 ERC-20 gas bench vs 𝘴𝘰𝘭𝘤 0.8.30 (Solady impl): - balanceOf() -5.87 % - allowance() -11.74 % - transfer() -0.58 % - approve() -0.29 % - permit() -0.68 % 📊 Full benchmarks:
1
0
11
𝐂𝐨𝐝𝐞 𝐬𝐢𝐳𝐞 𝐢𝐦𝐩𝐫𝐨𝐯𝐞𝐦𝐞𝐧𝐭𝐬 Since the May pre-alpha, binaries have shrunk fast: now just ~6 % larger than 𝘴𝘰𝘭𝘤 on average, with many projects smaller. Only four default-pipeline contracts still exceed the 24 576 B cap Full report:
1
0
9
𝐓𝐫𝐲 𝐬𝐨𝐥𝐱 𝐭𝐨𝐝𝐚𝐲 𝐬𝐨𝐥𝐱 is a drop-in replacement — no pragma changes, works with both Foundry and Hardhat. https://t.co/UflMu8U1iD A full blog post drops later this week with deeper details on the spilling allocator, test coverage, and roadmap.
0
1
13
@solx_compiler @solidity_lang The hardhat instruction here https://t.co/BPvbB0ZtC3 are not good, they only show a (small) fraction of the subtask that needs to be implemented. I'm still getting an error: `Error HH505: A native version of solc failed to run.`
1
0
2
@solx_compiler @solidity_lang Good points here. Do you think innovations like solx beta will impact @virtuals_io projects?
0
0
0