- 0 posts
- 34 comments
The fuck are you talking about, kiddo? Read the fucking docs!
Internally it will still read a whole word. Because the CPU cannot read less than a word. And if you read the ARM article you linked, it literally says so.
Thus any compiler worth their salt will align all byte variables to words for faster memory access. Unless you specifically disable such behaviour. So yeah, RTFM :)
Sorry, but you’re very confused here.
It’s not wasteful, it’s faster. You can’t read one byte, you can only read one word. Every decent compiler will turn booleans into words.
They do, that’s the optimisation.
Usually the most effective way is to read and write the same amount of bits as the architecture of the CPU, so for 64 bit CPUs it’s 64 bits at once.
And performance optimisation of a compiler for a 64 bit CPU will realign everything and each boolean will occupy 8 bytes instead.
There is a water shortage?
Mods are power tripping everywhere.
- 1 year
Because no one buys Linux PCs. Dell used to sell multiple lines of laptops with Linux, but pretty much no one was buying apart from a few freaks.
Yeah, it’s the same shit.
It’s not like Lemmy is different in any way, lol.
The problem is that too many believe it’s true.
I don’t understand where the author got the idea that git was production ready in 10 days… Let’s look at git history:
- Official development started on 03.04.2005.
- Git could self host on 07.04.2005.
- Git achieved Torvald’s performance goals on 29.04.2005.
- On 16.06.2005 git was used to release the Linux kernel for the first time. That can be considered the first beta release, which achieved its goals, but wasn’t production ready yet.
- Production ready v1.0 was released on 21.12.2005. That’s waaaaaaaay longer than 10 days.
No good software is released in 10 days.
Git wasn’t production ready in a week though.
Types in BASIC are amazing!
- 1 year
I’m a software dev in Europe for over 20 years, worked in different European countries, had loads of male, female, gay and lesbian colleagues. Zero transes.




People have been using AI tech for decades. It’s just marketing terms come and go.