Juno Jove on Nostr: đđđ TIL, in C#, that empty structs aren't ... empty? private struct ...
đđđ
TIL, in C#, that empty structs aren't ... empty?
private struct TypeEmpty;
... this has a size of 1 byte?
What is IN that byte?! How does the CPU feel about this?
What does William Henry Gates III. want to tell us by this?
Should we become 1 with nothing?
Published at
2024-06-23 06:48:47Event JSON
{
"id": "5b112315b7c4efeb134eed100e2ffa1e14131a8893e4d9891d865a5484987c2f",
"pubkey": "abcab156d5d448d24a6a2b4de3075616e9b57cb195d57d116b77e1068fe1c667",
"created_at": 1719125327,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/jupiter/statuses/112664597460312340",
"activitypub"
]
],
"content": "đđđ \nTIL, in C#, that empty structs aren't ... empty?\n\nprivate struct TypeEmpty;\n\n... this has a size of 1 byte?\n\nWhat is IN that byte?! How does the CPU feel about this? \n\nWhat does William Henry Gates III. want to tell us by this?\n\nShould we become 1 with nothing?\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/112/664/588/362/114/019/original/ed3bd2b0d03aae21.png",
"sig": "68217f302ba6fbd541301d322dd86ae84afe4105da54334253473a20ae5f79642730aebdb07835a98135f9a01af718aaff8e1fc144a7bb6518c96d151089f057"
}