• 2 Posts
  • 161 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • For me the reason was that I wanted encryption, raid1 and compression with a mainlined filesystem to my workstation. Btrfs doesn’t have encryption, so you need to do it with luks to an mdadm raid, and build btrfs on top of that. Luks on mdadm raid is known to be slow, and in general not a great idea.

    ZFS has raid levels, encryption and compression, but doesn’t have fsck. So you better have an UPS for your workstation for electric outages. If you do not unmount a ZFS volume cleanly, there’s a risk of data loss. ZFS also has a weird license, so you will never get it with mainline Linux kernel. And if you install the module separately, you’re not able to update to the latest kernel before ZFS supports it.

    Bcachefs has all of this. And it’s supposed to be faster than ZFS and btrfs. In a few years it can really be the golden Linux filesystem recommended for everybody. I sure hope Kent gets some more help and stops picking fights with Linus before that.


  • One of the best filesystem codebases out there. Really a top notch file system if you don’t need to resize it once it’s created. It is a write through, not copy on write, so some features such as snapshots are not possible using XFS. If you don’t care about features found in btrfs, zfs or bcachefs, and you don’t need to resize the partition after creating it, XFS is a solid and very fast choice.

    Ext4 codebase is known to be very complex and some people say even scary. It just works because everybody’s using it and bugs have been fixed years ago.



  • Yep, windows kernel has a ton of Rust code already, even some of its syscalls are made in Rust. Linux kernel is getting a new GPU driver for NVIDIA written in Rust, and GPU driver for removed M-series also written in Rust. removed is hiring Rust devs, so is Amazon, Meta, Google…

    In the startup space it’s been quite good with Rust for some time. I’ve been writing production code with it for almost a decade. It is not a fad anymore.

    A productive, safe, fast and fun language to write with excellent tooling, and we are just getting started.


  • And developers who get familiar and easy tools such as cargo, rust-analyzer and all the popular libraries working in any Cosmic project in about five minutes. And the compiler will tell you if you managed to make memory errors or data races in a very clear way. Always the same way.

    You learn Rust and its tools once, and you can just jump into any of these projects and be productive.

    And yes, scripting language is needed for Cosmic at some point. There are a ton of them, from RHAI to different lisps to python to javascript. Plug and play, and the interop is easy and fast.



  • Yep, but QT’s object model and its being written in C++ makes it super cumbersome to use in Rust. GTK is better here due to it being written in C, but the direction it’s taking in GTK4 is not really great, and having a safe Rust UI toolkit is a huge win for the community.

    Cosmic being fully Rust means I can just take one project from them, and immediately start working on it with cargo and all the familiar tools. It’s not as easy with C or C++ projects in Gnome and KDE.

    I think it’s great we have some competition in this space, everybody wins.







  • Working system until you need to upgrade something. I feel like the BSD systems are really what you want if a system like Slackware is what interests you. They have a tightly integrated core system with the kernel, and a ports tree to compile software from source with automatic dependency compilation. A lot of ports can be found as pre-compiled binaries.

    All this with simple old school unix tools such as tar, cvs and make. All config is text files, everything meticulously documented in man pages. Very easy to upgrade.






  • Exactly this. Having an interest and a hobby to an open source system will make you better in your job and a much more interesting candidate to hire.

    Source: started with linux in 1995 as a kid. Never having issues finding great jobs.

    Edit: I did not mean being a devops here, but finding an interest in open source software and learning a highly lucrative programming language while going. You can get pretty far with Rust or Go in the modern startups, C or Java in enterprises. Being very good with Linux drives this interest.