• 1 Post
  • 12 Comments
Joined 8 months ago
cake
Cake day: November 20th, 2023

help-circle
  • SorryQuick@lemmy.catoProgrammer Humor@programming.devNew language
    link
    fedilink
    arrow-up
    4
    arrow-down
    4
    ·
    3 months ago

    Which is exaxtly what I said, that it’s fast enough for most use cases.

    In theory though, you will “gain performance” by rewriting it (well) in C for literally anything. Even if it’s disk/io, the actual time spent in your code will be lower, while the time spent in kernel mode will be just as long.

    For example, you are running a server which reads files and returns data based on said files. The act of reading the file won’t be much faster, but if written in C, your parsers and actual logic behind what to do with the file will be.

    But it’s as you said, this actual tiny performance gain isn’t worth it over development/resource cost most of the time.




  • That’s a crazy take though. Everyone knows that what you’re most familiar with is way more intuitive than something you’ve never touched in your life.

    There are more households that drive cars than ride a bike - is a car therefore a more intuitive to use transport tool than a bike?

    How intuitive something is only affects the initial experience. This is why driving a car usually takes a year to learn in most countries - it’s not very intuitive. If you know how to drive a car, however, you can learn to drive a bus much faster - it’s now intuitive because you already know how to drive a car, which is similar.

    So of course whichever DE replicates windows the best is going to be the most intuitive. Doesn’t mean that it’s better once you’ve gotten used to it though.