The Sui network runs Sui Move as its native programming language. Apps coded with Sui Move leverage Sui's consensus mechanism to achieve impressive transaction performance.

However, developers familiar with the Move programming language may find themselves confused when exploring the Sui documentation. The focus on objects and some instructions won't necessarily fit their experience.

These differences come from the fact that Sui Move evolved from Move as a means of better meeting the needs of a new, highly performant blockchain.

Original Move

Mysten Labs co-founder and CTO Sam Blackshear developed Move for the Diem blockchain, part of Meta's Libra project. Move has been designed to be more universal than existing blockchain languages. While other programming languages were tied to a specific blockchain, Sam's goal was to create the JavaScript of Web3, a cross-platform language that would let developers apply their skills in multiple network environments.

First and foremost, Move focuses on smart contracts. It includes types and value representations for assets and access control, two fundamental concepts that blockchain app developers code for regularly. Move's first class abstractions for these concepts make for safer and more efficient programming.

Move was released in 2020 and is currently licensed under the Apache 2.0 open source license. It's used on the Aptos, StarCoin, 0L, Rooch, Movement, and Offshore networks.

Transition to Sui Move

The Libra project focused on building a next generation payments platform, using blockchain technology to support a digital currency. Move's design supported that effort. Similar to other blockchain technologies, it includes an account-based data model, with digital assets owned by accounts.

When Sam and his colleagues at Mysten Labs set their sights on building Sui, they focused on a more generalized network infrastructure rather than the more limited scope of the Libra project's Diem blockchain. And while Move is platform-agnostic, a desirable quality, it was limited by the account-focused model.

Sui Move was designed as a fork of Move to better complement Sui's innovations, such as its consensus model. Last year Sam went into detail about Move versus Sui Move in an article titled Why We Created Sui Move, showing comparative code samples demonstrating Sui Move's elegance and expressivity. Sui Move's fundamental difference versus Move was to introduce an object-based data model.

Focusing on objects in this manner enables parallel transaction processing, which allows much better performance than blockchains that can only do serial processing. At a high level, the Sui runtime can directly determine single-owner versus shared objects, sending the former through for instant validation and applying consensus validation for the latter.

From a developer standpoint, Sui eliminates the need to do a lot of bookkeeping concerning asset ownership before and after a transaction. Where original Move keys global storage by address and type name pairs, Sui Move uses an object ID to key global storage. Giving objects this kind of first class standing enables a world of possibilities, such as composability, where objects can own other objects.

Code with Sui

Move and other blockchain languages were strongly influenced by a cryptocurrency legacy, which focused more on asset ownership, leading to them being account-focused, rather than the assets themselves. The Sui Move fork allows for much more flexibility in creating and manipulating assets, opening the door to the kinds of robust programs and games that the general public has come to expect.

Developers who embrace original Move will add a very useful, portable language to their toolbox. Taking the step into Sui Move will require thinking in terms of objects and learning some new instructions, but tools such as the Sui Move Analyzer and the WELLDONE Code plug-in can ease the move.

To get started coding, check out the Sui documentation and our series of basic tutorials.

Author

Sam Blackshear

Co-Founder, CTO, Mysten Labs, Creator of Move Language

CTO of Mysten Labs and inventor of Move language. Former Principal Engineer at Meta.

Read more like this

Canary Capital Launches First Spot SUI ETF (Nasdaq: SUIS) with Staking

The launch of SUIS, which begins trading on the NASDAQ on Wednesday, February 18th, marks yet another step forward in institutional and retail access to the Layer 1 blockchain built to become the foundation of a new global economy

3min read
Sui Foundation

Sui’s Storage Fund Demystified

Sui’s Storage Fund ensures validators are compensated for maintaining essential onchain data.

4min read
Sui Foundation

All About Closed-Loop Tokens

Enforcing specific rules and policies on token usage ensures greater security, compliance, and tailored functionality for specific app needs.

3min read
Sam Blackshear

Wishing You a Capy Holidays

Mysten Labs and Sui Foundation are excited to announce a special event for Sui Capys on Sui Devnet: #CapyHolidays!

6min read
Sui Foundation

Enhancing the Sui Ecosystem with Space and Time's Proof of SQL

Enables data-driven behavior by connecting to verifiable offchain data and compute

3min read
Sui Foundation

Sui Commits 25 Million Tokens to Liquid Staking Protocols

Liquid staking offers users a way to stake while retaining use of their tokens for other DeFi activities.

1min read
Sui Foundation