Compile #solidity Smart Contracts Faster in Truffle Projects
▻https://hackernoon.com/compile-solidity-smart-contracts-faster-in-truffle-projects-eb8bebb61ec3
The Truffle Suite is the most widely used #development framework for Solidity development but it is not perfect. We at Polymath, deal with a large set of interconnected smart contracts.And adding more contracts everyday :)The sheer number of smart contracts cause the compilation time to go over 80 seconds on my daily driver. Lucky for us, we can make the compilation go faster.Truffle uses solc.js by default rather than native binaries for the compilation of smart contracts. solc.js offers greater portability but is significantly slower than natively compiled binaries.How much faster are the native binaries, you may ask? I managed to cut down Polymath-core’s compilation time from 80 seconds to just under 15 seconds!It’s that fast!Why doesn’t everyone already use native binaries? Managing (...)