• Codex
    link
    fedilink
    24
    edit-2
    9 months ago

    I guess assembler is sumerien then, only still written and understood? And cobol or fortran? Linear a and b?

    • Aatube
      link
      fedilink
      169 months ago

      FORTRAN: Proto-Indo-European COBOL: Proto-Sino-Tibetic

      Assembly: neuron signals

  • Snot Flickerman
    link
    fedilink
    English
    6
    edit-2
    9 months ago

    Literally all of these languages are rooted in English.

    C: printf()

    C++: cout

    JavaScript: document.write() or window.print()

    Java: system.out.println()

    Python: print()

    Rust: print()

    Exactly zero of those reference a language other than English. I’m not even a linguist and this is just silly. It’s literally part of why English is becoming the dominant world language, because if you learn computer programming you basically have to learn English.

      • Snot Flickerman
        link
        fedilink
        English
        49 months ago

        I mean, that’s fair. I get it, I just don’t really find it very funny.

        • @[email protected]
          link
          fedilink
          89 months ago

          From your comment, I’m not convinced you do get it. You wrote a lot of words completely beside the point of the joke, which is a series of analogies, not a statement about the natural languages involved in the creation of programming languages.

          • Snot Flickerman
            link
            fedilink
            English
            19 months ago

            Yet somehow the top comment is basically saying what I’m saying. Interesting.

            • @[email protected]
              link
              fedilink
              99 months ago

              It’s not the same to continue with the joke and to completely miss the point and complain about it.

              The first is funny, the second is sad. I believe I had to clarify that for you

            • @[email protected]
              link
              fedilink
              39 months ago

              This comment? https://fedia.io/m/[email protected]/t/1239473/-/comment/7462582

              I honestly do not understand what similarity you see between “this post seems like it will make linguists angry” and “the languages in this joke actually use English keywords and standard library names.” The post isn’t even about keywords and names.

  • @[email protected]
    link
    fedilink
    English
    249 months ago

    Perl is… forgotten entirely, despite its efforts in getting us from there to here.

    Yup, checks out.

    PHP also, but good riddance:-D.

    Shell scripting is the ink that makes up these words - without them, you would never have seen this image.

    • @[email protected]
      link
      fedilink
      English
      219 months ago

      I think Perl is closer to Esperanto - the vast majority of people will never want to learn it and the people that know it won’t stfu about how everyone should use it! And they could all use a shower!

      (I kid… Mostly)

      • @[email protected]
        cake
        link
        fedilink
        29 months ago

        Plus it has markers for variable types just like Esperanto has suffixes for parts of speech. Wall was a linguist, after all.

      • @[email protected]
        link
        fedilink
        English
        1
        edit-2
        9 months ago

        You… you shut up! Excuse me, I have to go take a shower:-) (/s, edit: to be clear on both sentences here)

        Anyway you’re right (no /s) - at one point it filled in a gap between the likes of C++ and Assembly on the one hand and shell scripting (bash, awk, grep, sed, each with its own syntax and very little of that shared in common with one another) and I guess Fortran on the other. I still prefer it enormously to everything else - it’s quirky but fun:-) - though I get why a less experienced person should choose Python and stick with it, even as we all wish that there was another alternative that would work better than either.

        And since I can’t resist: Perl is 8-20x faster than Python, and major websites like DuckDuckGo and booking.com use it. Sigh…I guess it’s time for that shower now:-).

  • Maple Engineer
    link
    fedilink
    59 months ago

    I write several flavours of BASIC fluently, Fortran and Pascal passably, three forms of assembler well enough to get by, and I’ve worked in COBOL.

    • MrScottyTay
      link
      fedilink
      English
      69 months ago

      I miss writing in clojure. I never have a reason to write in a functional language at work

  • @[email protected]
    link
    fedilink
    8
    edit-2
    9 months ago

    This is great.

    If I could make one change, there’s so many funnier languages that could have been Esperanto. I would have taken a shameless jab at F#, myself.

  • @[email protected]
    link
    fedilink
    27 months ago

    basic is like toki pona then i guess, like python but even easeier

    no wait, that ones gray snail (minimalist vocabulary: it has only 4 commands)

  • Mad_Punda
    link
    fedilink
    1059 months ago

    I suspect there’s more people who speak Python fluently than Esperanto. So that comparison sits very wrong with me. The rest was funny :)

    • @[email protected]
      cake
      link
      fedilink
      269 months ago

      Esperanto always struck me as more perl-like with each part of speech having its own suffix like perl has $ for scalars, @ for arrays, and % for hashes. Though perl is probably more like a bunch of pidgins…

      • Rose
        link
        fedilink
        159 months ago

        Yeah, I was about to say.

        Perl 5 is like Esperanto: borrowed neat features from many languages, somehow kinda vaguely making a bit of sense. Enjoyed some popularity back in the day but is kind of niche nowadays.

        PHP is like Volapük: same deal, but without the linguistic competence and failing miserably at being consistent.

        Raku (Perl 6) is like Esperanto reformation efforts: Noble and interesting scholarly pursuits, with dozens of fans around the multiverse.

    • @[email protected]
      link
      fedilink
      159 months ago

      Esperanto’s equivalent would probably be Haskell.

      Python is probably more like Spanish. Very easy basics, but then people from different regions of where it’s has spread out barely understand each other

      • Mad_Punda
        link
        fedilink
        19 months ago

        No, but the adoption rate is likely related to how useful the language is?

    • @[email protected]
      link
      fedilink
      Deutsch
      19 months ago

      Kia domaĝo. La unua programlingvo kiun mi lernis estis Python. Ĝi multe helpis min kompreni programadon kaj lerni aliajn programlingvojn. Simile estas kun Esperanto. Ĝi helpis min lerni la francan kaj faciligis la lernadon de alia gramatikaĵo.

      Ho, kaj mi ankoraŭ povas paroli Esperanton.

    • @[email protected]
      link
      fedilink
      English
      29 months ago

      Mi pensas ke, vi volis tajpi, “Python (aŭ Pitono) malfeliĉigas min.”

      • Mal : Opposite
      • Feliĉ- : Happy
      • Ig : Makes (Transitive verb)
      • As : Present tense.

      “Mi malfeliĉas.” : I’m sad.

      “Pitono malfeliĉigas ĉiujn.” (Python makes everyone sad.)

  • @[email protected]
    link
    fedilink
    50
    edit-2
    9 months ago

    PHP is Russian. Used to be huge, caused lots of problems, now slowly dwindling away. Its supporters keep saying how it’s still better than the competition.

    • Rikudou_Sage
      link
      fedilink
      17 months ago

      True, but only because it actually is. Except weirdos who saw php code 20 years ago say it sucks.

  • @[email protected]
    link
    fedilink
    57
    edit-2
    9 months ago

    Why is everyone down on Rust? Seriously. I don’t know it but I’ve considered learning it and it appeals to me and people literally scoff when I mention it. Saw it referred to as a meme language on Lemmy, which is built in Rust. What am I missing?

    • @[email protected]
      link
      fedilink
      179 months ago

      For me “The Critical Flaw” of rust is its compiler. And requirent of 12 GB of disk space to compile just the frontend of compiler. Even GCC will all frontends(C, C++, Ada, Fortran, Modula-2, JIT) requires less space.

      But joke is probably about “rewrite in rust” culture.

      • @[email protected]
        link
        fedilink
        39 months ago

        that’s because Rust is more modern and in modern days we don’t rly have hard disk limitation, also it’s probably because the compiler tells you the solution to most problems

        • @[email protected]
          link
          fedilink
          English
          29 months ago

          and in modern days we don’t rly have hard disk limitation

          well if you are a corporation, that’s true. Otherwise, not much

          • @[email protected]
            link
            fedilink
            19 months ago

            I mean c’mon, every pc that can compile rust in a reasonable time has at least 20gb of storage

            • @[email protected]
              link
              fedilink
              English
              19 months ago

              yeah but I don’t want to use up 20 GB just for a single project. It’s not like my hard drive is 80% free. more like 10% free, even though it’s large, because I’m using it and I’m already selective on what I’m doing on it

    • @[email protected]
      link
      fedilink
      2
      edit-2
      9 months ago

      It’s like a good C++ that is actually able to replace it. There are lots of places where a good C++ is useful. Like everything that needs low latency and low resource usage.

      But it’s not an easy language, so (I’m guessing) people who see everyone loving it but are unable to learn it start to suffer some sort of cognitive dissonance. If it’s too difficult for me to learn, that must be its fault, not mine.

    • @[email protected]
      link
      fedilink
      339 months ago

      I think rust has good ideas and may even become the default systems language in the mid-term. I find it irritating that there is a very vocal subset of rust proponents that tend to insist that every project in every language needs to be rewritten in rust immediately. I suspect that is also why other people are down on rust.

    • DessalinesOP
      link
      fedilink
      159 months ago

      I don’t think many ppl are down on rust… it’s won developer’s most favorite to use for like 5+ years now in a row on stackoverflow.

    • @[email protected]
      link
      fedilink
      29 months ago

      Cause it’s a C++ replacement when said audience never asked for one. It’s great but it’s still waaaayy too early, people need to slowly get comfortable with it.

    • @[email protected]
      link
      fedilink
      English
      18
      edit-2
      9 months ago

      Imo it’s bc it’s the new kid on the block. Yes it’s 10 years old but barely becoming common use in production and government mandates are only speeding that up. In actuality it’s a great language and has been hyped for a few years by people who actually use it. Python went through the same thing in the 2010s where devs really tried clowning on it, now it’s used everywhere.

    • @[email protected]
      link
      fedilink
      139 months ago

      i think it’s mainly people being cranky and set in their ways. they got used to working around all the footguns/bad design decisions of the C/C++ specifications and really don’t want to feel like it was all for nothing. they’re comfortable with C/C++, and rust is new and uncomfortable. i think for some people, being a C/C++ developer is also a big part of their identity, and it might be uncomfortable to let that go.

      i also think there’s a historical precedent for this kind of thing: when a new way of doing things emerges, many of the people who grew up doing it the old way get upset about it and refuse to accept that the new way might be an improvement.

      • @[email protected]
        link
        fedilink
        59 months ago

        Is Rust as close to the metal as C? Seems like there would still be a need for C. I could see Rust replacing Java as something that’s so ceremonial and verbose, but from my limited perspective as a sometimes java dev, having only the most glancing experience with C, it seems like C would be hard to replace because of what it is. Buy I honestly don’t know much about Rust either, I just think JS is so finicky and unpredictable whereas web assembly seems extremely fast and stable.

        • @[email protected]
          link
          fedilink
          7
          edit-2
          9 months ago

          Rust can create native binaries but I wouldn’t call it close to the metal like C. It’s certainly possible to bootstrap from assembly to Rust but, unlike C, every operation doesn’t have a direct analog to an assembly operation. For example Rust needs to be able to dynamically allocate memory for all of its syntax to be intact.

          • Ephera
            link
            fedilink
            79 months ago

            For example Rust needs to be able to dynamically allocate memory for all of its syntax to be intact.

            Hmm, you got an example of what you mean?

            Rust can be used without allocations, as is for example commonly done with embedded.
            That does mean, you can’t use dynamically sized types, like String, Vec and PathBuf, but I wouldn’t consider those part of the syntax, they’re rather in the std lib…

            • @[email protected]
              link
              fedilink
              29 months ago

              So you’re right that this is a bit arbitrary because the line between the standard lib and the language is blurry, but someone writing Rust is going to expect Vec to work, it doesn’t even require an extra “use” to get it.

              Perhaps a better core example would be operator overloading (or really any place using traits). When looking at “a + b” in Rust you have to be aware that, depending on the types involved, that could mean anything.

              Anyway, I love Rust, it just doesn’t have the 1:1 relationship with the assembly output that C basically still has.

        • Thinker
          link
          fedilink
          29 months ago

          I mean, the simple proof is that Rust has been growing by leaps and bounds in the embedded world, which is the closest to bare metal you get. It’s also being used in the Linux kernel and Windows, and there are several projects building new kernels in pure Rust. So yeah, it’s safe to say that it’s as close to the metal as C.

          Also, the comparison to Java is understandable if you’ve only been exposed to Rust by the memes, but it doesn’t hold up in practice. Rust has a lot more syntax than C (although that’s not saying much), but it’s one of the most expressive languages on the market today.

        • @[email protected]
          link
          fedilink
          2
          edit-2
          9 months ago

          It’s slightly less close to the metal as C. Array bounds checks are always going to cost you something, for example. However, if you look at the speed of numeric computation in C, Rust, and Go, they’re all in the same order of magnitude performance compared to things like Python or JavaScript (not including things like PyPi, which is C with extra steps).

          • @[email protected]
            link
            fedilink
            29 months ago

            Wow thanks so much for breaking that down for me! The discussions I’ve been having here and the information devs are sharing is really kicking me off the fence about learning Rust

            • @[email protected]
              link
              fedilink
              2
              edit-2
              9 months ago

              Eh, I’d still go for it. I find the Rust compiler tends to amplify my impostor syndrome–it tells you all the ways you are objectively being stupid. I know that’s not really selling it, but it’s doing that stuff for a reason. I’m especially hopeful that it becomes the standard way to do things with microcontrollers; that’s about the only place I write C/C++ at all.

    • @[email protected]
      link
      fedilink
      239 months ago

      I think ppl just got pissed with the fanboys unironically asking to RIIR everything. The language itself is comfy AF, tho