Zero allocation is also a thing in rust. What you can learn is to reduce allocations in your critical paths.