For builders compiling Solidity in Hardhat 3, Nomic Foundation has released slang, a compiler independent of solc, through the alpha plugin hardhat-slang. This is a historical report based on an article published 4 November 2026 (UTC+08:00), not a current release announcement.
Slang uses a custom front end, MLIR as an intermediate representation, and an LLVM back end. It supports Solidity 0.8.0 and later, with one binary able to compile multiple versions.
The original article reports benchmark compilation speeds averaging 40 times faster than solc in via-IR mode and 8.7 times faster in legacy mode, with a peak of 79 times in some repositories. Those figures concern compilation: the article says test execution time was similar to forge.
The article also reports that valid code compiles reliably and that approximately 99.97% of Sourcify tests passed. Error diagnostics and code verification remained incomplete, however, so it said slang was not yet suitable for mainnet deployment. The alpha release demonstrates a compiler change, not production readiness.
Source: learnblockchain.cn (originally published 2026-11-04 00:00 UTC+8)
