The history of Arbitrum’s Stylus and its rise as a Rust VM standard

The 2023 WASM Vision and Developer Expansion

Offchain Labs introduced Arbitrum Stylus to allow smart contract development in Rust, C, and C++. This tool enables code from these languages to run on the blockchain via WebAssembly. In 2023, Offchain Labs estimated that Stylus would bring 3 million Rust and C developers into the Ethereum ecosystem, expanding on the existing 20,000 Solidity developers. Developer growth in this area reached 340% as the platform matured. You already know the basics of Ethereum scaling, but the shift toward WASM-compatible languages changed the developer profile on Arbitrum. The ability to use existing toolchains like Rust’s cargo and rustc made the transition easier for new users. The firm released the code and testnet for Arbitrum Stylus to facilitate community testing. This initiative aimed to broaden access to Ethereum-compatible smart contract development by removing the requirement to learn Solidity or Vyper.

Technical Differences and RedStone Scaling

The execution models in Arbitrum Nitro differ significantly between the Ethereum Virtual Machine and the Stylus WASM VM. The EVM uses a stack-based execution model that works with values on a stack. It utilizes 256 predefined opcodes with fixed gas costs and a linear, byte-addressable memory. Stylus uses a structured value stack with typed local variables and hundreds of WASM instructions with fine-grained metering. RedStone used Stylus to manage high-throughput data workloads for its modular oracle framework. RedStone reported a 34.3% reduction in base computational overhead, falling from 35,000 to 23,000. Per-feed computation costs also dropped by 50%, which means they moved from 16,000 to 8,000.

Aspect EVM Stylus
Type safety Runtime Compile-time
Memory safety Manual Automatic
Compute cost Fixed per opcode 10-100x cheaper
Memory growth Quadratic Linear
Instruction set 256 opcodes Hundreds of WASM instructions

The Stylus VM uses "ink" as a fine-grained metering unit for WASM instructions. This instruction-level metering allows for more accurate pricing than the fixed gas costs of the EVM. Compute-intensive work such as integer arithmetic, loops, and cryptography runs for less gas because Stylus compiles to native code. The EVM uses a 256-bit word-based key-value store and has a call depth limited to 1024 levels. Stylus shares this 256-bit storage system and the same 1024 call depth limit to ensure compatibility. However, Stylus memory grows in 32-byte chunks during allocation, whereas the EVM uses linear, byte-addressable memory. In Stylus, memory expansion costs follow a linear growth model through a pay_for_memory_grow function. Stylus also implements storage caching within a call to make repeated reads of the same slot in one execution cheaper. RedStone used direct byte access and efficient data structures to process many feeds. This approach bypassed the 256-bit limitation that usually hampers EVM-based oracles. The RedStone team implemented Stylus modules in parallel with their existing EVM adapters to ensure continuous service.

Gaming Needs and the Shift to Rust

Gaming requires high computational power for features like move validation in complex games. An on-chain chess engine requires heavy computation to validate each piece’s legal moves, which often hits gas limits on the traditional EVM. A developer can encode an entire chess board within a 256-bit integer to facilitate this. The Stylus SDK provides generic, storage-backed Rust types that allow developers to write Solidity-equivalent smart contracts while using optimal storage caching to manage state across the Arbitrum network through highly efficient, native memory management during complex, multi-step, heavy-load execution. This allows developers to reuse existing Rust libraries for complex algorithms.

Immutable, a leading international NFT and gaming company, previously focused on EVM-compatible scaling. The industry’s move toward WASM changed the strategy as developers prioritized the efficiency of Rust over the simplicity of Solidity. The learning curve for Rust remains steeper than Solidity. Will other L2s follow this Rust-centric path? Developers work with the Stylus SDK and tools like cargo-stylus for deployment. They also use the Stylus Remix Plugin and the Stylus Playground to test code. The SDK supports #[no_std] for contracts that want to reduce binary size for pure-compute tasks like cryptography.

The 2026 Rust VM Standard

By October 2026, Stylus has become the standard for Rust VM gaming. The environment allows WASM and Solidity contracts to run together with full interoperability. Existing Solidity DEXs list Rust tokens without modification because the ABI encoding remains identical. The platform handles 32-bit and 64-bit operations natively. Developers use the Stylus SDK to build applications that require high computational power. The ecosystem supports various languages including AssemblyScript. The ability to scale to dozens of feeds per transaction and handle large data windows makes Stylus suitable for advanced infrastructure. Developers can build specialized applications that handle 1MB-class data windows per block. At ArbOS61 and later, programs that exceed a single code account split into a root plus fragments.

Newsletter