caoimhe
banner
caoimhe.dev
caoimhe
@caoimhe.dev
hi, i'm caoimhe! (she/her), i do a lot of things, maybe they'll be interesting enough to put here someday

💻 github.com/caoimhebyrne
🎵 last.fm/user/caoimhereal

🏳️‍🌈 🇮🇪
good post 10/10 no comments
May 1, 2025 at 9:59 PM
yes pls!
April 24, 2025 at 10:11 PM
i yearn for the bot to talk to me
April 24, 2025 at 7:55 PM
why is the bot using emotes
April 24, 2025 at 5:36 PM
you might be right LOL
March 22, 2025 at 8:53 PM
why did this take two weeks to get triaged?
March 22, 2025 at 8:37 PM
holy fucking shit
January 20, 2025 at 10:42 PM
the code is nicer, and should allow for references to references pretty easily (although, i haven't tested that yet).

next up... actually working optionals?

(2/2)
January 18, 2025 at 9:53 PM
i would if it had the same features (run configurations not using gradle, etc.)
January 18, 2025 at 9:24 AM
my brain is exploding
January 10, 2025 at 6:00 PM
exciting :))
January 6, 2025 at 6:29 PM
it's allocated to the stack, it's released when the function returns :)
December 31, 2024 at 6:11 PM
yep, looks like a bug!

the `null` value is considered to be `0` for integer literals (see `%force-unwrap = icmp eq i64 %optional1, 0`).

i'll have to reimplement the code-generation in a better way, thanks for pointing this out 🫶
December 31, 2024 at 5:58 PM
> how do you differentiate between a zero and the null value

i think you might've just found a bug! let me reboot into linux and test that ^^

i usually implement these features in a basic way, so they usually don't account for a lot of things that mainstream languages do :p
December 31, 2024 at 5:52 PM
all of this could probably be optimized, but this is fine for now! if i decide to change how values work, then i'll revisit how optionals work :)
December 31, 2024 at 5:36 PM