Compilers at Igalia. @llvmweekly author. Mostly RISC-V, LLVM, and a little WebAssembly. Previously lowRISC CTO and co-founder. Blogs at https://muxup.com

This profile is from a federated server and may be incomplete. View on remote instance

@asb@fosstodon.org avatar asb , to random

2% of Golang 2025 survey respondents are deploying their Go software to RISC-V. Take that, s390x! https://go.dev/blog/survey2025#operating-systems-and-architectures

ALT
@asb@fosstodon.org avatar asb , to random

The Mojo folks are discussing Int vs UInt for indexing https://forum.modular.com/t/indexer-and-int-vs-uint/2210

asb OP ,
@asb@fosstodon.org avatar

And there's been a lot more back and forth since then. Seems like Int is winning the argument so far.

asb OP ,
@asb@fosstodon.org avatar

@pervognsen there is quite a lot of discussion about overflow/underflow, but Discourse breaks ctrl-f in the browser (normally it hijacks it, but not in my FF right now, and it seems native browser ctrl-f doesn't work reliably even when you've scrolled down and loaded the whole thread...sigh). You can search the thread by clicking the search symbol in the top right and selecting to search "in this topic".

asb OP ,
@asb@fosstodon.org avatar

@pervognsen this aspect of Discourse is so infuriating. That and its general sluggishness (comparing loading threads vs clicking through e.g. https://forum.dlang.org/group/dip.ideas )

@pervognsen@mastodon.social avatar pervognsen , to random

I went to buy the Heretic + Hexen remaster from Nightdive after reading the DF review: https://www.youtube.com/watch?v=HI_88-nU9bM. And then it wouldn't let me buy it because I already had it in my library. I guess if you owned the original games on Steam you got the remaster for free? Sweet.

asb ,
@asb@fosstodon.org avatar

@pervognsen the GOG policy is "If you own Heretic: Shadow of the Serpent Riders, Hexen: Beyond Heretic and/or Hexen: Deathkings of the Dark Citadel, you'll receive Heretic + Hexen for free." I was also pleasantly surprised

@pervognsen@mastodon.social avatar pervognsen , to random

I'm getting annoyed enough by a thread on Lobsters that I might finally ask someone for an invite.

asb ,
@asb@fosstodon.org avatar

@pervognsen very happy to invite you if it's helpful!

@asb@fosstodon.org avatar asb , to random

Mojo attracts some criticism on /r/programminglanguages (mostly not targeted at design decisions of the language itself) and a wild clattner appears to defend/clarify https://old.reddit.com/r/ProgrammingLanguages/comments/1lfz9jc/is_mojo_language_not_general_purpose/myua6nq/

asb OP ,
@asb@fosstodon.org avatar

@pervognsen I'm more confused than before about the Mojo/Python story. I thought https://github.com/modular/modular/commit/cb307d0f57bb07b37528e8f6e2c859a1e07db941 was a sensible step back from a goal that wasn't really realistic (at least, not without compromising other stated goals). But the comment in that thread, and now I go searching for it https://forum.modular.com/t/on-the-compatibility-familiarity-ergonomics-dynamism-and-api-design-for-the-python-mojo-relationship/1234/8 suggests it's still a long-term goal even if they're going to go their own direction for the stdlib.

@asb@fosstodon.org avatar asb , to random

Anyone doing anything interesting for using the UK keyboard layout on a US keyboard? By default, I have to adjust to hash/tilde being a row higher and backslash and pipe being entered via slightly awkward altgr mappings. Remapping so backslash is altgr+z and pipe altgr+shift+z would at least mean a similarly located key is used.

I'm resisting using and getting used to the US layout as it's jarring when switching to an external keyboard.

asb OP ,
@asb@fosstodon.org avatar

@xoofx but you see I've already drastically limited my choice with keyboards by being tied to my slightly beaten up and no longer available for purchase MS Ergonomic 4000 (with a mostly unused one in the cupboard that I'll switch to one day)!

@wingo@mastodon.social avatar wingo , to random
asb ,
@asb@fosstodon.org avatar
@pervognsen@mastodon.social avatar pervognsen , to random

Found this gem on the cpp subreddit, in the thread on Stroustrup's call to action:

auto [min, max] = std::minmax (1, 2); // oops, dangling references

asb ,
@asb@fosstodon.org avatar

