• 3 Posts
  • 119 Comments
Joined 1 年前
cake
Cake day: 2025年3月13日

help-circle



  • Terminal and console are two different things. Console is what you get if your computer boots up in text mode. Terminal is what you start inside graphical environment (X or Wayland). Which one are you having issues with? What does echo $TERM output? If it’s the former, how are you watching videos exactly? O_o If it’s the latter, setfont won’t do anything; you need to look at configuration of your terminal emulator or try a different one.



  • mina86@lemmy.wtftoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 个月前

    With gl/Vulcan and some other libraries that’s pretty challenging to do if your goal is to become more portable not less portable.

    I still don’t see how this is different from Windows. Games on Windows ship with DirectX. Ship whatever graphics libraries you need if you’re worried about ABI breaking.

    Shipping also sort of different libraries with your proprietary game could also be a licensing issue.

    No, it’s not. Any library you’re dynamically linking to that’s present in a Linux distribution, you can distribute yourself.


  • Linux ABI compatibility is a fuck.

    I’m never convinced by this argument. If game developers have problems with ABI they can do what they’re already doing on Windows: ship their game with all the dependencies. Casual gamer’s Windows system might have more versions of Microsoft Visual C++ Redistributable than they have games installed. This had been my experience.


    • My rule of thumb is at least 2GB of RAM per compilation jobs. Even if you have more cores, the jobs may start swapping or crashing slowing down the build in the end. This may of course depends on the size of the project.
    • Disable LTO during development. Is it only when you’re ready to release your binary.
    • If your editor doesn’t keep up, disable fancy IDE features such as Rust analyser. Run checks periodically the same way you run test.












  • Also there is strictyaml that validates against schemas. Don’t touch the builtin yaml module.

    Thanks. I’ll include that in an update.

    protobuf needs to be compiled. This introduces possibility of coder error. Just forgetting to compile and commit protobuf files after a change. This affected the electrum btc and ltc (light) wallets.

    Yes, that’s certainly a downside. It also demonstrates one should not commit such generated files. A better approach is to commit the source files (in this instance message definition) and have a compilation step included in the program’s build/install recipe.

    strictyaml