News for hackers. Stuff that matters.
Re:Fuchsia IDL Overview by nly on Thursday March 17, 2022 @04:46AM (#30708931)
FlatBuffers is more suited to IPC than any other purpose.
Re:Fuchsia IDL Overview by mananaysiempre on Thursday March 17, 2022 @12:07PM (#30712691)
It was originally designed as a game asset storage format[1], wasn’t it? Which is why the reference implementation assumes trusted input by default[2], for example, unlike Protobufs, Cap’n Proto, or SBE.

[1] https://opensource.googleblog.com/2014/06/flatbuffers-memory...

[2] https://google.github.io/flatbuffers/flatbuffers_guide_use_c...

Re:Fuchsia IDL Overview by surajrmal on Thursday March 17, 2022 @12:16PM (#30712795)
I've primarily used it as the serialization format for choice for encoding large files written to disk. The ability to mmap it and not need to read the entire file to access specific data was very useful. My understanding is that this sort of usecase is how it's typically used.