Node.js or Go for Hyperledger Fabric's chaincode development?

Viewed 1447

Which language among Node.js and Go is better suited for 'chaincode' development when it comes to maintainibility, scalability and better support?

1 Answers

It's a matter of personal preference, but I'd say Golang, because:

  • Node.js chaincode uses npm install at the time of container building, which is slow and might fail due to network problems, while Golang just compiles the source code without fetching anything.

  • Chaincode features are introduced to Golang chaincode first and then later on to other chaincode implementations.

Related