I find that the browser based solidity compiler will crush when the code's length reach certain value which is about 230 lines. I don't know why and I am certain that there is no syntax mistake, does this problem ever happen to you?

4 Answers 4


Compiling code takes a lot of computing power, especially when you recompile every time you edit. There's simply a limit to how much you can do within a browser.

If you're writing a lot of code, I would highly reccomend utilizing a framework or command-line compiler

  • you mean the mix?
    – Wang
    Commented May 13, 2016 at 4:36
  • when I deploy it using the mist, the mist also crushes
    – Wang
    Commented May 13, 2016 at 5:25

Did you tried in CLI environment?

solc --bin --abi yourcode.sol

and check the result first.

--- install CLI Ethereum In case of MIST, they already have geth I think 230 lines code is not a problem. Because there's more than 230 code is existing. So, first you try compile in command line.

you can download CLI ethereum package https://build.ethereum.org/cpp-binaries-data/release-1.2.2/Ethereum.exe

  • the only way I can to deploy the contract is using mist, can you teach me how to do this?
    – Wang
    Commented May 13, 2016 at 10:05
  • I think 230 lines code is not a problem. Commented May 13, 2016 at 15:42

Javascript solc was automatically generated from c++ code which makes it wildly inefficient.

The solc compiler is extremely slow. A few hundred lines will begin to take over a minute to compile. For comparison, the solc package included in cpp-ethereum takes about 1 second.

I believe that the Javascript solc package was actually automatically generated from the solc implementation in c++ (possibly using something like this). You can actually view the JS source here. As you can see, the JS compiler is insanely complex and likely extremely inefficient. If you are a compiler guru it would be a great service the community if you would rewrite this JS compiler.


Have you tried Ethereum Studio on live.ether.camp as a full functional web based dev environment it should support all your requirements.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.