When will they ever learn?

  • ZILtoid1991@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    I do have a few other pet peewees too for Linux, despite having that on my ThinkPad.

    • GDB is pretty uncomfortable to use.
    • The only usable GDB GUI is a glorified webpage by none other, than Micro$lop.
    • Some low-level API (sound, input, etc.) are absolutely dogshit compared to their Windows counterparts (still haven’t found anything on how to specify to ALSA if I want to open a device other that default, and how exactly, just found a massive issue with Evdev, etc.).
    • Want something better than those? jUsT USe sDl, except SDL is kind of dogshit under Windows (DirectInput/XInput + DirectAudio instead of newer APIs), could not get its audio system working at all as people were instead suggesting me to use MP3 player DLLs instead of writing my own audio solutions, etc.
    • forestbeasts@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Bit specific, but for opening an audio device other than default, you should use the API of a sound server. Pulseaudio’s for instance. The new hotness is Pipewire, and it has its own API, but it also supports the Pulseaudio API and AFAWK most clients (apps and things) are still using that.

      The sound server sits on top of ALSA and handles all the routing and mixing and shit. ALSA is lower level than what you need as an app/user program dev.

      (Pipewire also supports the JACK API. Music apps and such used to use JACK because it was lower latency than Pulseaudio. Which meant you had to stop Pulse and start JACK and lose all sound from your other apps and it was a right pain. Pipewire just does both.)

      – Frost

    • Aatube@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

      VS Code is far from the best GDB GUI; in fact I would confidently say that everything about running and debugging in VS Code has been the biggest pain I have ever experienced. even with its recent decade of inattention from the community, Eclipse CDT is miles better than this thing. i’d wager that even Qt Creator is better than it

      Anyways, JetBrains recently made CLion free for non-commercial, so that’s what you should use. it is obviously better than VS Code