The Rise of Piecrust and Our Transition to Rust

The Rise of Piecrust and Our Transition to Rust

In the constantly evolving landscape of blockchain technology, innovation and adaptability are keys to success. At Dusk, we continuously strive to improve, push boundaries, and lead the frontier of privacy-preserving decentralized technology and real-world asset tokenization. 

This time, we're excited to share two significant advancements: the introduction of our new virtual machine, Piecrust, into our node and a substantial leap in our software development – the transition of our node from Golang to Rust.

Unleashing the Power of Piecrust

Our commitment to scalability of privacy-preserving applications and performance is driven by our vision to facilitate Real-World Asset (RWA) tokenization, all the while ensuring compliance and privacy. As part of this vision, we introduced Piecrust early this year to replace our RuskVM. This new virtual machine is designed to handle the state growth and suboptimal performance issues we encountered with RuskVM.

Piecrust keeps the state and history growth of the blockchain in check, providing a foundation for more efficient and scalable RWA tokenization. Furthermore, it outperforms RuskVM with speeds that are over ten times faster, which translates to cheaper and faster transactions.

Piecrust's increased performance not only benefits the end-users, who pay less for common operations, but it also expands the network's utility. With faster processing times and lower transaction costs, more people can actively participate - executing transactions, buying and selling securities, and issuing assets. This increased activity and user engagement enhances the overall value and usefulness of the Dusk Network.

Furthermore, Piecrust simplifies smart contract development, thereby enriching the developer experience. This ease of use, combined with the strong privacy-preserving and compliant capabilities of Dusk Network, make us the platform of choice for developers and organizations interested in RWA tokenization.

We're proud to report that Piecrust has been integrated into our node software. We've been running a Piecrust cluster for several weeks now, and we've successfully resolved issues related to this significant shift.

Embracing Rust for Robust Performance

Alongside the rollout of Piecrust, we've embarked on a transformative journey in our development stack - transitioning our blockchain node software from Golang to Rust. This move has been months in the making, but the benefits are already evident.

Rust offers us a range of substantial advantages, including improved performance, a streamlined codebase, and delivering the node in a single binary. The improved performance stems from removing the communication layer that currently exists between our Rust libraries and the Golang node. 

Furthermore, by standardizing on one programming language, we simplify our code base and streamline the onboarding process for new team members. This transition ensures that our developers work within a consistent, unified environment, reducing potential obstacles and enhancing efficiency.

We're thrilled to announce that we've now successfully run a Rust node implementation alongside our existing Golang node cluster. This major step forward is not only the culmination of months of hard work but also a significant milestone in our journey towards leveraging Rust's capabilities across our entire tech stack.

Looking Forward

At Dusk, our commitment to privacy, compliance, and RWA tokenization is unwavering. Our recent advancements with Piecrust and the Rust node, as well as our ongoing initiatives, are all part of our efforts to ensure that Dusk continues to be the leader in being the blockchain for Regulated and Decentralized Finance. As we push forward, we invite you to join us on this exciting journey towards a future that's not only secure and private, but also compliant and ready for real-world asset tokenization.