assuming the generated C code is good, why not?
thanks!
104649 items (96858 unread) in 19 feeds
Friends
(992 unread)
Build
(67517 unread)
Heads
(712 unread)
News
(27430 unread)
fun
(207 unread)
assuming the generated C code is good, why not?
thanks!
@Alejandro: Wow, I didn’t realize there was already someone wanting to use upb on an embedded platform! I definitely want to keep supporting your use case if I can. I think the best way forward will be for me to get a C++ to C translator like Comeau C++. Then I can keep writing in C++, but ship C files that you can build with a plain C compiler. Do you think that will work for you?
@Josh: Hi! You mentioned my reason… I work on a CXX-free embedded controller. Moving from ASN.1 to protocol buffer at IPC (hate threads) level thanks to your awesome upb and I was starting to write the Lua bindings to finish the migration integrating the http front-end and some Lua based helpers running inside the controller. So porting ucb to C++ because will hit me… badly
… your implementation is great!. I understand porting it to C++ will save you some lines… but maybe some refactoring can help to reduce the complexity without having to switch to C++? you can do all the bindings you aim keeping it in C… with all it’s current benefits
@Alejandro: If you want to influence my decision, you should tell me why you don’t want me to.
I definitely have resisted, but practical reasons are demanding that I do. But maybe you are thinking of practical reasons that I’m missing.
please don’t :’(