Skip to Navigation Skip to Entries Skip to Content
Research by Secret3 Research by Secret3
  • back to mainsite
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
Research by Secret3 Research by Secret3
  • 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 our research newsletter!

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.
Research by Secret3 Research by Secret3

Build with ❤️ in the lion city.

  • back to mainsite

©2025 - Secret Intelligence Private Limited
Blog
Live Feed

Bitcoiners split on $94K or $114K for BTC’s next move as it trades sideways

Jun 20, 2025 1 min read
Live Feed

Bitcoin split between bears and bulls as sentiment again at ‘peak FUD’

Jun 20, 2025 1 min read
Live Feed

Massive Data Breach Hits Billions of Logins Across Google, Facebook and GitHub

Jun 20, 2025 1 min read
Live Feed

Semler Scientific Plans To Hold 105,000 Bitcoin By 2027

Jun 20, 2025 1 min read
Live Feed

Hyperliquid Token Hits 10-Day Low Following Recent Record High

Jun 20, 2025 1 min read
Live Feed

Polymarket gives US stablecoin bill 89% chance of becoming law

Jun 20, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 20, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 20, 2025 1 min read
Live Feed

Telegram Boss Pavel Durov Temporarily Permitted to Leave France

Jun 20, 2025 1 min read
Live Feed

AI Infrastructure Firm Gradient Bags $10 Million to Develop Protocols on Solana

Jun 20, 2025 1 min read
Load More You've reached the end of the list
  • back to mainsite
  • back to mainsite
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

Bitcoiners split on $94K or $114K for BTC’s next move as it trades sideways

Jun 20, 2025 1 min read
Live Feed

Bitcoin split between bears and bulls as sentiment again at ‘peak FUD’

Jun 20, 2025 1 min read
Live Feed

Massive Data Breach Hits Billions of Logins Across Google, Facebook and GitHub

Jun 20, 2025 1 min read
Live Feed

Semler Scientific Plans To Hold 105,000 Bitcoin By 2027

Jun 20, 2025 1 min read
Live Feed

Hyperliquid Token Hits 10-Day Low Following Recent Record High

Jun 20, 2025 1 min read
Live Feed

Polymarket gives US stablecoin bill 89% chance of becoming law

Jun 20, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 20, 2025 1 min read
Live Feed

Here’s what happened in crypto today

Jun 20, 2025 1 min read
Live Feed

Telegram Boss Pavel Durov Temporarily Permitted to Leave France

Jun 20, 2025 1 min read
Live Feed

AI Infrastructure Firm Gradient Bags $10 Million to Develop Protocols on Solana

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