@pervognsen @jedbrown also "match ergonomics". I'm not a Rust programmer, but have been following along since the earlier days. I came back and was initially rather confused by changes in that area. https://old.reddit.com/r/ProgrammingLanguages/comments/1id87ao/match_ergonomics/

@asb@fosstodon.org avatar asb , to random

Mojo seems to have stepped back from the goal to be a superset of Python and it now aims to:

  1. adopt the syntax of Python
  2. be the best way to extend Python

https://github.com/modularml/mojo/issues/3808

ALT
asb OP ,
@asb@fosstodon.org avatar

@pervognsen I've never really been sure about the Python superset and Python <-> Mojo part of the story.

I'm curious what type system features you would have hoped to see?

@pervognsen@mastodon.social avatar pervognsen , to random

Does anyone know the exact specification on x86 and ARMv8 with respect to partial visibility of page-crossing stores if only one of the two page accesses has insufficient permissions?

asb ,
@asb@fosstodon.org avatar

@pervognsen there's some relevant discussion https://github.com/bytecodealliance/wasmtime/issues/7237 and https://github.com/WebAssembly/design/issues/1490 including perf results of experiments working around this by inserting dummy loads

@pervognsen@mastodon.social avatar pervognsen , to random

Every time I see awful AI generated art in slides or articles now, I think back to how bad clip art was overused in the 90s. It gives off the same tasteless, lazy vibes and I expect it will feel instantly dated for similar reasons.

asb ,
@asb@fosstodon.org avatar

@pervognsen I wonder if 10 years down the road we'll start digging out sufficiently old generative AI models to reproduce that retro feel, kind of like https://www.makewordart.com/

@asb@fosstodon.org avatar asb , to random

The slides from the tutorial I gave earlier this year at the RISC-V Summit Europe: Supporting custom RISC-V extensions in LLVM are now online

https://riscv-europe.org/summit/2024/media/Tutorial%20supporting%20custom%20RISC-V%20extensions%20in%20LLVM.pdf

ALT
@dpiponi@mathstodon.xyz avatar dpiponi , to random

Scrolling up and down on Apple TV trying to find the doesn't-star-Nicholas-Cage section.

asb ,
@asb@fosstodon.org avatar

@pervognsen @neilhenning @dpiponi it's a fun watch, I'd definitely recommend

@asb@fosstodon.org avatar asb , to random

Stick the following in your ~/.gitconfig to make git branch sort by most recently committed (thanks to @wingo for this one!)
<code>
[branch]
sort = -committerdate
</code>

@wingo@mastodon.social avatar wingo , to random

travel dialectic: so nice to eat different kinds of food on the road / so nice to have normal digestion at home

asb ,
@asb@fosstodon.org avatar

@pervognsen @wingo "gas station hotdogs of the world" is a food travel book I'd read

@pervognsen@mastodon.social avatar pervognsen , to random

Days like today I look at my food log and realize being a fruitarian wouldn't be half bad.

asb ,
@asb@fosstodon.org avatar

@pervognsen very impressive, congratulations! Do you get headaches with kind of calorie deficit? That's been a challenge for me

@asb@fosstodon.org avatar asb , to random

Outside of fzf shortcuts for navigating, these are the vim keybindings I rely on most, and which make it rather tricky to use an unconfigured vim.

You didn't ask, you don't care, but I'm posting anyway (hooray for microblogging!).

ALT
@pervognsen@mastodon.social avatar pervognsen , to random

After a few weeks, aside from the install process Arch has been the smoothest experience I've had with a Linux distribution. It's been a lot easier to find specific solutions when I've had problems, which was always an issue in the past. The wiki is great and the AUR repackages most of the third-party stuff you'd ever need.

asb ,
@asb@fosstodon.org avatar

@wolfpld @pervognsen I didn't see that on your current blog - is it somewhere else or unpublished? I was going to post my notes/runbook for the setup of Arch I use for my remote build system with RAID and encrypted root (unlocked on boot via ssh). I'd be curious to compare.

@asb@fosstodon.org avatar asb , to random

This is delightful (and horrifying?) - the original Starcraft had a buffer overflow in its map parsing code, that was used by community map makers to patch the game and make custom maps that wouldn't have been possible otherwise. Starcraft: Remastered added an emulator to allow as many of these maps as possible to work. https://0xeb.net/wp-content/uploads/2018/02/StarCraft_EUD_Emulator.pdf https://www.youtube.com/watch?v=DmA3GBJzABE