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

help-circle


  • mat@linux.communitytoLinux@lemmy.mlOkay why is your distro the best?
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    1 day ago

    I (maybe) ended distrohopping last year when I gave NixOS a shot. I can’t recommend it for beginners but once you understand generally how things work on Linux (and have an interest in programming) it’s a superpower to be able to define your entire setup as a single git repository. If something ever breaks, I can reboot into an older commit and keep using my computer, or branch off in a different direction… I’ve only scratched the surface of NixOS and yet I can already make a live USB containing my setup with a single command, or deploy it (“infect”) to another machine and manage e.g my work desktop and my personal laptop sharing most settings. Also it taught me about Nix (the package manager, which also runs on any distro and macOS independent of NixOS) which I now use to set up perfect development environments for each of my projects… if I set up dependencies once (as a flake.nix shell), it’ll work forever and anywhere.











  • Ah, yes… if only. I’ve upgraded internally SLR 1.0 -> SLR 3.0 but we can’t deploy it until a bug is fixed in the Steam client that causes, when we enable SLR 3, all Steam Decks to run the Linux build. Yes, Steam Decks run the Proton version, solely because the save file has different letter casing (yes I know it’s so annoying haha). We’ve spent quite some time on this and there’s no way to fix this without some folks losing their saves, and that is absolutely not an option. Soooo for now desktop Linux is stuck on runtime 1.0, and Steam Deck users are stuck on Proton. “fun” :/


  • At my studio we maintain a native Linux version with a custom game engine, and it indeed takes a lot of time. I don’t consider Proton a viable option as we lost the ability to integrate with Linux-specific stuff such as Wayland APIs or better input, but I can definitely see the appeal of switching to Proton… if your team uses Windows. If you have some developers on Linux, you naturally get a Linux build (if using cross platform APIs ofc) and it’s actually faster to cross-compile a Windows build every once in a while (skip the slow ntfs I/O) and ship that. But it requires getting more of the team on Linux :)





  • I did a bachelor of videogame programming in Belgium 99% on Linux (minus exams), but it was definitely a huge struggle. All the courses and assignments were Windows-only, and 90%-ish required Visual Studio (non-Code) and Windows-only libraries like DirectX or Win32. I got by writing my own tooling to auto-convert these to CMake projects and convincing each teacher to allow me to hand in CMake projects. I wrote SDL backends for most of the win32 assignments, falling back on clang’s excellent cross-compiling for stuff that requires e.g Windows.h. I wrote a blog post about this: https://blog.allpurposem.at/adventures-cross-compiling-a-windows-game-engine And using e.g DirectX natively on Linux, easier than expected: https://blog.allpurposem.at/directx

    I also wrote a small wiki on my general experience + a summary of courses and main problems encountered… Windows was non-negotiable during exams: https://dae-linux.allpurposem.at/ I maintain tools, converted assignments, and information on this for future students who want to attempt something like me, but it’s hard to recommend the Linux challenge if you are totally new to programming!

    Hope some of this is helpful!