Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:45
    eolivelli commented #4914
  • Jan 31 2019 22:07
    samsartor starred google/flatbuffers
  • Jan 31 2019 21:28
    marang starred google/flatbuffers
  • Jan 31 2019 20:51
    thyrlian starred google/flatbuffers
  • Jan 31 2019 19:19
    harshshah903 commented #5144
  • Jan 31 2019 19:19
    harshshah903 commented #5144
  • Jan 31 2019 18:56
    aardappel commented #4914
  • Jan 31 2019 18:54
    aardappel commented #5144
  • Jan 31 2019 18:51
    aardappel commented #5141
  • Jan 31 2019 18:51
    aardappel commented #5145
  • Jan 31 2019 18:51
    krojew commented #5142
  • Jan 31 2019 18:49
    krojew commented #5142
  • Jan 31 2019 18:48
    gabyx edited #5142
  • Jan 31 2019 18:48
    gabyx edited #5142
  • Jan 31 2019 18:47
    gabyx commented #5142
  • Jan 31 2019 18:47
    aardappel commented #5002
  • Jan 31 2019 18:43
    gabyx commented #5142
  • Jan 31 2019 18:43
    krojew commented #5142
  • Jan 31 2019 18:43
    aardappel commented #5143
  • Jan 31 2019 18:42
    gabyx commented #5142
MikkelFJ
@mikkelfj
Sorry, can’t help you with that. FlexBuffers is dynamic and more flexible as it requires no schema, but that can come back to bite you later. It is likely the slowest option. While it may be faster than JSON, that is not always the the case: flatcc (for C) generates a very fast JSON parser and printer from a FlatBuffers schema.
MiheevN
@MiheevN
It threw an error on this class on the 216 line.
https://github.com/google/flatbuffers/blob/32f47ad24727c7af17996aed5e48840e9139b2f5/include/flatbuffers/util.h#L207
I generally forbade him to compile. And it seems FlexBuffers works
Does anyone know why this class is needed? I can not find who refers to it.
Wouter van Oortmerssen
@aardappel
@MiheevN can you open an issue on github with your compile error, and mention @vglavnyy on it, he likely knows what's going on.
Björn Harrtell
@bjornharrtell
Isn't it time for a release soon? :)
Wouter van Oortmerssen
@aardappel
I guess it kinda is :)
let me see whats all still in flux
HarrievG
@HarrievG

Hi! I love flatbuffers, to start with.
But, i also love VCPKG, and before creating my own portfile to keep flatbuffers at head / recent revisions i want to check
I am a heavy UNION user, and i am in need of https://github.com/google/flatbuffers/commit/f9277e691dd10e42a999bba683db5df7d49226d6#diff-8f7f862c058e6e45a1abea4d04b48691 (Fixed GenerateText not handling vectors of unions. )

So my question is: will a new version be released soon? (creating a local portfile is not THAT big of a deal, but maintaining it is)
Thx!

Wouter van Oortmerssen
@aardappel
I don't make promises on when a new release will happen.. other than saying that I'm aware its overdue :)
does vcpkg not allow to pin to commits?
HarrievG
@HarrievG

If you need any help in fixing bugs to get to release , i am happy to pitch in if you want.

About pinning commits, Im not sure what you mean.
But looking at the history of https://github.com/microsoft/vcpkg/commits/5ef8bb9abc0f6a9551ac48006fc04b9d91cc5716/ports/flatbuffers
I dont see non release versions.
Having said that, i think updating the https://github.com/microsoft/vcpkg/blob/5ef8bb9abc0f6a9551ac48006fc04b9d91cc5716/ports/flatbuffers/portfile.cmake with a later commit should work?

But i dont think the port on vcpkg should host non release sourcetree versions ;) So i will create my own portfile.
Thx for the quick reply.

