uis on Nostr: Sometimes you need undefined behaviour so badly, that you add entire ...
Sometimes you need undefined behaviour so badly, that you add entire [function](
https://en.cppreference.com/w/cpp/utility/unreachable) dedicated to it. In standard.
But __builtin_unreachable() was in GNU C long before that and MSVC had __assume(x), so nothing new here.
Published at
2024-04-07 21:35:46Event JSON
{
"id": "5481de3cda9921c5bf73cdaa8911698dd4466716bf372a4de99c1541ee91e827",
"pubkey": "7da1a70cc0a5e7d1a74c40b309d16aa44c1b8ef9a2166081e8c088aab4d5a23a",
"created_at": 1712525746,
"kind": 1,
"tags": [
[
"proxy",
"https://pone.social/users/uis/statuses/112232087292174269",
"activitypub"
]
],
"content": "Sometimes you need undefined behaviour so badly, that you add entire [function](https://en.cppreference.com/w/cpp/utility/unreachable) dedicated to it. In standard.\n\nBut __builtin_unreachable() was in GNU C long before that and MSVC had __assume(x), so nothing new here.",
"sig": "53637041d85f7c2835e29fa397db64a38883a7e704a992680a6bbe79be7c6378c7cdb3256c8eb24f4b1e8ed5b48b92a35f8984bae001586c912ffeb31192d655"
}