mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes * Generating the most strict TS code possible * Not returning null when creating vectors * Not returning null from struct contructors * Vector of unions for ts/js * Sanity check for languages * Indentation fix + output test files * Vectors of unions for php * Fixes to union vector handling + tests * Fix for strictPropertyInitialization * Fix for new aligned operator new for gcc >= 7.1 * Not generating imports/ns prefixes with --gen-all * TypeScript docs
3.0 KiB
3.0 KiB
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 | TS | C | PHP | Ruby |
|---|---|---|---|---|---|---|---|---|---|---|
| Codegen for all basic features | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | WiP | WiP |
| JSON parsing | Yes | No | No | No | No | No | No | Yes | No | No |
| Simple mutation | Yes | Yes | Yes | Yes | No | No | No | No | No | No |
| Reflection | Yes | No | No | No | No | No | No | Basic | No | No |
| Buffer verifier | Yes | No | No | No | No | No | No | Yes | No | No |
| Testing: basic | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | ? | ? |
| Testing: fuzz | Yes | No | No | Yes | Yes | No | No | No | ? | ? |
| Performance: | Superb | Great | Great | Great | Ok | ? | ? | Superb | ? | ? |
| Platform: Windows | VS2010 | Yes | Yes | ? | ? | ? | Yes | VS2010 | ? | ? |
| Platform: Linux | GCC282 | Yes | ? | Yes | Yes | ? | Yes | Yes | ? | ? |
| Platform: OS X | Xcode4 | ? | ? | ? | Yes | ? | Yes | Yes | ? | ? |
| Platform: Android | NDK10d | Yes | ? | ? | ? | ? | ? | ? | ? | ? |
| Platform: iOS | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
| Engine: Unity | ? | ? | Yes | ? | ? | ? | ? | ? | ? | ? |
| Primary authors (github) | gwvo | gwvo | ev*/js* | rw | rw | evanw/ev* | kr | mik* | ch* | rw |
- ev = evolutional
- js = jonsimantov
- mik = mikkelfj
- ch = chobie
- kr = krojew