2

I am wondering why it was necessary to develop a whole new programming language for smart contracts. Stratis for example claims that C# can be used to write smart contracts. Couldn't Ethereum implement a compiler for any programming language? What is the advantage of Solidity over say C# etc?

1
  • If anyone feels that this question should be duped to the first link in my answer, please go ahead and flag. I was undecided :-) Commented Jun 12, 2017 at 17:58

1 Answer 1

2

Couldn't Ethereum implement a compiler for any programming language?

Yes. But it'd have to produce EVM (Ethereum Virtual Machine) bytecode.

With regards to the rest of your question, this should cover it: How was Solidity conceived and what design tradeoffs were made when building it?

Why invent the EVM? That's covered here: What was the reason to invent the EVM?

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