SDK Sizes
The Ditto SDK supports various combinations of platforms and architectures. Since each specific combination contains a complete copy of the Ditto SDK's Rust code core, when supporting various platforms or different architectures, it adds to the overall size of the SDK package.
The following table provides a summary of the SDK sizes for different platform and architecture combinations supported by Ditto:
Language | Type | Size |
---|---|---|
C# .NET | NuGet Package | 217 MiB¹ |
C++ | Android | 205 MB |
C++ | Linux | 57 to 58 MB |
Java | Android | 77 MB |
JavaScript | Browser (WebAssembly) | 19 MiB |
JavaScript | Node.js (Linux) | ~65 MB |
JavaScript | Node.js (macOS) | ~45 MB |
JavaScript | Node.js (Windows) | ~40 MB |
JavaScript | React Native Android (dynamic) | On-demand |
JavaScript | React Native Android (static) | Varies |
JavaScript | React Native iOS | Varies |
Kotlin | Android | 77 MB |
Rust | Native SDK (dynamic) | 63 MiB |
Rust | Native SDK (static) | 237 MiB |
Swift | iOS | 183 MB |
¹The .NET NuGet package size exceeds 250MB and has been optimized to fit within the limit.