Hacker Newsnew | past | comments | ask | show | jobs | submit | yohbho's commentslogin

2018, discussed on HN in 2023: https://news.ycombinator.com/item?id=36333034

  Myths Programmers Believe about CPU Caches (2018) (rajivprab.com)
 176 points by whack on June 14, 2023 | hide | past | favorite | 138 comments


CachyOS uses this one percent of performance gains? Since it uses every performance gain, unsurprising. But now I wonder how my laptop from 2012 did run CachyOS, they seem to switch based on hardware, not during image download and boot.


correct, it just sets the repository in the pacman.conf to either cachyos, -v3, or -v4 during install time based on hardware probe


  fk lese(&selbst, schlsl: Zeichenkette) -> Ergebnis<Möglichkeit<&Zeichenkette>, Zeichenkette> {
            wenn lass Etwas(wöbu) = gefährlich { WÖRTERBUCH.als_ref() } {
                Gut(wöbu.hole(&schlsl))
            } anderenfalls {
                Fehler("Holt das Wörterbuch".hinein())
            }
        }
isn't the idea behind programming "languages", that they are sentences readable to both humans and the compiler?

This absolutely is not readable to me. But woerterbuch and schluessel should of course not be abbreviated, for legibility.


If German was seriously used in programming languages, I'd hope for some better and shorter terms. Some here might be intentionally too literal translations anyway. "Let" is from mathematics, it's called "Sei" in German. "Sei x = 5". "Anderenfalls" could be "sonst". "Zeichenkette" is just too long and would require some thinking or a historical accident to find a shorter term.

Ready surprisingly nice to me anyway.


I would use "sei" instead of "lass" for "let" to be more in line with notation in mathematical proofs.


due to broken audio?


Not broken, that's Charlie Brown Teacher.

I guess they didn't get a release from the question asker and so they edited it out?

The problem here though is that the presenter didn't repeat the question for the audience which is a rookie mistake.


Free (as in freedom) software can still be sold.

OSS would probably also just mean "read the source e.g. on github", not really specific as to all the four essential freedoms.


For smaller bases, does this converge to base - 1 ?

Base 3: 21/12 = 7/5(dec.)

Base 2: 1/1 = 1

Base 1: |/| = 1 (thinking |||| = 4 etc.)


Good guide, thanks!

präferiert (dt.) is often pronounced praefferiert in my head, too, but it is always written with only one f, in german and in english.


The nice thing about laws in the EU is: if Google locks it down, like iOS, we just enforce that it needs to be more open again.

But for iOS, that did not work well so far, as I have zero apps installed via AltStore PAL (iOS), yet some apps via F-Droid (Android).


LLMs read

> users[2]{id,name,role}: 1,Alice,admin 2,Bob,user

differently than me, i guess. I would read that as "at index value of two, i.e. the third element of an array, the values 1aliceadmin and 2bobuser are stored, or not, since we want to destructure these values and a pair value of a tuple of three is given. and would be confused and think wtf is that, dear user, did you omit or misformat values?


Nice reminder, that every eel in austria came from the caribic by looking at a path in this map.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: