What are the differences and fundamental innovations between Sui Move and standard Move

The Sui network uses Sui Move as its native programming language, and apps written using Sui Move utilize Sui's consensus mechanism to achieve impressive transaction performance .

However, developers familiar with the Move programming language may be confused when exploring the Sui documentation , which focuses on objects and some instructions, which may not match their experience.

The reason for these differences is that Sui Move evolved from Move to better meet the needs of new high-performance blockchains.

The original Move

Mysten Labs co-founder and CTO  Sam Blackshear developed Move on the Diem blockchain in Meta's Libra project. Move is based on the Rust programming language and aims to be more general-purpose than existing blockchain languages, which are often tied to specific blockchains. Sam's goal is to create JavaScript for Web3, a cross-platform language that enables developers to apply their skills across multiple web environments.

The main focus of Move is smart contracts, which include type and value representations for assets and access control, two basic concepts that blockchain app developers often encounter when coding. Move's first-class abstractions over types make programming safer and more efficient.

Released in 2020, Move is currently licensed under the Apache 2.0 open source license. It is used in networks such as Aptos, StarCoin, 0L, Rooch, Movement, and Offshore.

From Move to Sui Move

Move's design supports the Libra project, which focuses on building a next-generation payment platform that uses blockchain technology to support digital currencies. Similar to other blockchain technologies, it adopts an account-based data model, and digital assets belong to accounts.

When Sam and his colleagues at Mysten Labs set their sights on building Sui, they focused on a more general network infrastructure rather than the limited scope of the Diem blockchain in the Libra project. While Move is platform-oriented, a desirable feature, it is limited by its account-centric model.

Sui Move is designed as a fork of Move to better align with Sui's innovations, such as its consensus model. Last year, Sam detailed the difference between Move and Sui Move in an article titled " Why We Created Sui Move ", showing the characteristics and expressiveness of Sui Move. The fundamental difference between Sui Move and Move is that it introduces an object-based data model .

Focusing on objects in this way enables parallel transaction processing , which has better performance than blockchains that can only do serial processing. At a high level, the Sui runtime can directly determine exclusive and shared objects, and perform instant verification on the former and apply consensus verification on the latter.

From a developer perspective, Sui removes a lot of the tedious work that needs to be done before and after a transaction regarding asset ownership. The original Move keyed global storage by address and type name, while Sui Move keyed global storage by object ID. Sui Move places great emphasis on the status of objects, enabling endless possibilities, such as compositionality, where objects can own other objects.


About Sui Network

Sui is an L1 public chain redesigned and constructed based on first principles, aiming to provide creators and developers with a development platform capable of hosting the next billion users in Web3. Applications on Sui are based on the Move smart contract language and are horizontally scalable, allowing developers to support a wide range of application development quickly and at low cost. For more information: https://linktr.ee/sui_apac

Official WebsiteTwitterDiscordEnglish Telegram GroupChinese Telegram Group

Guess you like

Origin blog.csdn.net/Sui_Network/article/details/131853911