[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1723553822146320.png (296 KB, 523x1400)
296 KB
296 KB PNG
what's the point of golang? is there even one?
seriously, this is not a flamewar thread, i genuinely dont get it and would like to get enlightened.
to me, golang is a language that makes no sense. i feel like it's a language for wannabe Cniles who were too stupid to actually engage in Cnility and so they decided to write something à-la-C#, but without all the features that make C# actually useful. it's like the worst of both worlds. i literally can't see any scenario where golang is the "obvious" choice, as opposed to Python, C# or C/++.
>>
>>103239369
go lang? more like po lang, -poo lang
>>
It's the obvious choice:
When you want a "just works," single binary release that can be built for any major OS and CPU architecture that at least has a floating point unit and an MMU
If you want a reasonably performant of the above
If there is a "killer" library that will be difficult to find or replace.

I absolutely loathe go. The language is pure dogshit, but sometimes it's the easiest to actually build and deploy of the major meme languages. I can't think of anything easier that builds and works on windows or Linux. Hell I use to do go shitware because it was 1000x simpler to build for armv7l (again assuming your CPU has fp) and dev machine without dealing with building a working c toolchain needed by basically any other language (python, rust, c++, etc).
>>
>>103240644
i love go
>>
>>103240644
>When you want a "just works," single binary release that can be built for any major OS and CPU architecture that at least has a floating point unit and an MMU
>it's the easiest to actually build and deploy of the major meme languages. I can't think of anything easier that builds and works on windows or Linux
C# does that without being some minimal meme language that pretends to be C.
>>
>>103239369
>C#
Have you seen the real world anon? It runs on Linux servers and has very little interest in Microsoft's pet language
>>
>>103240677
I don't believe you, but because my last experience with dotnet was a gorillian years ago, I can't directly refute your claim.
>>
>>103240681
>It runs on Linux servers
so does C#, what do you think Azure is all about? lol.
your mind is stuck in time to 15 years ago, .NET is cross platform.
>>103240692
things are very different now. you can output a single, self contained executable and you can target any platform you like.
>>
>>103239369
it has the best mascot
>>
>>103240704
that i agree with desu. very SOVLFVL.
>>
>>103240681
in my country everything is basically c# and microsoft server

like 80% of job listing are c#, 17% python, 2.999% c/c++, 0.0001% "exotic" languages like go, rust, zig, etc.
>>
>>103240722
that's every country really
maybe not 80% but still there isnt a single place in the world where C# is not one of the big languages
retards on /g/ hate on it and pretend it isnt used because "microsoft bad" (but every other major corpo's language is LE GOOD, go figure)
>>
>>103239369
I REALLY like it. C is a very different arena as it's for autists who don't have ambitions, whereas Go is the absolute inverse in that regard, as it is incredibly productive. It is obviously not something LARPers will enjoy because a LARPer is allergic to actually making anything, lest their Sisyphusian endless boulder struggle that convinces them to leave their bed every day come to a close upon the actual completion of their software.

So okay you find yourself in a position where you have an idea for a piece of software. You are alone of course because you are autistic and friendless, which means all responsibility for this code is on you, and you need to complete a whole project, and maintain it, all by yourself as a result... You can pick Python but Python genuinely has performance drawbacks which aren't meme tier nanoseconds, but actually impactful... So then there's Go. And this will allow you to complete a project while having software which maintains a strong performance compared to something else as productive like Python.
>>
>>103240697
You learned C# and are backwards rationalizing everything else to justify the time sunk into it. C# isn't really that great, but you can get a job with it if you want that, because a lot of old shit uses it.
>>
>>103240997
c shart isn't exactly a the zenith of software engineering but i would absolutely use it any day over go, a language that literally only took off because google made it. i say this as someone who hates MS more than google.
>>
>>103241014
>google
Let's be fair here, go was made by Rob Pike and Ken Thompson.
C#, on the other hand, was made by the author of Turbo Pascal and Delphi. And that's exactly what it feels like.
>>
I think the killer feature was braindead syntax for new devs (new to programming, not to the language), Goroutines, and channels and other concurrency features
I don't know if the rest of the language is worth those features. Personally, I end up using C# or Nim most of the time with a sprinkle of Python, Perl, or Lua.
>>
File: IMG_0489.jpg (192 KB, 1024x1024)
192 KB
192 KB JPG
>>103239369
You just go mod init and slap a go mod tidy and hit that go build . and rsync that bitch to a €5 hertzner VPS
>>
>>103240697
>self contained executable
>120 MiB



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.