As a Windows C++ dev, I’d love to see a win64 API declared which updates to sizeof(int)=sizeof(void*), unsigned char, utf8 only (using new codepage), straight API declarations in one header per Windows DLL with no macro hackery.
-
-
An interesting way to do this would be to add "unsigned" arithmetic instructions that work modulo 2^31 or 2^63 instead of 2^32 or 2^64. Then, your unsigned types can be defined as strict subsets of the signed types. And while you're at it, add trap-on-overflow instructions...
-
Except there's a ton of data in this world that is already using the full 32/64 bits, so these 31/63 bit types would run into trouble quickly. The #1 use of unsigned types is to be precise about bits. WASM gets it right: signedness should be part of the operation, not the type.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
