go-plugin icon indicating copy to clipboard operation
go-plugin copied to clipboard

Switch to protobuf-go-lite

Open webfrank opened this issue 11 months ago • 1 comments

I think using this protocol plugin https://github.com/aperturerobotics/protobuf-go-lite would simplify generation of compatible protobuf marshaller/unmarshaller for both host and guest.

webfrank avatar Jan 24 '25 07:01 webfrank

I agree it could be worth looking into. I've had some trouble even using the latest version of go-plugin when using some google protobuf well known types like google.protobuf.Struct with the latest go1.24 wasm/wasi support (if I recall, there was a compile error regarding reflect.SliceOf or something along those lines).

Switching to building off a generator based on entirely eliminating reflection should hopefully mitigate those kind of things.

darkliquid avatar Apr 06 '25 01:04 darkliquid