• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: February 19th, 2024

help-circle















  • bort@sopuli.xyztolinuxmemes@lemmy.worldIndeed
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    snappy it feels versus the official rpi OS

    I blame the desktop manager. Once I ditched the default von on the pi, and replaced it with standard gnome, the pi became almost as snappy as my regular notebook.

    in general: standard debian should be exactly as light-weight as arch.


  • the linux-file-deletion is used as a example for good software design. It has a very simple interface with little room for error while doing exactly what the caller intended.

    In John Ousterhout’s “software design philosophy” a chapter is called “define errors out of existence”. In windows “delete” is defined as “the file is gone from the HDD”. So it must wait for all processes to release that file. In Linux “unlink” is defined as “the file can’t be accessed anymore”. So the file is gone from the filesystem immediately and existing file-handles from other processes will life on.

    The trade-off here is: “more errors for the caller of delete” vs “more errors due to filehandles to dead files”. And as it turns out, the former creates issues for both developers and for users, while the later creates virtually no errors in practice.