greetings, i want to build a daw (digital audio workstation), but i have no idea where to even start. here are my needs and the options i’ve found:

my needs:

  • load and keep things (audio, midi) in memory
  • cross-platform compatibility is not a requirement

the options i’ve found:

  • flutter
  • gtk/qt
  • raylib (with zig)
  • webassembly (with zig)

flutter: the first option that came to my mind was flutter. i thought it would give me a quick start in laying down the ui, but i don’t think it has the capability to fulfill my needs (please correct me if i’m wrong)

gtk/qt: no opinion

raylib (with zig): it’s cool (my choice as of now)

webassembly (with zig): it would be an ultimate comfort to build this way ig, but is it possible to make that web app into desktop one (like tauri or something)?

id really appreciate your opinions and advice

ps: i hope i’m clear. i got a headache searching about these. i’ll update this post for more clarity later

      • delirious_owl@discuss.online
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        The most important speed to optimize is developer speed. Python is by that measure one of the fastest languages.

        CPU speed is negligible

        • vulpivia@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          In this case we’re talking about a soft real-time application where milliseconds matter. If you use Python for this, your developer speed will suffer because you’re using most of your time to fight garbage collection pauses, among other things.

          • delirious_owl@discuss.online
            link
            fedilink
            arrow-up
            0
            ·
            6 months ago

            Kivy is a platform frequently used for video games. It has good hardware acceleration. It would work fine for this purpose.

            Again, the CPU time differences are negligible. They’re less than milliseconds.