3 ms·
I agree that Rust takes the right approach. Muon follows it, the corresponding types are ssize and usize.
by nickmqb 8y ago
I agree that Rust takes the right approach. Muon follows it, the corresponding types are ssize and usize.
- andrewchambers 8y agoUmm, I don't think you understood his comment... The rust way would be i64, not literally 'ssize'.
- nickmqb 8y agoI'm not sure that I follow you, just to clarify: Muon.ssize == Rust.isize == Go.int ('usually', according to https://tour.golang.org/basics/11 https://tour.golang.org/basics/11) Muon.usize == Rust.usize == Go.uint Muon.long == Rust.i64 == Go.int64 This is a list of all core types in Muon: https://github.com/nickmqb/muon/blob/master/docs/muon_by_example.md#core-types https://github.com/nickmqb/muon/blob/master/docs/muon_by_exa...