Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The flatbuffers library is a serialization library, created by Google for game development and performance-critical applications.
It aims to be fast and efficient.
This commit creates a port of it to SerenityOS.
Although this library is not much popular among the bigger opensource projects, there are some uses of it here on Github. If someone happens to port any small game that uses flatbuffers, it would be one less dependency for the person to port
The flatbuffers build process generates three things: some header files, a library (libflatbuffers) and a schema compiler (flatc).
A small caveat of this port: the library comes with a test suite, but we cannot run it, because it attempts to run the flatc executable we are compiling to SerenityOS in the host system. The host system does not recognize the file format, so it fails.
Nevertheless, the port compiles and runs: the schema compiler runs and the library links successfully