News for hackers. Stuff that matters.
Re:How Turborepo is porting from Go to Rust by jamil7 on Friday July 21, 2023 @11:49AM (#36815256)
They don't specify what types of issues they had with FFI which makes me somewhat dubious of the outcome here. There are tools to help paper over the rough edges of calling code through FFI, at least with Rust. Maybe the reasoning is more to do with the Go side.
Re:How Turborepo is porting from Go to Rust by bluejekyll on Friday July 21, 2023 @05:07PM (#36819764)
From my experience, the issue is generally related to passing complex data structures across FFI boundaries. For this, adopting a serialization format is nicer than say deconstructing each object into proper parameters, which really end up being very similar code to that which is generated with the serialization libraries.