Slang alpha brings an independent Solidity compiler to Hardhat 3

For builders compiling Solidity contracts, Nomic Foundation has released slang, a compiler independent of solc, as the alpha Hardhat 3 plugin hardhat-slang. This was reported on November 4, 2026, at 00:00 (UTC+08:00).

The source reports that, in benchmarks, slang compiled an average of 40 times faster than solc in via-IR mode and 8.7 times faster in legacy mode, with a gain of up to 79 times for some repositories. These are compilation results, not end-to-end test-speed gains: the source says test execution time was similar to forge.

Slang uses a custom front end, an MLIR intermediate layer and an LLVM back end. It supports Solidity 0.8.0 and later and can compile multiple supported versions with one binary.

The alpha can consistently compile valid code, according to the source, and passed approximately 99.97% of Sourcify tests. Error diagnostics and code verification remain incomplete, however, so the source says it is not yet suitable for mainnet deployment.