區塊鏈編程語言
by Michael Draper
通過邁克爾·德雷珀(Michael Draper)
We’re currently in the midst of a new burgeoning industry with blockchain development.
我們目前正處于區塊鏈開發的新興行業中。
Blockchain technology is very much in a nascent stage, however this disruptive technology has already managed to take the world by storm and has experienced a boom like no other in recent times.
區塊鏈技術還處于起步階段,但是這種破壞性技術已經成功地席卷了整個世界,并且最近經歷了前所未有的繁榮。
With many well-funded projects now eager to build out their blockchain network and deploy decentralized applications on top of them, there’s a great shortage of capable, competent blockchain developers.
現在有許多資金充裕的項目渴望建立自己的區塊鏈網絡并在其之上部署去中心化應用程序,因此,有能力的,有能力的區塊鏈開發人員非常短缺。
With billions having been funneled into this sector, the pay and demand for blockchain developers has escalated with projects bidding against each other to attract the best blockchain talent that is left on the market.
隨著數十億美元進入這一領域,區塊鏈開發人員的薪酬和需求隨著項目競標而升級,以吸引留在市場上的最佳區塊鏈人才。
This gold rush may leave some developers wondering if they have what it takes to dive into this industry, and especially what programming languages are most sought after in this new industry. Almost all popular programming languages are used in the blockchain industry, however developers have to consider what type of development they would like to undertake as different languages are used for certain blockchain projects and applications.
淘金熱使一些開發人員想知道他們是否具備進入該行業的能力,尤其是在這個新興行業中最需要的編程語言。 幾乎所有流行的編程語言都在區塊鏈行業中使用,但是開發人員必須考慮他們希望進行哪種類型的開發,因為某些特定的區塊鏈項目和應用程序使用了不同的語言。
Here’s a brief rundown of the different languages and projects that are utilizing them to serve as a basic understanding and foundation for those looking to dive deeper into this industry.
下面簡要介紹了各種語言和項目,這些語言和項目正在利用它們作為希望深入該行業的人員的基本理解和基礎。
Solidity — A new and simple programming language that is popular amongst Ethereum developers, as it is the language used for developing Ethereum smart contracts. Solidity is a contract-oriented Turing-complete programming language and the number of developers is estimated at over 200,000.
堅固性 —一種新的簡單編程語言,在以太坊開發人員中很流行,因為它是用于開發以太坊智能合約的語言。 Solidity是一種面向合同的圖靈完備的編程語言,開發人員的數量估計超過200,000 。
As Ethereum has taken the head start on smart contracts, many alternative blockchain platforms are ensuring that they are Solidity (or ERC-20) compatible, thus allowing smart contracts to be easily ported from Ethereum into their new blockchain networks.
隨著以太坊在智能合約上搶占先機,許多替代性區塊鏈平臺都在確保它們與Solidity(或ERC-20)兼容,從而使智能合約可以輕松地從以太坊移植到新的區塊鏈網絡中。
Ethereum — Technically Ethereum functions as an Ethereum Virtual Machine (EVM) as a “world computer”, and is made up of multiple languages including C++, Python, Ruby, Go, and Java. JavaScript serves as the backbone of Ethereum as it functions as a runtime environment with script execution.
以太坊(Ethereum) —從技術上講,以太坊作為以太坊虛擬機(EVM)充當“世界計算機”,并且由多種語言組成,包括C ++,Python,Ruby,Go和Java。 JavaScript充當以太坊的骨干,因為它可以充當具有腳本執行功能的運行時環境。
Java — A general-purpose programming language that is concurrent, object-oriented, and class-based is designed in such a way that Java has few implementation dependencies. Since its launch in 1995, Java has become one of the top 3 programming languages and rightly so with over 9 million developers. NEM’s core blockchain network has been written solely in Java (soon to be C++).
Java-一種并發,面向對象和基于類的通用編程語言,其設計使得Java幾乎沒有實現依賴性。 自1995年問世以來,Java已成為三大編程語言之一,并且擁有900萬開發人員 ,這是正確的。 NEM的 核心區塊鏈網絡已完全用Java(即將成為C ++)編寫。
C# — An object-oriented language known to enable developers to build robust applications that run on the .NET Framework with at least 2M developers worldwide. C# was developed back in 2000. Since its inception, it has become a popular programming language used to build powerful cross platform code that works over multiple operating systems such as Windows, Mac, Linux, and Android. Blockchain projects written with C# include:
C# —一種面向對象的語言,使開發人員能夠與全球至少200萬開發人員一起構建在.NET Framework上運行的強大應用程序。 C#于2000年開發。自成立以來,它已成為一種流行的編程語言,用于構建功能強大的跨平臺代碼,該代碼可在Windows,Mac,Linux和Android等多種操作系統上運行。 用C#編寫的區塊鏈項目包括:
Stratis a Blockchain-as-a-Service provider backed by Microsoft, allows enterprises to build their own private blockchain systems.
Stratis是一家由Microsoft支持的區塊鏈即服務提供商,允許企業構建自己的私有區塊鏈系統。
NEO was written in C#, however it also supports a variety of programming languages such as Javascript, Java, Python, and Go.
NEO 用C#編寫,但是它也支持多種編程語言,例如Javascript,Java,Python和Go。
Javascript — Often abbreviated as JS, this is a multi-paradigm language that supports event-driven, functional, and imperative (including object-oriented and prototype-based) programming styles. It is one of the most popular programming languages in the world used by at least 9.7M developers worldwide.
Javascript —通常縮寫為JS,這是一種多范例語言,支持事件驅動,功能和命令式(包括面向對象和基于原型的)編程樣式。 它是世界上最受歡迎的編程語言之一,被全世界至少970萬開發人員使用 。
Lisk’s SideChain Development Kit (SDK) is written in JavaScript and allows developers to build applications on top of Lisk’s blockchain platform.
Lisk的 SideChain開發套件(SDK)用JavaScript編寫,允許開發人員在Lisk的區塊鏈平臺上構建應用程序。
SQL — Structured Query Language or ‘’Sequel’’ is a programming language developed by IBM used to communicate with databases that store, query, and manipulate data. There is an estimated 7 million developers for SQL today. Popular databases such as MySQL, PostgreSQL, SQL Server, DB2, Oracle and more all use SQL to develop applications. A blockchain project that incorporates SQL is:
SQL —結構化查詢語言或“ Sequel”是IBM開發的一種編程語言,用于與存儲,查詢和處理數據的數據庫進行通信。 如今,估計有700萬 SQL 開發人員 。 流行的數據庫,例如MySQL,PostgreSQL,SQL Server,DB2,Oracle等,都使用SQL來開發應用程序。 包含SQL的區塊鏈項目為:
Aergo — An entreprise-ready blockchain solution developed by Blocko under their proprietary Coinstack technology utilizes SQL smart contracts. The Aergo chain features a SQL-based smart contract platform that will allow enterprise entities to create and execute advanced smart contracts in commercial business environments.
Aergo —由Blocko在其專有的Coinstack技術下開發的企業就緒型區塊鏈解決方案,利用SQL智能合約。 Aergo鏈具有基于SQL的智能合約平臺,該平臺將允許企業實體在商業業務環境中創建和執行高級智能合約。
C++ — A general-purpose programming language with an estimated 4.4 million developers, it’s greatest strength lies in the capability to scale resource intensive applications and enable them to run smoothly, thus making it a very popular programming language for 3D games. Blockchain projects using C++ include:
C ++ —一種通用編程語言,估計有440萬開發人員 ,它的最大優勢在于能夠擴展資源密集型應用程序并使它們平穩運行,因此使其成為3D游戲的非常流行的編程語言。 使用C ++的區塊鏈項目包括:
EOS — C++ is the main programming language of EOS preferred for its flexibility to run extensive applications on top of the blockchain. EOS also supports any language that compiles into WebAssembly (WASM)
EOS — C ++是EOS的主要編程語言,因為它可以靈活地在區塊鏈頂部運行廣泛的應用程序,因此是首選。 EOS還支持任何可編譯為WebAssembly(WASM)的語言
Random Fact: Bitcoin core’s network is programmed in C++.
隨機事實:比特幣核心的網絡是用C ++編程的。
Golang — An open source general programming language loosely based on the syntax of the C programming language, Golang is easy for developers to learn, and for testers to understand. Currently there is an estimated 800,000+ developers on the Golang language that is used by the consortium network:
Golang —一種松散的開源通用編程語言,基于C編程語言的語法,Golang易于開發人員學習和測試人員理解。 目前,聯盟網絡使用的Golang語言估計有80萬以上的開發人員 :
HyperLedger Fabric — Most of the chaincode (smart contracts built using HyperLedger Fabrics) is written in Golang. They also have a Java SDK for developing blockchain applications.
HyperLedger Fabric —大多數鏈碼(使用HyperLedger Fabrics構建的智能合約)都是用Golang編寫的。 他們還具有用于開發區塊鏈應用程序的Java SDK。
Hopefully this has provided you with a basic overview of where to start and what to dig into further if the blockchain industry is something that interests you. There is little doubt that this industry will continue to further explode over the next decade or so as advancements are made and real-world adoption use cases emerge.
希望這為您提供了從哪里開始以及如果區塊鏈行業對您感興趣的東西需要進一步研究的基本概述。 毫無疑問,在未來十年左右的時間里,隨著行業的進步和實際應用案例的出現,該行業將繼續爆炸式增長。
翻譯自: https://www.freecodecamp.org/news/the-most-popular-programming-languages-used-in-blockchain-development-5133a0a207dc/
區塊鏈編程語言