When not tired and/or lazy, I write software that's used by at most 2 people. Mainly interested in programming language design, compilers and operating systems. #nobot
Public Key
npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Profile Code
nprofile1qqsp32uptmfpgfq3wzav42fvmc0tq373dj7sxzy54ypejhe3c6ms65spz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qz9thwden5te0wfjkccte9ejxjar5duh8qatzt5tc7v
Show more details
Published at
2026-07-17T10:12:53Z Event JSON
{
"id": "30d9278e695cc82eb1c8b03dc6cc2446ccc5337bdccdfacd37893a58b7d63bf8" ,
"pubkey": "18ab815ed214241170bacaa92cde1eb047d16cbd030894a903995f31c6b70d52" ,
"created_at": 1784283173 ,
"kind": 0 ,
"tags": [
[
"proxy",
"https://fosstodon.org/users/yyp",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "{\"name\":\"Alexey\",\"about\":\"When not tired and/or lazy, I write software that's used by at most 2 people. Mainly interested in programming language design, compilers and operating systems.\\n\\n#nobot\",\"picture\":\"https://cdn.fosstodon.org/accounts/avatars/000/313/861/original/a2bdc9633da6b973.png\",\"nip05\":\"[email protected] \",\"fields\":[]}" ,
"sig": "931cbd509fd23e65302a74508f427ea6222b4dc65da727e6a34a4e27f7d44c91e5cdcb85a73abf67d8e275a620e13bfaeecc48cd56a932939d5c6c57a6f0275b"
}
Last Notes npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey @nprofile…m3qg From my understanding, most RISC-V specifications (including SBI) don't expect any kind of input devices or special shortcuts. So any kind of SysRQ-magic is just using the default input driver from the kernel. This is what Linux does at least. It's possible that a device has an interrupt source for this use-case - check the device tree. Though I'm not very familiar with RV hardware, no idea if there exists a board with such a feature. npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey @npub1sg4…xslc Best thing I could figure out: Grep for `enable_[_a-zA-Z]+` in *.m4, configure, and Makefile.in files npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey @npub1ysu…2jyl I think Rust's stdlib only uses POSIX APIs and not general C things like stdio.h, so this doesn't really apply here. Hare also does the same thing on OpenBSD npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey @npub1ysu…2jyl Even without libc, the language itself has a lot of really nasty footguns especially relating to integer promotion and the infamous signed overflow npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey "C is safe if you just program well" and other fairy tales npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey For quite some time I've been thinking about making a "better Java" so a language that would target JVM and be fully compatible with existing Java code but "better". I envisioned null safety, more consistent pattern matching, maybe more expression-oriented syntax, inverted access flags (everything is private final by default) but now that I think about it, is it even useful? Everything other than null safety is just pointless fluff that's "good to have" but that doesn't warrant a new language npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey what if hardware himitsu npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey what happened to my scrollbar https://cdn.fosstodon.org/media_attachments/files/110/921/236/153/336/596/original/d7db1c24dc537593.png npub1rz4czhkjzsjpzu96e25jehs7kprazm9aqvyff2grn90nr34hp4fqcpegf9 Alexey After looking a bit more into Android development, I think I should never touch it again for a few more years