protobuf
protobuf copied to clipboard
Adopt FFI
Opening this PR in order to get visibility on any potential Kokoro issues introduced by the branch.
This PR passes all tests again.
@mkruskal-google for review of changes to Bazel-ization. @haberman - there are a few TODO messages left in this PR that I'd like to review with you at your convenience.
It looks like this PR is proposing to migrate all of JRuby and CRuby to FFI.
We cannot migrate CRuby until we have validated the performance. Do you have performance numbers?
Last we talked my understanding was that this regresses CRuby significantly.
It turns out that all performance was significantly negatively impacted by the same issue that was causing memory corruption. Now that has been addressed, I think there is a more compelling case for a general migration. I can post the numbers here or share them with you when I see you later this week.
Closing this PR in favor of https://github.com/protocolbuffers/protobuf/pull/11483