• 6 Posts
  • 41 Comments
Joined 2 years ago
cake
Cake day: August 29th, 2023

help-circle










  • git worktree is just so much easier to work with if you want to work on multiple versions or branches of some code.

    It allows having multiple IDE instances open, all fully functional and indexed, and handing over commits from one worktree to another without having to fetch constantly in between.

    Trying to emulate this with multiple clones feels like trying to do OOP in C – sure one can do it, but it’s pointless hassle compared to a fleshed-out solution that works right out of the box.

    Not to mention it’s so much faster and more efficient than git clone.







  • soc@programming.devtoLinux@programming.devWhy the Linux Kernel Should Stick With C
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    3
    ·
    edit-2
    11 days ago

    Absolutely delusional.

    code that is readable, auditable, and easy to port

    Yeah C is the language that comes to everybody’s mind reading that. /s

    C’s simplicity …

    Is that simplicity currently in the room with us?

    … and widespread adoption make it the best choice for this philosophy.

    Ah, the asbestos argument.


    If people want to run the latest kernels on hardware that isn’t maintained anymore, they need to toughen up and send patches …

    … or they stick to an old kernel for their unmaintained hardware.

    Both is fine to me, but that entitled Boomer attitude of “nobody should have nice things, because that would challenge status quo” needs to die.




  • “apparently it’s a better safer C++, but I’m not going to switch because I can technically do all that stuff in C++”

    The main difference between C++ and D was that (for most of the time in the past) D required a garbage collector.

    So, D was a language with similar Algol-style syntax targeting a completely different niche from C++.

    Trying to correct your quote, it should read something like “I’m not going to switch because I can’t technically do all that stuff in D that I’m doing in C++” for it to make any sense.