Node.js还是Go for Hyperledger Fabric的链码开发? [英] Node.js or Go for Hyperledger Fabric's chaincode development?

查看:148
本文介绍了Node.js还是Go for Hyperledger Fabric的链码开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在可维护性,可伸缩性和更好的支持方面,Node.jsGo中哪种语言更适合链码"开发?

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

推荐答案

这是个人喜好问题,但我会说Golang,因为:

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

  • Node.js链代码在容器构建时使用npm install,这很慢并且可能由于网络问题而失败,而Golang只是在不获取任何内容的情况下编译源代码.

  • 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.

首先将链码功能引入Golang链码,然后再引入其他链码实现.

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

这篇关于Node.js还是Go for Hyperledger Fabric的链码开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