The author shares a story of experimenting to call Rust code from Go for high-performance cryptographic functions. The blog post documents the author’s journey and challenges faced in replacing assembly code with Rust. The post highlights the complexities of writing and reviewing assembly code and explores the potential of using Rust as a higher-level language. The author discusses the limitations of cgo for calling C functions and the alternative strategies employed. This technical exploration showcases the author’s quest for optimized solutions and the evolving landscape of calling Rust from Go. The post provides insights into the interplay between different languages and the quest for efficient cryptographic code.
https://words.filippo.io/rustgo/