Risk Warning: Beware of illegal fundraising in the name of 'virtual currency' and 'blockchain'. — Five departments including the Banking and Insurance Regulatory Commission
Information
Discover
Search
Login
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt
BTC
ETH
HTX
SOL
BNB
View Market
Rust in the eyes of first-line developers | 2021 Rust blockchain developer Matching Day review
星球君
读者
2021-06-24 11:24
This article is about 2958 words, reading the full article takes about 5 minutes
A number of domestic blockchain development pioneers share the principles of Rust programming

On June 19, 2021, Bixin Ventures, Rust.CC, and Infura China co-hosted the Rust blockchain developer "Matching Day" as scheduled. The event sincerely invites a number of domestic blockchain development pioneers to share the principles of Rust programming, Including the founders of well-known teams such as Octopus Network and Secret Ape Technology, as well as technical leaders such as Infura China and Parity, discussed their technical path and practical experience in blockchain development based on Rust.

This is a meetup that gathers the most front-line Rust practitioners. The organizer invited more than a dozen blockchain teams developed with Rust, and attracted over a hundred Rust programming language enthusiasts to communicate and create a rare blockchain. Exchange space for front-line practitioners.

In addition to keynote speeches and roundtable discussions, the last part of this Meetup also held a Workshop on the theme of "How to use Substrate to quickly construct a blockchain", even new developers can get a glimpse of the charm of Substrate.

As the organizer of the event, Wang Xi, partner of Bixin Ventures, firstly thanked the guests and Rust enthusiasts for coming in his speech. He said that since 2017, Bixin Ventures has been committed to investing and building the necessary Web 3.0 infrastructure As well as native applications, in recent years, many outstanding developers have gathered in the blockchain field, and open finance has flourished.

At the same time, more developers do not know enough about this emerging field. As a blockchain investment institution that aims to drive the prosperity and development of the encryption ecosystem in Asia, Bixin Ventures needs to create a space for front-line developers to communicate and exchange, and jointly promote Blockchain ecological development.

Subsequently, Liu Fenghua, head of Infura China, delivered a keynote speech. He said that as a "self-scratch" product, Infura's API suite enables developers to access the Web3.0 network in the most easy-to-use and reliable way . With the migration of users and developers to a richer execution environment, Infura has now moved from providing underlying infrastructure services for Ethereum/IPFS to serving the entire Web3 ecosystem. The service objects include various Ethereum-compatible "Infura is ready to welcome the next major version of the Ethereum network and the migration of developers."

Next, Conflux algorithm engineer Li Chenxing delivered a keynote speech titled "Why Rust". He started from his own programming language experience and described the attractive language features of Rust, that is, through ownership, life cycle and other design, in the Check out memory safety and thread safety at compile time. In addition, he said that using the Rust language can reduce or avoid problems such as memory leaks, null pointer errors, shallow copy and deep copy, and iterating a tree while modifying content.

Real knowledge comes from practice, Westar researcher Fang Yuan then shared the theme of "Rust asynchronous programming principle and its practice in Starcoin". From the perspective of practical operation, he discussed with the participants the practical experience of using Rust to develop Starcoin by citing specific cases.

What wonderful changes will happen when the blockchain meets Rust? One of the co-organizers of this event, Mike Tang, co-founder of Rust.CC&Octopus Network, took this as the theme, starting from the introduction of the current public chain that uses Rust as the development language, and described the coming Web3.0 era. In this context, Rust will usher in opportunities in areas such as serverless edge computing and chain code. Of course, Rust itself also needs to solve basic problems such as how to match with the traditional Webserver efficient development model, how to efficiently collaborate with decentralized storage, and explore and settle the Web3.0 development paradigm.

Rust is being chosen by more developers, and its community is the fastest-growing among all programming languages. After four guests finished their keynote speeches, this event launched a roundtable discussion on the theme of "Rust Programming Language Application Prospect".

