• vala@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Honestly “C + SDL + Lua” is basically the best, most sane"full stack" I have ever used.

    IMO it allows for the perfect level of abstraction.

    • ArmchairAce1944@discuss.online
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      React is a Javascript based web development programming language developed by Facebook to make pages run faster and better. I learned it as part of a MERN stack full web development course.

      • grue@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        to make pages run faster and better.

        Huh, well that’s a funny way of saying “break the model of web page as document and fuck up the entire web!”

        • CookieOfFortune@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Yeah because documents are limiting and we want to do stuff that executables can do but with a better distribution model.

            • CookieOfFortune@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              2 months ago

              Maybe. But performance, availability, and security killed a number of viable options. Flash was always more ubiquitous than Java on the web but it eventually died too.

              • grue@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                edit-2
                2 months ago

                Flash was also cancer that ruined web pages.

                The reason Java Web Start wasn’t, was specifically because once you clicked on the link, it downloaded the app and started it as a real desktop application, with its own window and taskbar entry and whatnot. It didn’t rely on being embedded in HTML (I’m spefically not talking about Java applets, BTW – they sucked too) or manipulating the DOM for its UI; it could use Swing and have the same look and feel as a native application.

        • RageAgainstTheRich@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Oh stop it. Are you saying you don’t enjoy pressing the “Back” button in your browser, but staying on the same page. Therefore breaking the page so you refresh and lose whatever the fuck you were doing? /s

          • boonhet@sopuli.xyz
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            Yea let’s go back to index.php and the 5 second load time for every clicked button

      • leftytighty@slrpnk.net
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        On the other hand React Native is a JavaScript based development language developed by Facebook to make applications run slower and worse.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      That looks like buttons in the thumbnail, on the left of the visualisation.
      I’d say that’s enough to call it UI.

    • zr0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      UI. User Interface. The bridge between a system and a user. So anything, literally any information transfer from the user to the system OR from the system to the user, is a User Interface.

      • deegeese@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        A definition so broad as to be useless.

        Is it a UI when someone calls memcpy to move data from a file to a screen buffer?

        • xthexder@l.sw0.com
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 months ago

          I’m going to go with no, since that step is not transferring data to a human, it’s transferring it internally within the computer.
          UI can refer to either the medium, such as a visual display, speaker system, or keyboard, and it can also refer to a specific layout of information (like the Qwerty layout, or a webpage layout). I wouldn’t consider the USB protocol UI just because it can transmit HID Events, only the keyboard or mouse as a whole is UI.
          You could almost call HID events UI, but I’d still argue they’re more of a computer-device interface than a human-device interface

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          2 months ago

          why would you take the least charitable interpretation? there is no need to be hostile.

          and the answer, of course, is that it can be, as long as the information copied is meaningful for displaying to the user.
          you’re basically asking the equivalent of whether putting things into an array is an algorithm, which of course has the answer “it can be, depending on how you put it in”. so basically, the operation you’re highlighting is not the point.

        • ByteJunk@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          This isn’t hard, you’re just trying to make it to be.

          Memcpy from a file to a screen buffer is as much a UI as pouring water in a pot is a soup.

        • zr0@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          2 months ago

          I did not make this definition. However, this does not give you the freedom to make up your own definition and treat it as a fact. Don’t spread wrong information.

    • Cethin@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Would you agree that the dashboard of a car is UI? If so, isn’t that just data visualization?

  • Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    They’re used to be a UI library on the Amiga called MUI.

    It used a bunch of C macros to let you define the window and all the controls. Was honestly pretty good considering it was like 30 years ago.

  • yetAnotherUser@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    The person on the video, known online as Tsoding (or by some as “mista azozin”), was writing a music visualizer program using the raylib library for writing videogames. raylib doesn’t have code aimed at UI handling, meaning he had to manage the UI by himself. He likes doing a little bit of trolling, so that’s why he picked that title.

    Tsoding does by far the most entertaining recreational programming sessions I have ever seen on the Internet, so, despite them being quite long (about two hours), I recommend you watch at least a little bit of his videos/streams if you have time.

    If you’re interested specifically on this video in question:

  • mohab@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    What’s this dude talking about?! Everyone knows no one hates React like people who code in React 😂 No one is gonna get pissed off watching this.

    • criss_cross@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I remember years ago when React was the savior of web apps Swooping in engineers from the clutches of JQuery and AngularJS (not to be confused with Angular 2+). Components we’re gonna make things simpler than the mess of JS files and global state.

      And generally that’s true but we’ve traded that off for a mess of hooks and 700 line nested functions in nested functions and obtuse rules that only apply to react and not JS.

      Complex web apps are hard.

      • Lemminary@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        I don’t, but it can be really annoying when I accidentally fall for a common trap that I supposedly know for to avoid after all these years! Gah.

      • ClassifiedPancake@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        I think it’s great and I’ve been working with it for 6 years. Many issues were resolved over time. We didn’t even have hooks back when I started! Those were dark times. And the new compiler helps with memoization.

  • ChickenLadyLovesLife@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I moved from Visual Basic (3 no less!) to C because I needed to optimize the performance of a software synthesis (like, sound synthesis) application I was developing at the time (mid-1990s). It boggles my mind to this day how much fucking work you had to do just to create a simple window in C. It instantly made clear why UIs at the time were so bad and I went back to Visual Basic for the UI with a compiled C DLL to do the heavy lifting.

    There’s no excuse for why UIs are still so bad today.

    • lordbritishbusiness@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      The “excuse” is more or less the 20 or so replacements that have been made and died. I think Microsoft alone is responsible for 5 over the life of Windows.

      We’ve more or less kinda settled on HTML only because it’s already wide spread. But it’s not perfect so more standards for the standards pile. Don’t worry, react will end up buried by the next thing on the pile eventually.

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        We’ve more or less kinda settled on HTML

        It’s funny, one of the modern UI glitches that I hate the most is when a long bit of text is just truncated with ellipses instead of the whole thing being shown and you have to hold the mouse over to get it in a tooltip, or shudder actually click on the thing. HTML is great at word-wrapping and allowing the whole UI to “flow” with variable heights and widths as necessary - and yet that is never allowed to happen in apps.

      • hraegsvelmir@ani.social
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        More specifically, an Indian divider for large numbers, kind of like how 万 (read ‘man’) works in Japanese. While Japanese (and I think Chinese) divide numbers greater than 1,000 in increments of 1万, or 10,000, up until you hit 100,000,000, in India, large numbers get split into lakh, representing groups of 100,000.

        • dzsimbo@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          It’s so neat how different cultures adapted to numbers. Like French have something like 4 times 20 (and?) 2 to mean 82. In Hungarian if you say billió, that is one trillion rather one billion. We riff on the ending of million to express billion: milliárd.

        • sag@ani.social
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Oh, Is it my turn to tell the Indian Numbering System?

          Here how we divide

          100 > Sau Hundred 1000 > Hajar Thousand 1,00,000 > 1 Lakh Hundred Thousand 1,00,00,000 > *1 crore * Ten Million 10⁹ > 1 Arab 100 Crores or 1 Billion 10¹¹ > *1 Kharab * Hundred Billion 10¹³ > 1 Nil Hundred Trillion 10¹⁵ > 1 Padma Quadrillion 10¹⁷ > 1 Sankh Hundred Quadrillion

  • underscores@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I’m an elitist asshole and I hate that people say “react dev” when really it’s “web dev that uses react”

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Is this distinction really all that useful?

      I suppose you could write a react app that doesn’t use “the web”? But you still might just say they are a react developer.

        • jaybone@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          Yeah I guess I’m old. Seems like everything is called “web dev” these days.

          I was answering a question somewhere related to something like C/C++ and Operating System level stuff. Someone replied asking where I learned “web dev.” I would consider that general programming, or possibly systems programming, but certainly not “web dev.”