Skip to Navigation Skip to Entries Skip to Content
Secret3 Data Warehouse Secret3 Data Warehouse
  • back to mainsite
  • launch API console
Tags
  • tag Live Feed Live Feed
  • tag Curated News Curated News
  • tag Event Keynotes Event Keynotes
  • tag Podcast Keynotes Podcast Keynotes
  • tag Newsletter Archive Newsletter Archive
Socials
Join newsletter
Secret3 Data Warehouse Secret3 Data Warehouse
  • Home
  • Tags
Mahsa Moosavi - Unlocking Rust for Smart Contracts
Event Keynotes

Mahsa Moosavi - Unlocking Rust for Smart Contracts

Secret3 Secret3 April 22, 2025 2 min read
  • Share on X
  • Share on Facebook
  • Share on LinkedIn
  • Share on Pinterest
  • Email
Mahsa Moosavi - Unlocking Rust for Smart Contracts
On this page
Unlock full content

1. Importance of Rust for Smart Contracts

Mahsa emphasized that Rust is critical for smart contracts due to its focus on memory safety and performance. She highlighted that Rust eliminates common programming pitfalls such as null pointers and buffer overflows, which significantly enhances security. With Rust’s high execution speed, comparable to C, Mahsa noted that it offers a robust alternative for developing decentralized applications.

2. Introduction of Stylus Programming Language

According to Mahsa, Stylus is a groundbreaking programming language designed for Arbitrum chains, enabling developers to write smart contracts in multiple languages, including Solidity, Rust, C, and C++. This advancement marks a significant shift from Ethereum’s original compatibility with only Solidity, as Stylus fosters a more inclusive environment for developers from diverse programming backgrounds.

3. Enhancements in Execution Speed

Mahsa explained that Stylus has been benchmarked to demonstrate a remarkable 70 times faster execution speed compared to Solidity for specific tasks. This speed is attributed to Rust's optimization capabilities and the improved efficiency of WebAssembly (Wasm) execution. These enhancements allow developers to perform previously impossible operations on-chain, paving the way for more complex applications in gaming and AI.

4. Cost Efficiency in Smart Contract Execution

One of the crucial insights from Mahsa's talk was regarding the gas cost savings between Solidity and Stylus. She shared that Stylus implementation for heavy computational tasks, like matrix multiplication, yields a gas cost that is 99% lower than that of Solidity. This cost-effectiveness significantly alleviates the financial barriers often faced by developers when deploying large-scale computations on-chain.

5. Multi-Language Composability

Mahsa highlighted one of Stylus's key features: the ability to run composable smart contracts written in different languages on a single chain. This allows contracts, regardless of their programming language, to interact seamlessly with each other. By sharing the same state tree and database, developers can create more robust and interconnected decentralized applications without the need for a complex architecture.

6. Challenges Faced During Implementation

During her presentation, Mahsa candidly discussed the challenges she encountered while implementing matrix multiplication in both Solidity and Stylus. She noted the high gas costs associated with dynamic memory allocation in Solidity, which led to out-of-gas errors. In contrast, Stylus resolved these financial hurdles, showcasing Rust’s capabilities to efficiently handle heavy computational tasks without similar limitations.

This post is for newsletter subscribers only

Join our free newsletter to peak into our data warehouse.

Join newsletter

Already signed up to our newsletter? Sign in

Join the newsletter (free for now) curated by our flagship model

Value-packed daily reports covering news, markets, on-chain data, fundraising, governance, and more – sent to your inbox. Saving you 1 hour of research daily.

Yes please.
Secret3 Data Warehouse Secret3 Data Warehouse

Build with ❤️ in the lion city.

  • back to mainsite
  • launch API console

©2025 - Secret Intelligence Private Limited
Blog
Live Feed

Argentina Anti-Corruption Office Clears Milei Over LIBRA

Jun 9, 2025 1 min read
Live Feed

Cetus Relaunches After $220 Million Hack

Jun 9, 2025 1 min read
Live Feed

Coinbase CEO says unnecessary account freezes cut by 82%

Jun 9, 2025 1 min read
Live Feed

Coinbase CEO says unnecessary account freezes cut by 82%

Jun 9, 2025 1 min read
Live Feed

To Reap Tokenization's Benefits, Accredited Investor Rules Should Be Revamped

Jun 9, 2025 1 min read
Live Feed

10 signs an airdrop is a scam — and how to stay safe

Jun 8, 2025 1 min read
Live Feed

10 signs an airdrop is a scam — and how to stay safe

Jun 8, 2025 1 min read
Live Feed

Gaming data is the next AI battleground

Jun 8, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 8, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 8, 2025 1 min read
Load More You've reached the end of the list
  • back to mainsite
  • launch API console
  • back to mainsite
  • launch API console
Tags
  • tag Live Feed Live Feed
  • tag Curated News Curated News
  • tag Event Keynotes Event Keynotes
  • tag Podcast Keynotes Podcast Keynotes
  • tag Newsletter Archive Newsletter Archive
Socials
Live Feed

Argentina Anti-Corruption Office Clears Milei Over LIBRA

Jun 9, 2025 1 min read
Live Feed

Cetus Relaunches After $220 Million Hack

Jun 9, 2025 1 min read
Live Feed

Coinbase CEO says unnecessary account freezes cut by 82%

Jun 9, 2025 1 min read
Live Feed

Coinbase CEO says unnecessary account freezes cut by 82%

Jun 9, 2025 1 min read
Live Feed

To Reap Tokenization's Benefits, Accredited Investor Rules Should Be Revamped

Jun 9, 2025 1 min read
Live Feed

10 signs an airdrop is a scam — and how to stay safe

Jun 8, 2025 1 min read
Live Feed

10 signs an airdrop is a scam — and how to stay safe

Jun 8, 2025 1 min read
Live Feed

Gaming data is the next AI battleground

Jun 8, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 8, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 8, 2025 1 min read
Load More You've reached the end of the list
Join newsletter