@djb UB on the float deref in the isnan 🤷
Notices by Andy Wingo (wingo@mastodon.social)
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 11-Feb-2026 01:44:34 JST
Andy Wingo
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 11-Feb-2026 01:44:33 JST
Andy Wingo
@djb fwiw i agree @barubary; to me is same as:
int u = 0x7f987654;
return isnan(*(float*)&u);
which accesses object u via incompatible type. c11 §6.5 paragraph 7.i have never been able to understand if using unions to pun is well-defined; i always fall back to memcpy :/
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 11-Feb-2026 01:44:32 JST
Andy Wingo
@djb @barubary oh that is funny https://godbolt.org/z/jYc5vjene
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 06-Feb-2026 21:52:01 JST
Andy Wingo
concept: a paper that has one section, “related work”
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Monday, 02-Feb-2026 17:57:28 JST
Andy Wingo
good morning
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 09-Jan-2026 20:33:31 JST
Andy Wingo
@whitequark not sure tbh! i suspect google / deep sleep but i really don't know
In conversation from gnusocial.jp permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 09-Jan-2026 19:30:49 JST
Andy Wingo
just received my first ai-generated security-sensitive bug. it was great: report was spot on and well-described, included a POC also
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 19-Dec-2025 19:14:23 JST
Andy Wingo
happy chase-lev patent expiry day to all those who celebrate!!!!!!!!! please enjoy a straightforward implementation in C https://github.com/wingo/whippet/blob/main/src/shared-worklist.h
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 19-Dec-2025 04:09:43 JST
Andy Wingo
new bloggery, in which our protagonist dreams of laurels https://wingolog.org/archives/2025/12/17/in-which-our-protagonist-dreams-of-laurels
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 19-Dec-2025 02:45:51 JST
Andy Wingo
@whitequark maybe it is fine, something about the documentation smells like cubicle tho
In conversation from gnusocial.jp permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Friday, 19-Dec-2025 02:43:22 JST
Andy Wingo
linux is a mess, but at least our rickety edifice is not built on this garbage https://learn.microsoft.com/en-us/windows/win32/api/winternl/nf-winternl-ntcreatefile
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 17-Dec-2025 23:33:25 JST
Andy Wingo
@mwk it does not make one want to write rust :/
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 17-Dec-2025 17:31:55 JST
Andy Wingo
@whitequark @dpk i am more interested in gc, i just used your toolchain as a test (as it was in the w2c2 repository)
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 03-Dec-2025 04:43:07 JST
Andy Wingo
just saw someone argue that llvm cannot be used as backend for a wasm compiler that processes untrusted input, because "a maliciously crafted C, Rust or bitcode input file can cause arbitrary code to execute in LLVM" (https://llvm.org/docs/Security.html#what-is-considered-a-security-issue)
what do we think, chat
In conversation from mastodon.social permalink Attachments
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 03-Dec-2025 04:43:06 JST
Andy Wingo
@andrewrk but this is wild, there’s nothing different about a compiler here than, like, notepad reading untrusted txt files; seems like quite the capitulation
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Tuesday, 02-Dec-2025 22:44:47 JST
Andy Wingo
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Tuesday, 02-Dec-2025 22:39:17 JST
Andy Wingo
i never thought i would have nasal demons in my code, sobbed the compiler developer who voted for the introduction of nasal demons into people's code
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Saturday, 15-Nov-2025 06:06:16 JST
Andy Wingo
@whitequark lol not like i really knew it, it’s like i learn what lean is but don’t actually code in it; it is funny which passing acquaintances of yore the universe chooses to resurface
In conversation from gnusocial.jp permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Saturday, 15-Nov-2025 06:02:52 JST
Andy Wingo
for pl people of a certain age, we all dallied with rust 10 years ago, but now that we have to work in it, it’s awkward but we make it work
In conversation from mastodon.social permalink -
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Thursday, 13-Nov-2025 04:18:55 JST
Andy Wingo
mastodon should fix the bug where typos are invisible in the editing box but obvious on the timeline
In conversation from mastodon.social permalink