Fabian Franz
Fabian Franz
## Raw Prototype Results Here are the complete results from running the prototype: ``` 🚀 Arc vs Current Approach Prototype ========================================== 📊 Memory Layout Comparison: Current approach: Each metric clones...
The script is a little bit "wild" due to having both index + cloning. Claude got confused here, but the Arc savings are real.
## 🔄 Backwards-Compatible Enum Approach Great suggestion! We can achieve the `Arc` performance benefits while maintaining **perfect backwards compatibility** using an enum wrapper. Here's a working prototype: ### GooseString Enum...
This needs proper investigation if an enum is better, but GooseString as abstraction layer makes sense.
@gemini-cli Please review this. Is it worth to invest in GooseString with automatic cloning on legacy extraction or do a breaking change and use Arc directly?
Gemini response: This is a great discussion with two well-thought-out proposals. Here's my analysis and recommendation. ### Analysis of Approaches Both the backwards-compatible `GooseString` enum and the direct `Arc` implementation...
Can we also consider RPC/JSON 2.0? (That is the protocol used to power MCPs) While a binary protocol is great, I don't think we necessarily need the complexity of protobuf,...
@gemini-cli Give your opinion on gRPC/tonic vs. RPC/JSON 2.0 in spirit of this issue.
Gemini did not post the review, so I am doing so on it's behalf: Of course. Here is an opinion on gRPC/Tonic vs. JSON-RPC 2.0 in the context of restoring...
gRPC it is - I hope there is a way to dump a binary stream as human-readable debug output. (should be possible if they are real rust structs with a...