Re:I want off Mr. Golang’s Wild Ride (2020)
by OvermindDL1 on Friday April 29, 2022 @12:24AM
(#31201417)
> Is the Rust FFI story much better?
So very much so. All the usual C types are available, you even have as much control as even saying that you want to struct laid out as it is in C, doing something as simple as binding a function is just declaring the function like you would in C. As it uses llvm it can even inline across C code, optimize and all just like they were written in the same language if you wish to do that.
Is the Rust FFI story much better?
Serious question: I have a Go code base with performance-sensitive inner loops. Considering options now for the longer term.