3 ms·
Before I read this, what is there about C3 [0] you don't like? [0] https://c3-lang.org https://c3-lang.org
by ronsor 1mo ago
Before I read this, what is there about C3 [0] you don't like?
[0] https://c3-lang.org https://c3-lang.org
- jjtheblunt 1mo agoC3 is an embarrassing mess regarding integer types and sizes, missing C99's stdint.h defs, for example.
- strenholme 1mo agoTo clarify: C3 has fixed sized ints. Maybe the parent poster doesn’t like their names, but they are fixed sized, as follows: Name Size Signed bool 1 no ichar 8 yes char 8 no short 16 yes ushort 16 no int 32 yes uint 32 no long 64 yes ulong 64 no int128 128 yes uint128 128 no Source: https://c3-lang.org/language-overview/types/#integer-types https://c3-lang.org/language-overview/types/#integer-types
- jjtheblunt 1mo agoi reckon it's easy enough to alias the stdint.h types and define them in terms of the size definitions above. i'd forgotten that the C3 pointer types are the ones whose bit size varies by platform. mea culpa.