Ethereum News
Arbitrum Stylus provides high-performance WASM execution

Arbitrum processed 478 million transactions in the first half of 2026, which brought ecosystem GDP to $206 million for that period. Stylus enables developers to bypass the Ethereum Virtual Machine interpreter by running WebAssembly (WASM) modules natively on Arbitrum nodes. This architectural change delivers significant performance improvements over standard Solidity contracts. RedStone benchmarks demonstrate a 34.3% reduction in base computational overhead, as costs dropped from 35k to 23k units. Per-feed computation costs also fell by 50%, decreasing from 16k to 8k units. These reductions occur because direct byte access eliminates the stack-based data handling that slows down EVM oracles. Memory allocation costs for WASM modules remain 100 to 500 times lower than Solidity. For developers building complex mathematical models or high-frequency trading bots, these efficiency gains change the feasibility of on-chain execution.
Computational efficiency is higher when using compiled keccak. A Stylus Hash Storage contract with compiled keccak requires 59,180 gas for a single hash, while a cached version requires 45,989 gas. In comparison, a Solidity Hash Storage contract requires 44,785 gas. For more intensive tasks, the Stylus Hash Storage 1000 with compiled keccak uses 74,741 gas, which is less than the 235,122 gas required by Solidity. However, the comparison with tiny keccak implementations lacks total fairness because the Solidity implementation uses a precompiled keccak, while the tiny keccak version uses a pure Rust implementation. The Stylus Hash Storage 1000 with tiny keccak requires 306,585 gas, which is 29,933 gas more than the 276,652 gas for the cached tiny keccak version.
Comparing the execution models
Stylus and the standard EVM operate as distinct execution environments within the Nitro stack. The EVM maintains compatibility with Solidity and Vyper, while Stylus supports Rust, C, and C++. This dual-VM architecture allows the network to handle diverse computational needs without forcing a choice between legacy compatibility and modern performance. The Stylus runtime uses ahead-of-time compilation to reach near-native speeds. For simple operations like ADD, the EVM touches memory multiple times, whereas WASM executes the instruction in a single step.
| Metric | Stylus (WASM) | Arbitrum EVM |
|---|---|---|
| Execution Speed | ~50-100 ms | ~200-300 ms |
| Avg. Compute Cost per Tx | ~$0.01 – $0.05 | ~$0.10 – $0.30 |
| Programming Languages | Rust, C, C++ | Solidity, Vyper |
| Peak Theoretical TPS | 10,000 | ~4,500 |
The technical divergence shows significant scale. Stylus programs run natively on the host machine, which bypasses the interpreter overhead of the EVM. This shift from the EVM’s opcode-based execution to a compiled model results in lower gas costs for compute-heavy tasks. The Stylus SDK for Rust provides the necessary abstractions to bridge these languages with Arbitrum’s infrastructure, making the transition smoother for established teams who already work with systems programming and high-performance computing environments.
Development friction and security risks
The development experience for Stylus remains harder than the established Solidity workflow. LimeChain research shows significant friction, such as the lack of a single build command that forces developers to use native cargo for compilation alongside a separate CLI for deployment. Developers must also manage memory and compilation manually, which creates a steeper learning curve than the managed environment of the EVM. While OpenZeppelin introduced Motsu to help with testing, the broader ecosystem still lacks the mature debugging and IDE support available for Solidity and the vast array of libraries used by seasoned engineers. Using Stylus requires a disciplined approach.
Cross-VM interactions introduce specific security risks. A reentrancy attack initiated from a Stylus contract against an EVM contract creates a novel attack surface. Because calls spanning both VMs lack inherent atomicity, a revert in one VM may not roll back state in the other. Developers must design explicit commit-reveal or two-phase patterns to prevent atomicity violations. Storage collisions also pose a critical risk because manual mapping to EVM storage slots via Rust structs can lead to state corruption.
| Risk Area | Failure Mode | Who is affected | Severity | Mitigation and Action |
|---|---|---|---|---|
| Atomic Call Reversion | Partial state changes in a cross-VM call are not atomically reverted | DeFi protocols, aggregators, cross-VM vaults | Critical | Design explicit commit-reveal or lock-release patterns |
| Storage Collision | Stylus and Solidity contracts share storage slots, causing state corruption | Protocol developers, upgrade managers | Critical | Enforce strict storage layout separation |
| Reentrancy Across VMs | A cross-VM callback creates a novel reentrancy path | Lending protocols, AMMs, bridges | Critical | Apply reentrancy guards at the cross-VM boundary |
Can the current tooling ecosystem bridge the gap for non-systems engineers before the demand for high-performance logic grows?
Selecting a stack for protocol deployment
Arbitrum’s current DeFi landscape holds $1.85 billion in total value locked. Most liquidity remains in the EVM stack, where protocols like GMX, Camelot, and Radiant Capital rely on Solidity for security and deep liquidity pools. Stylus serves a different niche, specifically for applications that require high throughput or low latency. This includes decentralized exchanges requiring advanced order-matching engines or gaming platforms with frequent state updates.
| Application Type | Recommended Stack | Primary Reason |
|---|---|---|
| Standard ERC-20/721 | Standard EVM | Ecosystem maturity |
| High-Frequency Trading | Stylus | Execution speed |
| On-chain Gaming | Stylus | Computational density |
| Complex Oracles | Stylus | Low compute costs |
The choice depends on the complexity of the financial instrument. You should choose the EVM if your priority remains speed to market and capital access. The EVM provides immediate access to a vast network of interoperable applications and the most widely supported tools. For heavy cryptographic operations or real-time data processing, Stylus provides a tangible advantage. The performance gains of Stylus change the feasibility of on-chain execution for complex mathematical models and high-frequency trading.