callyral [he/they]

favorite bands · Lemon Demon; Tally Hall.

favorite artists · cavetown; Neil Cicierega; Bo Burnham; Jack Stauber; Will Wood; Toby Fox.

𝙸’𝚖 𝚑𝚊𝚕𝚏 𝚑𝚞𝚖𝚊𝚗 𝚊𝚗𝚍 𝚑𝚊𝚕𝚏 𝚖𝚊𝚌𝚑𝚒𝚗𝚎

mastodon · @callyral@furry.engineer

  • 1 Post
  • 3 Comments
Joined 1 year ago
cake
Cake day: September 14th, 2023

help-circle

  • it just follows my qt theme, haven’t had any issues with vlc on swayfx

    here is my config (qt.nix, using home-manager):

    { pkgs, ...}: {
      qt = {
        enable = true;
        platformTheme.name = "qt5ct"; # compatibility with qt5, while still working with qt6
        style.name = "kvantum";
      };
    
      xdg.configFile = {
        "Kvantum/Catppuccin-Mocha-Peach".source = "${(pkgs.catppuccin-kvantum.override {accent = "Peach"; variant = "Mocha";})}/share/Kvantum/Catppuccin-Mocha-Peach";
        "Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Catppuccin-Mocha-Peach";
      };
    
      home.packages = with pkgs; [
        libsForQt5.qt5ct
        kdePackages.qt6ct
      ];
    }
    


  • (notice: I am not a Rust or C/C++ expert)

    Doing all that is creating a completely separate programming language from C. Rust is that programming language.

    Fix shitty imports

    Rust does that with modules and crates.

    Improve syntax rule

    You mean having consistent/universal style guidelines? Rust pretty much has that with rustfmt.

    Improve memory management

    Safe Rust is memory safe (using things like the borrow checker), and Unsafe Rust is (usually?) separated using the unsafe keyword.

    Although Unsafe Rust seems to be quite a mess, idk haven’t tried it

    Other new misc features

    Rust has macros, iterators, lambdas, etc. C doesn’t have those. C++ probably has those but in a really weird C++ way.