Hi everyone. I’ve been using C for mostly everything for the last 6 7 years. I’m no C expert but I believe I’m pretty good with it.

I’m trying to build an application and C does not have many choices. The best is raygui but it’s too barebones. I had to implement so much from scratch and it kinda ruins the point.

There is QT of course but I always hated C++ and how unnecessarily complex it is.

Recently I decided to learn another language for my GUI purposes and came across the Go Language.

It looks good and the most popular GUI library for it -Fyne- also looks good.

My question is, is this a good combo for building GUI’s coming from C? Do you guys have any recommendations?

Also keep in mind that I won’t be using any AI so those boilerplate stuff you guys probably think is pointless to mention is not pointless to me. I would appreciate it.

  • ducktumn@lemmy.zipOP
    link
    fedilink
    arrow-up
    2
    ·
    22 hours ago

    I’m building a desktop application and it’s a heavy one. Think of it as a simulation of some sort. I don’t think a web app is a good match for that.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      20 hours ago

      You may consider:
      https://www.gtk.org/
      or
      https://wiki.libsdl.org/SDL3/FrontPage

      GTK will be useful for normal windows, buttons and stuff.
      SDL3 is mainly for making games, so it will be a little harder to reduce continuous compute load when you are new to it. It can be doe though.

      Both have all the keyboard/mouse handling and all that stuff. I haven’t tried raygui, so don’t have much to compare.

      So unless you absolutely want to get out of using C, these are pretty good options.

    • GottaHaveFaith@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      21 hours ago

      The calculation run on the backend, which can be C or Go or whatever. The web part is used only for the GUI