Wouter van Oortmerssen
@aardappel
There's no particular bug list for any release, we simply need some of the PR action to die down, and I have to coordinate with internal (Google) teams
that said, help is always very welcome in this project.. have a look at open issues, PRs and the "projects" tab on github to get an idea what is going on
I meant, being able to specify a commit as opposed to a version tag. versions simply point to a commit and are not in any way special
yup that would likely work
Katrina Ward
@Webneko675

@aardappel

If we have additional questions about flatbuffers, is it better to ask here or on your github page? You've been immensely helpful and I had another question.

Wouter van Oortmerssen
@aardappel
Quick / easy question here.. question that require code or explanation, on github :)
Björn Harrtell
@bjornharrtell
In a perhaps wierd edge case and with sanitizer tooling I can provoke this one : flatbuffers/base.h:386:23: runtime error: unsigned integer overflow: 18446744073709551615 + 1 cannot be represented in type 'unsigned long' - I'm not at all sure but could it be another place which should have __supress_ubsan__("unsigned-integer-overflow")?
Wouter van Oortmerssen
@aardappel
very likely
can you open an issue on github and mention @vglavnyy ?
akutheman
@akutheman
Hi, message_as<...>()->UnPack() returns a raw pointer which must be deleted manually if I understand correctly. Am I supposed to wrap this in unique_ptr?
Wouter van Oortmerssen
@aardappel
that's entirely up to you
akutheman
@akutheman
good, thanks. The fact that this isn't managed wasn't mentioned in the docs (I think)
I'm using the json parser, which means I have to redistribute the schema files. Is there a way to embed these into the binary?
Wouter van Oortmerssen
@aardappel
Yes, you should be able to use whatever techniques you'd normally use to embed files, and then pass a pointer to it to the schema parser. You could also go further, and convert to binary schemas, and embed those, though other than more "obfuscation" there's no advantage for JSON parsing
akutheman
@akutheman
Thanks!
Wouter van Oortmerssen
@aardappel
I was thinking of moving (or initially just duplicating) FlatBuffers chat to discord.. it seems to have more momentum behind it, with many people already on there.. thoughts?
Wouter van Oortmerssen
@aardappel
Ok, FlatBuffers Discord, as an experiment (for now will run in parallel with this gitter): discord.gg/aUNkQT
Big Jake
@JakeSays
hey is anyone aware of a flatbuffer rpc implementation other than grpc?
Wouter van Oortmerssen
@aardappel
nope, not out of the box
but a good rpc system should be able to use any bytes as payload, really
Big Jake
@JakeSays
@aardappel i'm more interested in something that supports the flatbuffer idl rpc primitives
in both c++ and dart.
Wouter van Oortmerssen
@aardappel
yeah, don't think that exists
best would be to add grpc codegen for dart
Big Jake
@JakeSays
grpc already supports dart
i just dont need/want the overhead of grpc
this is for IPC
i have a flutter ui that frontends a c++ service
Wouter van Oortmerssen
@aardappel
well, the combination of grpc+dart+flatbuffers needs separate support, the existing one assumes protobuf
Big Jake
@JakeSays
yeah.
actually i'm not stuck on flatbuffers, just want something light weight
and that i don't have to write myself. it wouldn't be too difficult, but i'm just not in the mood
Wouter van Oortmerssen
@aardappel
if its IPC, do you need an RPC system at all? use whatever process communication primitives your OS has directly?
ok, fair enough
Big Jake
@JakeSays
i'm on linux. there are no IPC mechanisms. there are transports (unix socket, shared memory, etc) but nothing that IPC
ipc is just rpc that isn't remoted
Big Jake
@JakeSays
@aardappel hey was looking at treesheets last night. looks pretty slick. going to give it a try.
Wouter van Oortmerssen
@aardappel
cool :)
Maxim Zaks
@mzaks
@aardappel could you please post a new discord invite? The old one already expired.
Wouter van Oortmerssen
@aardappel
non-expiring FlatBuffers Discord link: discord.gg/6qgKs3R