The host Zhao Chuchen, head of the BlockBeats Research Institute, shared with four guests, Mike Tang, the co-founder of Octopus Network, Zou Hangbiao, a technical contributor to the NFT Mart community, Li Chenxing, an algorithm engineer at Conflux, and Fangyuan, a researcher at Westar, about "the experience of team R&D engineering efficiency, How to speed up code compilation in production, and best practices for developer testing" and other topics for in-depth exchanges.

Overall, Rust can meet the requirements of high-performance program operation, memory security, and precise resource scheduling in private computing scenarios. At the same time, as an emerging language, Rust's simple language interface design, convenient concurrency design and control can greatly improve Reduce development and maintenance costs.

After the round table, Luo Chao, a senior development engineer of Secret Ape Technology, gave a wonderful speech on the theme of "Talking about the synchronization optimization of CKB". He mentioned that the direction of Nervous research and optimization in the near future is to find possible Bugs, optimized bandwidth utilization and CPU utilization, optimized synchronization protocol and optimized code implementation. In the sharing, Luo Chao also demonstrated the results and experience of the team in the work of step-by-step optimization with examples.

What are the practical experiences of developing scalable privacy protection services in Rust language? Manta Network development engineer Jamie Deng shared the team's thinking and solutions on this topic. He also revealed the planning of the entire Manta Network project: from the 1.0 stage of the decentralized anonymous payment solution to the 2.0 stage of the decentralized anonymous payment platform , and finally evolved to the 3.0 stage of the main privacy protection smart contract platform.

Antonio Yang, the core developer of ParaState in Taiwan, China, connected remotely to the site, and exchanged development experience such as SewUp with the theme of "Writing EVM/Ewasm Contracts with Rust". He believes that blockchain has brought trust to the world, and Rust It is the root of trust (Rust is the stem of TRUST).

After that, Zhang Ye, chief researcher of Scroll Finance, took "Rust and Zero-Knowledge Proof" as the theme, starting with what is Zero-Knowledge Proof, and systematically introduced the underlying algebra for cryptography developers, the two-layer stack of the proof system, and the The application developer's cryptography original and the two-layer stack of the application explain the difference in the focus of the two roles. On this basis, he introduced the advantage of Rust: it can guarantee safety while providing performance and abstraction.

According to reports, Scroll hopes to create a general platform to transplant complex applications such as transfer transactions and decentralized finance (DeFi) on Ethereum to off-chain (Layer 2), and use zero-knowledge proof to push a large number of calculations into proof , reducing the calculation cost on the chain to the verification cost, thereby reducing the user's handling fee on DeFi.

Next, Ya Xun, the founder of OneBlock+, hosted a roundtable discussion on the theme of "Rust Blockchain Development Practice".

Parity Engineer Zhou Jun, Scroll Finance Chief Researcher Zhang Ye, Secret Ape Technology Senior Development Engineer Luo Chao, and Manta Network Development Engineer Jamie Deng shared the reasons why they became attached to Rust and the precautions in the process of switching to Rust programming language.

After the roundtable discussion, Parity engineer Wang Dahammer delivered a keynote speech on "Rust Design Patterns in Substrate". topic. She concluded that the open source, modular, and scalable blockchain development framework covers the core components of the blockchain, such as point-to-point network transmission and protocol layer, database layer, consensus protocol, transaction pool, and Runtime logic layer, etc., while The common patterns of Rust design in Substrate include Newtype, distinguishing common types, backward compatibility without exposing implementation details, and zero-cost abstraction.

Promoting the good development of a language is inseparable from a thriving community and developers. One of the skills developers need is vision and practical combat. At the end of this Meetup, Parity engineer Zhou Jun hosted a Workshop with the theme of "How to use Substrate to quickly construct a blockchain". Many Rust enthusiasts participated in the practical session, and the atmosphere was lively.

Through this Meetup, we have the opportunity to get together with many Rust enthusiasts, exchange experiences and ideas, and promote the popularization of Rust in the blockchain field. Boom best feedback.


Developer
Welcome to Join Odaily Official Community