@solx_compiler
Solx
5 months
⚡️ 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

@solx_compiler
Solx
5 months
@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
@solx_compiler
Solx
5 months
@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
@solx_compiler
Solx
5 months
𝐋𝐨𝐰𝐞𝐫 𝐫𝐮𝐧𝐭𝐢𝐦𝐞 𝐠𝐚𝐬⁣ ⁣ 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
@solx_compiler
Solx
5 months
𝐂𝐨𝐝𝐞 𝐬𝐢𝐳𝐞 𝐢𝐦𝐩𝐫𝐨𝐯𝐞𝐦𝐞𝐧𝐭𝐬 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
@solx_compiler
Solx
5 months
𝐓𝐫𝐲 𝐬𝐨𝐥𝐱 𝐭𝐨𝐝𝐚𝐲⁣ ⁣ 𝐬𝐨𝐥𝐱 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
@Amxx
Hadrien Croubois
4 months
@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
@ashen_one
ashen
5 months
0
0
1
@petrov89046
Владимир Петров
4 months
0
0
1
@othnapcalx
f(0x0thnapcalx.eth)
5 months
0
0
0
@sahara943093
BlockBriefs
5 months
@solx_compiler @solidity_lang Good points here. Do you think innovations like solx beta will impact @virtuals_io projects?
0
0
0
@0xVSultan
Zoltán Vass
5 months
@solx_compiler @solidity_lang Win10 Defender reports the compiler as: Win32/Wacapew.C!ml
0
0
0