Re: [protobuf] Is it possible to use upb natively ?

2024-02-09 Thread Dav-11
Okay, thank you. Have a nice day Il giorno venerdì 9 febbraio 2024 alle 17:52:15 UTC+1 Eric Salo ha scritto: > Hi Davide - > > It is *possible* to use upb natively but this is neither recommended nor > supported because the purpose of upb is to act as a hidden layer and we > make breaking

Re: [protobuf] Is it possible to use upb natively ?

2024-02-09 Thread 'Eric Salo' via Protocol Buffers
Hi Davide - It is *possible* to use upb natively but this is neither recommended nor supported because the purpose of upb is to act as a hidden layer and we make breaking changes to it with great frequency. Example: The amalgamation target is a hack that we use to get the Ruby and PHP protobuf

[protobuf] Is it possible to use upb natively ?

2024-02-09 Thread Dav-11
Hello, I am working on protobuf in C. RN I am using pbtools (https://github.com/eerimoq/pbtools). I would like to use upb. I found out you can create upb.c/.h for the runtime by running bazel build amalgamation. I suppose that the *upb_generator* is the compiler for the *.proto files, if that is