![]() Van Oortmerssen originally developed FlatBuffers for game development and similar applications. The schema compiler runs on Android, Microsoft Windows, Mac OS X, and Linux, but games and other programs use FlatBuffers for serialization work on many other operating systems as well, including iOS, Amazon's Fire OS, and Windows Phone. ![]() Unlike Protocol Buffers, which uses variable length integers, FlatBuffers encodes integers in their native size, which favors performance but leads to longer encoded representations.įlatBuffers can be used in software written in C++, C#, C, Go, Java, JavaScript, Kotlin, Lobster, Lua, PHP, Python, Rust, Swift, and TypeScript. individual string or integer properties) without parsing all data. The serialized format allows random access to specific data elements (e.g. ![]() Compared to other serialization formats however, the handling of FlatBuffers requires usually more code, and some operations are not possible (like some mutation operations). This makes accessing data in these formats much faster than data in formats requiring more extensive processing, such as JSON, CSV, and in many cases Protocol Buffers. It supports “zero-copy” deserialization, so that accessing the serialized data does not require first copying it into a separate part of memory. Serialization format and library, IDL compilerįlatBuffers is a free software library implementing a serialization format similar to Protocol Buffers, Thrift, Apache Avro, SBE, and Cap'n Proto, primarily written by Wouter van Oortmerssen and open-sourced by Google. Android, Microsoft Windows, Mac OS X, Linux
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |