Code Monkey home page Code Monkey logo

Comments (5)

iwanbk avatar iwanbk commented on August 10, 2024

The only Lua lib i found that support protobuf 3 is https://github.com/jinq0123/LuaPbIntf, and i failed to build it on ubuntu 16.04

The other alternative is bind the C implementation https://github.com/protobuf-c/protobuf-c

from tarantool.

iwanbk avatar iwanbk commented on August 10, 2024

The other alternative is bind the C implementation https://github.com/protobuf-c/protobuf-c

It is not a good path because we will need to add Lua bindings for each generated code.

As for LuaPbInft, there is some progress in build, but still failed.

from tarantool.

iwanbk avatar iwanbk commented on August 10, 2024

As for LuaPbInft, there is some progress in build, but still failed.

I still failed to build it, but managed to tried it using docker images from the author https://hub.docker.com/r/vkill/luapbintf/.
(it was build 5 months ago, if we tried to build it now, it will failed).
You can try using my docker https://hub.docker.com/r/iwanbk/docker-tarantool-protobuf/ , i added tarantool and luajit.

Unfortunately, luapbintf doesn't work on LuaJIT.

So, we have some options here:

  • add luajit support to luapbintf. Still no idea what kind of work we need to do. FYI it has C++ components which might complicate the works

  • add partial protobuf 3 support to https://github.com/Neopallium/lua-pb, only features we need.

  • let me know the details why we can't use v2, we might have solution for this.

I think we could try to use last option while we are working on the first option

from tarantool.

despiegk avatar despiegk commented on August 10, 2024

i'll try capnp in Tarantool, I know we did a test with that one once

from tarantool.

iwanbk avatar iwanbk commented on August 10, 2024

i'll try capnp in Tarantool, I know we did a test with that one once

yep, https://github.com/Incubaid/playenv/tree/master/capnproto/tarantool

from tarantool.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.