Why is Go used everywhere bros? Literally 10 times more job offers than Rust on LinkedIn

Home Forums Science & tech Why is Go used everywhere bros? Literally 10 times more job offers than Rust on LinkedIn

Viewing 23 reply threads
  • Author
    Posts
    • #102119
      Anonymous
      Guest

      Why is Go used everywhere bros? Literally 10 times more job offers than Rust on LinkedIn, and quickly approaching C# to become the 6th biggest language

    • #102120
      Anonymous
      Guest

      I don’t understand the freaking world, how the fuck does a language which doesn’t even have an average function for lists get so popular kek

      • #102122
        Anonymous
        Guest

        Generics are almost ready anon, you will have your pajeet avg function

      • #102124
        Anonymous
        Guest

        what is a function for lists? can you give an example for a dummy? i use python, what would be the equivalent?

        • #102125
          Anonymous
          Guest

          He means a function that takes an array and does something with it, in this case, returns the average sum of all elements. Something like:
          def average(array):
          return sum(array) / len(array)

          Go can’t implement this now in std, because it lacks generics so they would need to write one for every single type. Like AverageF32, AverageF64 etc.

          • #102126
            Anonymous
            Guest
          • #102127
            Anonymous
            Guest

            >they would need to write one for every single type
            No, you would only need to write 1 for every type you use to store numbers (likely 1)

            • #102128
              Anonymous
              Guest

              More like 1 for each combination of number and foldable data structure

          • #102130
            Anonymous
            Guest

            woke af person that actually spends some time to help complete strangers on the internet understand something, have a good day
            (im not him)

          • #102131
            Anonymous
            Guest

            Interestingly:
            >> Why does Go not have generic types?
            >> A language proposal implementing a form of generic types has been accepted for inclusion in the language. If all goes well it will be available in the Go 1.18 release.

            >> Go was intended as a language for writing server programs that would be easy to maintain over time. (See this article for more background.) The design concentrated on things like scalability, readability, and concurrency. Polymorphic programming did not seem essential to the language’s goals at the time, and so was left out for simplicity.

            >> The language is more mature now, and there is scope to consider some form of generic programming. However, there remain some caveats.

            >> Generics are convenient but they come at a cost in complexity in the type system and run-time. We haven’t yet found a design that gives value proportionate to the complexity, although we continue to think about it. Meanwhile, Go’s built-in maps and slices, plus the ability to use the empty interface to construct containers (with explicit unboxing) mean in many cases it is possible to write code that does what generics would enable, if less smoothly.

            >> The topic remains open. For a look at several previous unsuccessful attempts to design a good generics solution for Go, see this proposal.

            So they’re coming out, but they decided not to have a shitty implementation at first. I can respect that.

            • #102132
              Anonymous
              Guest

              > We don’t want to implement generics because we are too scrotebrained…. No UHM I mean muh polymorphic programming Le bad!!

              • #102169
                Anonymous
                Guest

                >I can… le not read!

              • #102244
                Anonymous
                Guest

                You should go back to writing enterprise software with Java

                • #102246
                  Anonymous
                  Guest

                  >writing enterprise software with Java
                  Replace that with scala because I’m not a pajeet and yes, I will. And I make 6 figures from it kek

            • #102133
              Anonymous
              Guest

              > We don’t want to implement generics because we are too scrotebrained…. No UHM I mean muh polymorphic programming Le bad!!

              the only way that go can provide decent generics is by copying rust (which copied haskell), so implement real type traits and operator overloading, add traits (interfaces in go) like Number which provide Add, Mul, Eq etc. Otherwise, the whole idea will fail because they are mostly useless. The other approach would be templates like in sepples which lead to extremely weird compile error messages. So, introducing generics only for primitives sounds dumb.

              • #102135
                Anonymous
                Guest

                a language with a type system like rust’s, but without lifetime autism and with a good garbage collector would be pretty popular for general purpose systems that don’t demand absolute performance

                • #102136
                  Anonymous
                  Guest

                  To my knowledge the best candidate is unfortunately Swift

                • #102137
                  Anonymous
                  Guest

                  There’s been so much talk about this exact need that I’m certain some nerd has tried to prototype this language already.

                • #102138
                  Anonymous
                  Guest

                  Haskell fits the bill. Unfortunately, scrotebrains can’t into recursion, so it probably won’t become mainstream

                  • #102140
                    Anonymous
                    Guest

                    Haskell has bigger problems preventing it from going mainstream, such as it being a language for researchers to invent obscure notation by inventing operators, and having a dogshit package ecosystem (Cabal, Stack).

                    What you’re all asking for is JVM/.NET with typeclasses baked in from the start.

                    • #102144
                      Anonymous
                      Guest

                      >What you’re all asking for is JVM/.NET with typeclasses baked in from the start.
                      He doesn’t know about the most kino language
                      Oh no no no

                      • #102145
                        Anonymous
                        Guest

                        The problem with JVM is the rest of JVM, because it can’t be ignored.

                      • #102146
                        Anonymous
                        Guest

                        >because it can’t be ignored.
                        But it can anon

                      • #102237
                        Anonymous
                        Guest

                        >compile to native binaries
                        Does it still rely on java’s GC?
                        That’s probably my biggest issues with a lot of langs.

                      • #102240
                        Anonymous
                        Guest

                        no, it has its own memory management system that recently has been improved

                      • #102247
                        Anonymous
                        Guest

                        Interesting, I might have to see how it performs, this might actually be a decent solution to Java’s performance issues given it’s not exceptionally difficulty to build a few different binaries for different OSs.

                      • #102147
                        Anonymous
                        Guest

                        >because it can’t be ignored.
                        But it can anon

                        I don’t really see anything about how typeclasses are baked into the essence of the language.
                        And this kotlin native thing is really just a cross platform shim, not really what I meant
                        It does seem like Kotlin has it’s own stdlib and it’s own ecosystem, which works, but seems to be heavily influenced by Java, which is foreboding

                        What I personally really want is the ability to effortlessly FFI between different flavors of languages from a C-like language to a Haskell-like language.
                        This is currently impossible because the C ABI reigns supreme, and it has no knowledge whatsoever of type safety.
                        Microsoft was a visionary in this sense by creating the C#/F# ecosystem in .NET, but they did not think to add typeclasses into the CLR, which makes their ML implementations limited.
                        There is also no "very low level language" in their ecosystem.

                      • #102234
                        Anonymous
                        Guest

                        >There is also no "very low level language" in their ecosystem.
                        C and C++ aren’t sufficiently low level for you? they both compile to the CLR if you hand the compiler the /CLR flag.

                      • #102235
                        Anonymous
                        Guest

                        Do you lose out on performance, efficiency, bare metal capabilities, zero-cost interfacing with ordinarily-compiled C code that way?

                      • #102245
                        Anonymous
                        Guest

                        no

                      • #102226
                        Anonymous
                        Guest
                  • #102142
                    Anonymous
                    Guest

                    Is side effect autism really better than lifetime autism?

                    • #102233
                      Anonymous
                      Guest

                      no, they’re both chud autism.

                • #102171
                  Anonymous
                  Guest

                  No thanks. If its unclear if a type can be used as a function argument or not, then it’s bad design.
                  go already has this type class nonsense, sort of.

                  • #102177
                    Anonymous
                    Guest

                    Ideally the syntax and the author’s naming sense can make it abundantly clear what applies to the function.
                    But in general, I agree that it is often done wrong; e.g. sepples 20 is an abortion.

                    The dependent types seen in theorem prover languages like LEAN and Idris can be quite readable when the author is attempting to do something actually useful instead of masturbating with notation and symbols.

                    • #102179
                      Anonymous
                      Guest

                      listen, people don’t want to prove theorems and they don’t want to wank over categories: they want to write programs

                      • #102180
                        Anonymous
                        Guest

                        you didn’t read
                        listen
                        typeclasses are readable
                        you just have to put in some effort

                      • #102181
                        Anonymous
                        Guest

                        what’s the point?

                      • #102184
                        Anonymous
                        Guest

                        Basically, the difference is whether you believe that classes are a viable solution to general problems, or a restriction that prevents interoperability woke af on the whims of authors, rather than the actual data contained in an object.

                        For example, a Point3D from three different libraries would be totally incompatible with each other in Java, but the human is confused at why he needs to cope when the information presented is exactly the same.

                        Typeclasses are essentially the idea that libraries should be able to work universally with each other despite not necessarily knowing that the others exist.

                      • #102185
                        Anonymous
                        Guest

                        you have described an interface, or contract

                      • #102187
                        Anonymous
                        Guest

                        And in Java, you inherit from an interface. There is no compatibility between identical interfaces.

                  • #102186
                    Anonymous
                    Guest

                    typeclasses tell you the capabilities of types that fulfill their contract
                    go has a weaker version, which is duck typed

      • #102134
        Anonymous
        Guest

        You need shockingly little actual features to get work done.
        Go is about keeping things simple, and explicitly gatekeeping out people who can’t comprehend simplicity.

        That said, it’s mostly used in microservices and other cloud shit, though people have run it on bare metal without an OS before.

        • #102141
          Anonymous
          Guest

          >You need shockingly little actual features to get work done.
          More features (or, at least, different features than those that Go has) are needed to get work done efficiently.
          > Go is about keeping things simple, and explicitly gatekeeping out people who can’t comprehend simplicity.
          Go is not much simpler than Java.

          • #102143
            Anonymous
            Guest

            You’d be surprised at how the lack of easy inheritance makes it completely opaque to the average pajeet, how they are supposed to create an AbstractBeanFactory

          • #102148
            Anonymous
            Guest

            >Go is not much simpler than Java.
            Whaaa? It’s been a few years since I did java, and it was hadoop jobs for work. But Go is so much simpler and straightforward it almost looks like bash by comparison. What are you talking about? Have you actually written *ANY* java or go code outside of a cs101 class?

            • #102151
              Anonymous
              Guest

              >What are you talking about?
              >Goscrote tries to pass default value
              He has to define a freaking struct to use inside the function that gets overwritten each time you extend the function
              Kek

      • #102149
        Anonymous
        Guest

        Go standard library doesn’t even have a function to draw a simple line. It’s so lacking that you’re better off using Java if you’re doing webshit.

        Generics are almost ready anon, you will have your pajeet avg function

        >generics
        Any day now. Goscrotes have been saying that for at least a year.

      • #102173
        Anonymous
        Guest

        because it’s good

        oddly specific whine

      • #102209
        Anonymous
        Guest

        Why do you need a built-in average function when you can write your own in 3 lines? Are you the scrotebrain who uses npm packages like IsEven?

        • #102232
          Anonymous
          Guest

          >3 lines
          Show me, you can’t goscrote

      • #102228
        Anonymous
        Guest

        Because people use programming languages to do real work, not for first year programming exercises.

    • #102121
      Anonymous
      Guest

      Hey Rob garden gnome. How’s life going?

      • #102224
        Anonymous
        Guest

        Kek.

    • #102123
      Anonymous
      Guest

      It’s just simple and fast brah. You can tell it’s good by how much seethe there is about it on this board. Neets here hate it bc it reminds them of their jobless existence.

    • #102129
      Anonymous
      Guest

      >Literally 10 times more job offers than Rust
      Why do you compare shitty webdev lang to Rust?

      • #102195
        Anonymous
        Guest

        >Why do you compare Rust to Rust?
        lol?

    • #102139
      Anonymous
      Guest

      because FAANG (Google in this case) controls everything
      look at AWS and how the entire freaking industry has standardized it’s use

    • #102156
      Anonymous
      Guest

      It is an easy language for literal scrotebrains to learn and companies need more and more coders to keep wages down, thus the perfect pajeet language was born. This is going to end up like java where everything is written in pooified go and runs like complete shit and they have to rewrite everything later, 100x’ing their actual development costs vs if they just hired competent people in the first place.

    • #102158
      Anonymous
      Guest

      It’s basically the language you give to people who can’t program so that they cause as little fuck up as possible. If you’re constantly onboarding and throwing away people every year or two, and the people themselves are of dubious quality, it’s a pretty good fit. Also, if you’re a complete moron but you still want to program something, it’s not bad either. For everyone else, there’s better languages for every purpose.

    • #102168
      Anonymous
      Guest

      because rust is a hobby language that has no usage in the real world

      • #102174
        Anonymous
        Guest

        Then why is Microsoft hiring Rustrannies?

        Why does it keep coming up again and again on all the programming sites even though all the other memelangs don’t?

        Rust is obviously trying to do something unique and value, even if in a scrotebrainedly difficult way

        • #102176
          Anonymous
          Guest

          it comes up often because rust fans are very, very loud and forceful. in spite of all this racket, and despite filling some niches well, it’s just not an appealing language.

        • #102178
          Anonymous
          Guest

          the ones hiring are the same trannies. futile attempt of popularizing that language

        • #102182
          Anonymous
          Guest

          >why is trannies hiring trannies?
          really makes you think

    • #102170
      Anonymous
      Guest

      It’s not a perfect language, but I’ve used Go for small programs that could easily be compiled for both Linux and Windows. It’s not much worse to write than Python, and you get the portability of a native binary, so it worked pretty well for what I needed.

    • #102172
      Anonymous
      Guest

      because go is perfect for small perfomant applications

    • #102183
      Anonymous
      Guest

      Why is it only go that seems to attract constant complaints that it isn’t a carbon copy of either rust or haskell? You don’t see people shouting at java for lacking typeclasses, nor do you see people shouting at C for having no pattern-matching.

    • #102191
      Anonymous
      Guest

      Why would anyone want to learn Rust?

      • #102192
        Anonymous
        Guest

        To do systems programming and not have to deal with C++’s bullshit.

        • #102193
          Anonymous
          Guest

          what if you already know C++, why would you ever do Rust? Imagine having to retrain all your monkeys to do Rust instead of C++.. So much downtime..

          • #102196
            Anonymous
            Guest

            >what if you already know C++, why would you ever do Rust?
            Because it’s much nicer to work with than C++.

            i do my systems programming in ocaml, go and forth
            what the fuck do i need rust or sepples for?

            >systems programming
            >go
            Pick one

            • #102197
              Anonymous
              Guest

              1. systems programming doesn’t just mean bare metal
              2. there is a go runtime for bare metal

              • #102242
                Anonymous
                Guest

                It means it gives you full control over your application. For example Go doesn’t allow you to manage your memory.

                >it’s much nicer to work with than C++
                holy kek does she actually believe this

                C++ is bloated. It’s build system and related tools are platform dependent and way more time consuming than Cargo. C++ ecosystem is split across multiple competing compilers, are incompatible with each other. Stdlib is old and full of deprecated features. Macro system is weak and unhygienic. Things like serde is straight up impossible to implement in C++. A lot of modern C++ features are so bad they are basically dead on arrival, like destructing or modules.
                Of course Rust is nicer to work with.

            • #102199
              Anonymous
              Guest

              >it’s much nicer to work with than C++
              holy kek does she actually believe this

              • #102201
                Anonymous
                Guest

                it probably is; sepples is awful

        • #102194
          Anonymous
          Guest

          i do my systems programming in ocaml, go and forth
          what the fuck do i need rust or sepples for?

        • #102230
          Anonymous
          Guest

          but you can already do the same thing by just telling your C++ programmers to use std::unique_ptr and std::shared_ptr instead of teaching them a whole new language with a very different paradigm

    • #102198
      Anonymous
      Guest

      Both languages are figments of your imagination. Nobody uses this shit

      • #102200
        Anonymous
        Guest

        everywhere uses go

    • #102203
      Anonymous
      Guest

      type integer interface {
      type int, int8, int16, int32, int64,
      uint, uint8, uint16, uint32, uint64,
      float32, float64
      }

      • #102204
        Anonymous
        Guest

        floats aren’t integers mate

      • #102205
        Anonymous
        Guest

        >float32, float64
        gr8 b8

      • #102206
        Anonymous
        Guest

        this isnt even valid syntax and floats aren’t integers

    • #102207
      Anonymous
      Guest

      Being dead simple to write and read. Also, their std library just werks.

    • #102208
      Anonymous
      Guest

      No idea, but it sure isn’t because of the scrotebrained looking millennial mascot.

      • #102210
        Anonymous
        Guest

        the woman who drew it is gen x

    • #102211
      Anonymous
      Guest

      >getting generics soon
      Fuck pOOP.
      It’s all Pajeetware in the end (even if it isn’t explicitly Java).
      void* pointers should be enough for anyone.

      • #102212
        Anonymous
        Guest

        happily, nerics have fuck all to do with OOP

    • #102213
      Anonymous
      Guest

      worked for a year on mercadolibre.
      can confirm they use it
      can confirm everyone is actually scrotebrained in that company

      • #102214
        Anonymous
        Guest

        d-kruger

        • #102215
          Anonymous
          Guest

          people just code for "muh business impact" don’t even know wtf they’re doing. then wake up at 4am every day with alarms when the code fails

          • #102217
            Anonymous
            Guest

            lmao, simplicity at its best

    • #102216
      Anonymous
      Guest

      literally won’t learn this language because of the scrotebrained shit mascot they have.
      seriously. is it supposed to be funny? I’m not scrotebrained why should I code in your scrotebrained mascot’s language

    • #102218
      Anonymous
      Guest

      im a newscrote with no clue about programming. i do see go is used a lot on github …rust as well.

      is go worth learning as a beginner? right now i have very rudimentary python ability…basically a C-c C-v srcipter.

      • #102219
        Anonymous
        Guest

        you will get the most benefit out of working in a project, not learning another language.
        get something done: it goes a long way.
        if you don’t have anything to do, apply for a job. don’t be afraid, it’s easier than you think

        • #102221
          Anonymous
          Guest

          thank you for the advice frend

          • #102222
            Anonymous
            Guest

            No prob.
            I don’t know what your goals/interests are, but for example I worked for a full year at a tech company just using python.
            If you tell me more about your interests maybe I can give more help

            • #102223
              Anonymous
              Guest

              so far i have been using scripts to help at work and i would like to eventually develop some simple tools to help them.
              i work for family so i typically go above and beyond where i can. for example i wrote a script that nets us a few thousand dollars each quarter from our distributors who constantly fuck up our pricing… basically i used a python script to take the lowest price we got an item, and compare that to what we were charged each time for that item.

              so i’d like to be able to do stuff like that. in the short term i would like to learn how to manipulate pdfs better. for example pull text and use it to generate spreadsheets/datasets.

              long term im interested in maybe developing plugins for ranger/lf (file managers) to make it more amenable to small biz use. i have messed around with ranger a bit, and i know lf like ranger but written in go, which is why i asked about go in the first place.

    • #102225
      Anonymous
      Guest

      man it would be so funny if they went with this. the hate they would get would be insane.

      • #102229
        Anonymous
        Guest

        I browse r/golang and golang-nuts, see the scrotelicious ways people are using generics, and despair.

        • #102243
          Anonymous
          Guest

          me too dude, theres gonna be a bunch of scrotebrains thinking they can use generics to shoehorn every functional feature into the language for a while.

    • #102227
      Anonymous
      Guest

      Come on. Implement a priority queue.
      https://pkg.go.dev/container/heap
      Youll be writing 6 functions

    • #102236
      Anonymous
      Guest

      because it’s woke af and rust is cringe

      • #102238
        Anonymous
        Guest

        it’s cringe and rust is woke af

        • #102241
          Anonymous
          Guest

          wrong

Viewing 23 reply threads
  • You must be logged in to reply to this topic.