I think using the C int type isn't best practice these days. Use int32_t, or int64_t, or intptr_t, or an easier-to-type typedef of those. Otherwise 
-
-
-
There is a nice world in which int is sufficient for indexing any array that can exist. This is the only low-level definition of int that makes sense. This size_t garbage litters code with all kinds of shady conversions and other accidents-waiting-to-happen.
- 9 more replies
New conversation -
-
-
The "no macro hackery” part is a bit rich coming from the guy who supervises the work on the nebulous macro-generating UHT/UBT.
To their credit, they do the job in the end. -
UHT has always been an abomination to be eventually solved by the C++ static reflection proposal, similar to the problem Qt faces for metadata generation. All things considered, it’s not as bad as .NET’s hellacious Managed C++ solution to the same problem.
End of conversation
New conversation -
-
-
What stops us writing to this API now, adding to a translation layer as needed and continually bugging microsoft to implement it "natively"? (Well, the 64 bit int not so simple, but the API could be done)?
-
Sure it’s doable without platform buy-in. Just
#define int __int64! - 1 more reply
New conversation -
-
-
Yes please, and no more COM APIs. Just plain C DLL APIs (an optional C++ layer can be implemented as header-only or static link libs on top).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's been over a decade since 64-bit Windows happened. It's probably never going to happen now. Microsoft seems to have gone the road of ".net all the things" and the UWP API is not exactly a complete replacement yet...
-
UWP is already dead, MS just needs its usual time to acknowledge this. Doesn't mean that what comes after UWP is any better of course, but at least it's hard to do much worse.
- 1 more reply
New conversation -
-
-
I believe 64 bit integers would be overkill in most cases in practice and require extra memory to fetch. Everything else would be lovely though
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.