Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
1 / 9
0

Finishing Turborepo's migration from Go to Rust

Vercel News·Nicholas Yang·4 days ago
#tDNZUBQd
#vercel#rust#code#turborepo#hashing#photo
Reading 0:00
15s threshold

Unlocking the future of your build system with Rust-based Turbo. Here’s how we finished this port and shipped the first all-Rust version of turbo . Link to heading Since last time At the end of our previous article , we had completed the “Rust-Go-Rust sandwich”, or “Go sandwich” for short, and shipped it with some help from Zig. The sandwich allowed us to keep incrementally porting individual pieces of Turborepo. Since then, we ported more components such as: File Hashing: Turborepo’s mechanism for creating a fingerprint of the content in your repository to make cache comparisons fast. Lockfile analysis: If the dependencies installed in your repository change, Turborepo needs to account for it. Cache Signature Verification : Add your own private key to file hashes for an additional layer of security. Link to heading Reaching the limits of the Go sandwich However, as we completed these components, we started to reach the limit of what the sandwich could handle.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More