mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
Adding an API reference for the supported languages. General docs cleanup, including a new `tutorial` section that supports all of the supported languages. Added samples for each supported language to mirror the new tutorial page. Cleaned up all the links by making them `@ref` style links, instead of referencing the names of the generated `.html` files. Removed all generated files that were unnecessarily committed. Also fixed the C# tests (two were failing due to a missing file). Bug: b/25801305 Tested: Tested all samples on Ubuntu, Mac, and Android. Docs were generated using doxygen and viewed on Chrome. Change-Id: I2acaba6e332a15ae2deff5f26a4a25da7bd2c954
2.7 KiB
Executable File
2.7 KiB
Executable File
Platform / Language / Feature support
FlatBuffers is actively being worked on, which means that certain platform / language / feature combinations may not be available yet.
This page tries to track those issues, to make informed decisions easier. In general:
- Languages: language support beyond the ones created by the original FlatBuffer authors typically depends on community contributions.
- Features: C++ was the first language supported, since our original target was high performance game development. It thus has the richest feature set, and is likely most robust. Other languages are catching up however.
- Platforms: All language implementations are typically portable to most platforms, unless where noted otherwise.
NOTE: this table is a start, it needs to be extended.
| Feature | C++ | Java | C# | Go | Python | JS | C | PHP | Ruby |
|---|---|---|---|---|---|---|---|---|---|
| Codegen for all basic features | Yes | Yes | Yes | Yes | Yes | Yes | WiP | WiP | WiP |
| JSON parsing | Yes | No | No | No | No | No | No | No | No |
| Simple mutation | Yes | WIP | WIP | No | No | No | No | No | No |
| Reflection | Yes | No | No | No | No | No | No | No | No |
| Buffer verifier | Yes | No | No | No | No | No | No | No | No |
| Testing: basic | Yes | Yes | Yes | Yes | Yes | Yes | ? | ? | ? |
| Testing: fuzz | Yes | No | No | Yes | Yes | No | ? | ? | ? |
| Performance: | Superb | Great | Great | Great | Ok | ? | Superb | ? | ? |
| Platform: Windows | VS2010 | Yes | Yes | ? | ? | ? | ? | ? | ? |
| Platform: Linux | GCC282 | Yes | ? | Yes | Yes | ? | ? | ? | ? |
| Platform: OS X | Xcode4 | ? | ? | ? | Yes | ? | ? | ? | ? |
| Platform: Android | NDK10d | Yes | ? | ? | ? | ? | ? | ? | ? |
| Platform: iOS | ? | ? | ? | ? | ? | ? | ? | ? | ? |
| Engine: Unity | ? | ? | Yes | ? | ? | ? | ? | ? | ? |
| Primary authors (github) | gwvo | gwvo | ev*/js* | rw | rw | evanw/ev* | mik* | ch* | rw |
- ev = evolutional
- js = jonsimantov
- mik = mikkelfj
- ch = chobie