• someguy3@lemmy.world
    link
    fedilink
    arrow-up
    26
    arrow-down
    1
    ·
    edit-2
    4 days ago

    I welcome other’s input but I thought this was a pretty clear cut case of Mac becoming popular. Why write a program for Windows and Mac when you can just make a website. Then Chromebooks in education sealed the deal.

    Linux is only starting mainstream use now because of Europe’s push for digital sovereignty and windows 10 end of life.

  • olenkoVD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    89
    ·
    edit-2
    4 days ago

    I hate the Windows API so much. There are like 100 million function that all start with a capital letter and take a kajillion arguments just to do the most simple thing imaginable (see CreateThread). And there are twenty different typedefs for the same type (PSTR, LPSTR, tchar* all point to char*). Also all variables and function arguments should start with their types, like hWindow if the window is a HANDLE.

    I hate this joke of a programming interface so much, I hope everyone sticks to programming with POSIX and platform-agnostic libraries.

    EDIT: And also, did I mention that if you want to use it, you get all of it or none of it? It’s literally a single header file named Windows.h. You get just that and take it or leave it.

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      4 days ago

      Well, at least it’s React Native, seemingly. Also from what I’ve heard it’s only one section like rendering results from the web or some shit like that.

        • dogs0n@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          3 days ago

          Punchable is a bit far, probably wanna tone it down a bit, big guy.

          Just kidding, but it’s only funny and also is it this guys fault?

          I don’t even know if it’s true, but in any case, the guy who tasked a react (native) developer on the start menu is responsible (not the developer).

          Example: If I managed a product and hired a python developer and told them to do x, they would likely use python, right? (In this scenario, It is I the manager wjo failed everyone, not the developer).

          Also the other commenter is correct. It’s like the common saying “use the right tool for the job”. The saying doesn’t make sense, because the right tool is always the one you know how to use…

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            3 days ago

            Punchable is a bit far

            Didn’t mean that literally 😁 I just thought it was funny to describe a written response as punchable. But the response was annoying.

            It might not be the developer’s fault, but him practically defending the choice by completely dodging the performance aspect is irresponsible to me. It’s like he’s ashamed to discuss it. Or doesn’t have the knowledge to?

            A good developer should speak up and say that they might not have the skill set required for the task. That’s my opinion. Either that or learn the ropes but flag for extra time needed.

            the right tool is always the one you know how to use…

            100% disagree. There are more suitable tools for certain jobs.

            Hello I am looking for a job as a surgeon. Okay what tools do you know? Jackhammer. That’s the only one you know? Yup. Mmkay then that’s the right tool for surgery in your case, can you start Monday?

            🫠

            Imagine someone using Java to write a program that just runs several other commands in sequence. That should really be a script, and the developer should learn a sufficiently suitable shell scripting language.

            But yeah, ultimately I agree, it’s not his “fault”. Especially if he flagged this to be something a bit out of the ordinary, and his manager(?) insisted. Then it’s 100% not the guy’s fault, for sure ong.

        • InFerNo@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          3 days ago

          In the era of tech evangelists? People pick 1 technology branch and make it their entire personality

          • masinko@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            3 days ago

            That’s still a stupid reason. I’m a .NET & MSSQL developer primarily, I’m not gonna shove C# in every project I write if it doesn’t makes sense.

        • AeonFelis@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          3 days ago

          Probably, but only because at this point I’m fairly certain reality itself must be a parody of something.

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 days ago

    I wonder why so many people bundle Electron when you can make your app run in any browser. Like, you can totally write a program that just launches the browser and makes it load a site from lokal storage

    • ilinamorato@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      4 days ago

      Electron (and Tauri, and Neutralino) also offers some deeper OS integration stuff that browsers don’t do or actively block; direct file management, USB peripheral control, that sort of thing.

      But for something like Discord, you’re totally right. You just need the browser.

      • UnfortunateShort@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        You can do USB control over browser, at least enough for Keychron to do their keyboard configuration stuff as a web app. It’s pretty cool actually, no need to install anything, even works on Linux

  • Zen_Shinobi@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    4 days ago

    I feel the opposite. I expect things NOT to work on linux.

    Just wait until they figure out Mac has been an OS just as long as MSDOS

    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      4 days ago

      And that macos often breaks things because of new access/‘security’ policies hehe.

      Also, to counter all of this : c++ & qt or .net and avalonia (because maui doesnt support linux… )

    • thisbenzingring@lemmy.today
      link
      fedilink
      arrow-up
      5
      ·
      4 days ago

      The MacOS of 7.x< is nothing like the MacOS of the modern era (based on BSD). It is a drastic change and old software wasn’t even compatible with the new one.

      • Zen_Shinobi@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        Tbf I haven’t used a MacOS in like 10 years. I thought about picking up a used Mac mini just to relearn MacOS again (or maybe just VM it)

        I recently got a iphone work phone and it is so backwards compared to android. I don’t understand apple anymore

  • FE80@lemmy.world
    link
    fedilink
    English
    arrow-up
    54
    arrow-down
    1
    ·
    4 days ago

    What kind of shit for brains asshole is still defending Windows in 2025?

    • krooklochurm@lemmy.ca
      link
      fedilink
      arrow-up
      21
      arrow-down
      2
      ·
      3 days ago

      And what kind of slavering mouth-breathing teoglodyte doesn’t understand that Hannah Montana Linux negates all of these issues, will suck your dixk without hesitation, and lets you read news from four days from now.

  • LouNeko@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    20
    ·
    4 days ago

    To be fair. Linux starts of super light, but if used as a general OS it becomes the epitome of bloat.

    Linux is like buying a car and just getting only the parking space.
    If you want to use your car, first you have to install the door and interior package. Then you get inside and have to install the seat package. But the seat has adjustment levers and uses the gear shifter library because it has levers already defined.
    Great now you also have a gear shifter too. But it turns out your transmission doesn’t work on the new version of the library so you have to also install an older package in parallel, so now you have 2 gear shifters, no biggie.
    Next up is the steering wheel, it uses the wheels package as a dependency (because both are round and can turn) so now you also have all the wheels. But those are summer tires, you need winter tires. You get the winter tire package but it needs an older version of the rim package. Unlucky for you, the download for the older rim package is unavailable, but you’re in luck. Some guy included that version of rims in his completed but unrelated car project. So you clone his car and rebuild the rim package yourself. You now have a whole extra car, but it’s not yours.

    By the time you got your one car ready to go, you have installed the parts for 7427 different cars, 27 complete vehicles and read 593 pages of documentation.

    • Seefoo@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      4 days ago

      I think i get what you’re saying…but its a pretty bad analogy. The way i am reading this is, most linux distros are a mish mash of various packages, window managers and apps. Many of which dont work well together, but that really hasnt been the case for the last 10-15 years. Basically when ubuntu and fedora stabilized.

    • Raccoonn@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      You couldn’t be more wrong here, my Arch install has been my daily driver for years, and it’s sitting at a grand total of 846 packages. No reinstall. No avalanche of dependencies. No mythical fleet of 7,000 half-assembled cars in the garage. You don’t need to bolt on a crap-ton of packages just to get a working system…

    • DoPeopleLookHere@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      4 days ago

      I’ve been using Linux for 10 years and haven’t had this trouble.

      I currently use endeavour, but there’s plenty of out of the box distro.

    • thisbenzingring@lemmy.today
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      4 days ago

      this is just dumb and you should feel bad for spending so much time writing it

      I have had arch installed on this laptop for 10+ years

      today I look at the state of drive space

      the OS is at a little less then 37GB of which 18.5GB are cached installs from pacman

      cleaning the cache is as simple as paccache

      10 years this install has been on this laptop and I use it daily.

      Where is the bloat?

      • ChunkMcHorkle@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        this is just dumb and you should feel bad for spending so much time writing it

        I don’t think he did, though he may have touched it up. It’s old. I remember seeing it in the 90s with a number of “if [OS] were an airplane” schticks along the same line. Unix was the one where passengers all brought parts and tools and assembled it on the runway.

  • arc99@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    3 days ago

    Every operating system contributed to the bloat. Windows has Win32, OS X has Carbon / Cocoa, Linux has X11 and various widget libs that sit on top of it. So it has been a perennial nut to crack to make cross platform widgets - wxWidgets, QT, SWT/JWT/Swing on Java, XMLShell (Firefox), Electron, GTK/GTK#, winelib etc.

    Throw mobile platforms into the mix and it’s an unholy mess. Lowest common denominator is HTML and so the likes of Electron “wins” even though it’s bloated and slow.