Fuzion Basic Types
| Basic Types | |||
|---|---|---|---|
| Fuzion | Java | C/C++ | Rust |
| i8 | byte | std::int8_t | i8 |
| i16 | short | std::int16_t | i16 |
| i32 | int | int / std::int32_t | i32 |
| i64 | long | long / std::int64_t | i64 |
| u8 | - | std::uint8_t | u8 |
| u16 | char | std::uint16_t | u16 |
| u32 | - | unsigned int / std::uint32_t | u32 |
| u64 | - | unsigned long / std::uint64_t | u64 |
| f32 | float | float | f32 |
| f64 | double | double | f64 |
Note that bool is a choice type and thus not included in this table.