[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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1734800604141594.png (10 KB, 764x762)
10 KB
10 KB PNG
int8set
int16set
int32set
int64set
intset
uint8set
uint16set
uint32set
uint64set
uintset
float32set
float64set
complex64set
complex128set
>>
>>103601005
>>
>>103601005
Why does /g/ hate Go?
>>
>why yes, my operation can be performed on any arbitrary data type
define an interface with relevant constraints and use it
if there are no constraints, you can go back to >>>/n/ode.jeetscript
>>
>he's using sets
lmfao just use a map you retard
>>
>get owned thread after thread
>have to make new ones before the old ones are even dead so that other people can't see how hard you got owned
Very grim for the gohaters.
>>
>>103601005
you clearly haven't discovered the canadian aboriginal syllabics block yet.
>>
>>103601908
This is the autor of /tgdg/ I'm not op of this thread, if i made a new thread it would have been the general again, but it's Christmas season and I'm now with my family, I'll make a new general after the new year probably.
>>
File: 1719428487764.jpg (28 KB, 608x646)
28 KB
28 KB JPG
>>103601896
>Gotards use maps when sets are enough
>>
File: lff.gif (192 KB, 632x640)
192 KB
192 KB GIF
>>103602071
>Fptard uses sets when maps are enough
>>
>>103602135
>pointless double allocation
Peak gotard IQ
>>
File: 05ozr0xcpar41.png (779 KB, 1920x1080)
779 KB
779 KB PNG
>>
>>103601808
it's one sad retard who keeps making these threads over and over again
>>
interface{}
>>
>>103601005
I HATE GENERICS
I HATE GENERICS
I HATE GENERICS
>>
>>103601005
Generics have no use case, chud.
>>
File: DEHfMMPXkAAPX64.jpg (94 KB, 700x963)
94 KB
94 KB JPG
good times
>>
>>103601005
Because go simple
Generic to complex for grug brain
Go simple, grug like go, go simple, go better, grug like go, generic no simple, grug like go.
>>
File: YPte6HL.png (81 KB, 850x1100)
81 KB
81 KB PNG
>>
File: 3G1sBUW.png (248 KB, 700x964)
248 KB
248 KB PNG
>>103602719
>>
File: Da9Cp2l.png (118 KB, 680x680)
118 KB
118 KB PNG
>>
File: g1bz9v6.png (135 KB, 800x799)
135 KB
135 KB PNG
>>
File: badsVWv.png (130 KB, 800x799)
130 KB
130 KB PNG
>>
File: w54ATkB.png (475 KB, 714x644)
475 KB
475 KB PNG
>>
File: qwvm12ikkigz.png (414 KB, 722x609)
414 KB
414 KB PNG
>>
File: j0WT0J7.png (138 KB, 800x800)
138 KB
138 KB PNG
Do consider..
>>
File: pxJetc3.gif (1.98 MB, 450x650)
1.98 MB
1.98 MB GIF
>Gopher demonstrates how easy it is to create a type safe Set data type in Go
>>
File: DzVZt2B.png (140 KB, 800x800)
140 KB
140 KB PNG
>>
File: 8s9PJVx.png (128 KB, 800x800)
128 KB
128 KB PNG
the magical "two weeks" period... with a twist.
>>
File: MZF63sE.png (134 KB, 800x799)
134 KB
134 KB PNG
it was all about CONFIDENCE
>>
>>103602719
what is this from
>>
>>103601808
Because it's actually useful. /g/ hates work and loves masturbating, hence /g/ hates Python and Go and loves Haskell and Lisp.
>>
>>103602918
>>103602902
>>103602882
>>103602816
>>103602810
>>103602798
>>103602781
>>103602773
>>103602762
holy mental illness
>>
>>103602929
i'm just putting memes i can remember through a search engine. but most of these originated from a place that doesn't like being linked back to (to keep both normies and /g/tard-likes away).
>>
File: shirtless_chudjak.png (261 KB, 1303x997)
261 KB
261 KB PNG
>i'm just putting memes i can remember through a search engine. but most of these originated from a place that doesn't like being linked back to (to keep both normies and /g/tard-likes away).
>>
File: 9GQLsZp.png (123 KB, 800x800)
123 KB
123 KB PNG
>>103602322
>>
File: Iybw3iT.png (128 KB, 800x799)
128 KB
128 KB PNG
>>103602968
all of these are exact quotes from gtards btw
>>
File: d4sJd1Q.png (131 KB, 800x799)
131 KB
131 KB PNG
it was incredibly refreshing.
too bad it didn't last.
>>
>>103602965
masturbating is work.
>>
File: 1aefoCz.png (140 KB, 800x799)
140 KB
140 KB PNG
"professional code"
>>
>>103603112
I blame retarded zoomers
>>
File: c5WNMrl.png (124 KB, 800x799)
124 KB
124 KB PNG
>>103603079
>sum types at run time
>>
>>103603181
the reasons is that some of us were cursed with having to work with it and never want to have to do so again.

i think the language dying would be a good thing.
attacking it helps that future become a reality.
>>
>>103603160
>>103603125
>>103603112
Zoomers are so lazy and retarded and don't want to learn anything new on their own that go was made for retards on purpose. Because having different ways of doing things requires thinking and being told there is 1 way to do things, the go way is the best. Thay's why go tries to emulate the retarded c-nile syntax, is because c is what usually gets taught in comp sci 101. Readability? Never heard of it. All you need to read go is a severe case of brain damage
>>
>>103603112
literally the opposite is happening, be it amazon, or others.

want a good example, look up influxdb

their database was slow, shitty, a mess to maintain and kept getting oomed because of the garbage collector, they chose to switch to rust and now it's not anywhere near as shitty as it once was.
>>
>>103603257
this comment literally went through a binary that was written in rust.
https://github.com/cloudflare/pingora

or you know
https://discord.com/blog/why-discord-is-switching-from-go-to-rust

i can find you tons of other such examples, but seeth more you pajeet.
>>
>>103603265
i'm the one that made /tgdg/ this thread is not mine, i just hoped in.

if i were to make a new thread it'd be /tgdg/ again.
>>
>>103603285
and ?

when shit is rewritten in rust you complain we are rewriting stuff, when we don't rewrite stuff you go like "muh this shit is not rust"

how retarded do you have to be.

by your same logic, go is nonconsequential because most software are not written in it.
>>
>>103601808
not elitist enough
>>
File: OLu8oXJ.png (122 KB, 800x799)
122 KB
122 KB PNG
>>103603241
>Readability
>>
>>103603301
try to do proper replies to the last /tgdg/ thread, oh but wait, no one was able to because they were valid criticism with the language.

also fun that you use the pope, as gophers exhibit typical cult like behavior.

it's not even about rust, i'm only mentioning it because it's the best contender to replace go.

but holy fucking shit i'd use anything else that's not go.

even C is a fucking better language than go.
>>
Half the memes ITT don't even apply since 5 major versions ago when Go got generics.
Honestly it's just sad seeing someone lose it because a programming language is letting people get results without having to bikeshed about abstract types for 5 hrs/week
>>
>>103603311
if gophers truely believed in their argument they'd code only in assembly, but they are to retarded to do such a thing and like to say "muh abstraction bad" even though they don't even understand what they are saying.
>>
>>103603265
You're just gotarded
>>
>>103603331
i mean, what would you expect from proponent of a language that literally was made for retarded people.

>>103603327
still not a reply, you are only seething like a manchild because you have nothing to say.
so your monkey brain interrupts because it's too painful to hold the inconsistencies and you post this instead.
>>
>>103603328
> he thinks the way go implemented generics is a good design
lol
>>
>>103603342
i bet you think you are so smart in your mother's basement.
>>
>>103603328
>illiterate gotard who can't read a 4 word OP title
>>
File: file.png (28 KB, 958x252)
28 KB
28 KB PNG
>>103603359
the point you are missing is that i am writting real software, and i shit on go because i do not want to have to work with it ever again.
>>
>>103603366
imagine what a pathetic looser you'd have to be to hold a collection of those on your computer.
>>
>>103603311
Have Gotards never used Lisp?
it's the antithesis of that "argument".
>>
>>103603374
these pic don't work against people that don't look like that, you are only making a fool of yourself.
>>
File: qVF6EZR.png (120 KB, 800x799)
120 KB
120 KB PNG
>>103603331
funny you should say that
>>
>>103603377
actually based, a lisp interpreter can be written in less than 1 page of lisp.
>>
>>103603349
It's 80% as good for 20% of the complexity. Ultimately Go doesn't give you much room to get euphoric about your own intelligence, which is why you hate it.
>>
File: 5I8aQty.png (126 KB, 800x800)
126 KB
126 KB PNG
>>103603377
your assuming they have a mind of their own.
those are all "talking points" they were fed, and they are all too retarded to question anything.
>>
>>103603377
>>103603406
the comment just above you contains such a talking point.
isn't it hilarious. lol.
>>
>>103603404
i hate it because it gets in the way of building stuff, that's the only reason.

if it was just that i'd not care, but then gophers come thinking it's the best thing in the world.

imagine being forced to eat shit one day, deciding you don't want to ever have to that.

and then going out you see a shit enjoyer hobo.
and he screams on the street that shit is the best and he wants everyone to eat shit.

then you keep seing shit eating people wanting to convert everyone to shit eating beacuse they think it's amazing.

that's pretty much my experience with go and its comunity.

it's not even about rust, the rust comunity is also insuferable, rust has major flaws as well.

it's not about rust vs go, it's about go being terrible.
>>
File: zgt9BW0.png (137 KB, 800x799)
137 KB
137 KB PNG
loops good
>>
>>103603442
the face you make when you are about to eat shit.
>>
File: 39eo6vb.png (125 KB, 800x799)
125 KB
125 KB PNG
>it forced us to actually think
>>
>>103603440
desu, that's not such a bad point.

maps are slightly more annoying to debug, but you can still print within a map or do map(print) after the first one so whatever.

anyway, a map generally takes so little code in that if you make a bug in that or need to debug that it means you were retarded.
>>
>>103603470
and yet, they still failed lmao
>>
File: 1734808294970.png (10 KB, 645x773)
10 KB
10 KB PNG
>>103603472
>Anonymous 12/21/24(Sat)20:20:23 No.103603472▶
> >>103603440
> desu, that's not such a bad point.
> maps are slightly more annoying to debug, but you can still print within a map or do map(print) after the first one so whatever.
> anyway, a map generally takes so little code in that if you make a bug in that or need to debug that it means you were retarded.
>>>
>Anonymous 12/21/24(Sat)20:20:54 No.103603481▶
> >>103603470
> and yet, they still failed lmao
>>
>>103602965
i hate go but really like python.
try again.
>>
File: 1ixlxcK.png (126 KB, 800x799)
126 KB
126 KB PNG
>verbosity is a strength
>>
gophers are just sad because their idol is being attacked and it'll inevitably die over time.

i'm sorry you feel that way but sometime kids just need to grow up.
>>
File: jj36Qy4.png (138 KB, 800x800)
138 KB
138 KB PNG
>>103603511
>a sacrifice we make willingly
>>
File: (You).jpg (55 KB, 294x294)
55 KB
55 KB JPG
>>103603511
>>>
>Anonymous 12/21/24(Sat)20:23:55 No.103603511▶
>File: 1ixlxcK.png (126 KB, 800x799)
>126 KB
> >verbosity is a strength
>>>
>Anonymous 12/21/24(Sat)20:24:56 No.103603521▶
> gophers are just sad because their idol is being attacked and it'll inevitably die over time.
> i'm sorry you feel that way but sometime kids just need to grow up.
>>103603531
>Anonymous 12/21/24(Sat)20:25:46 No.103603531▶
>File: jj36Qy4.png (138 KB, 800x800)
>138 KB
> >>103603511
> >a sacrifice we make willingly
>>
File: QmLfxLA.png (130 KB, 800x799)
130 KB
130 KB PNG
>>103603531
>more control
>>
File: nXlCKzS.png (126 KB, 800x799)
126 KB
126 KB PNG
>>103603511
>explicitly designed to *embrace* boilerplate
>>
File: zaRtemb.png (134 KB, 800x799)
134 KB
134 KB PNG
>>103603563
>you can always turn your monitor vertically
>>
File: v0exTK1.png (131 KB, 800x799)
131 KB
131 KB PNG
>the way i achieve immutability
>>
File: gnome_chudjak_wojak.png (295 KB, 742x960)
295 KB
295 KB PNG
>>103603605
>Anonymous 12/21/24(Sat)20:33:43 No.103603605▶
>File: v0exTK1.png (131 KB, 800x799)
>131 KB
> >the way i achieve immutability
>>
Why are mentally ill people so triggered by Go? Is it because it doesn't let them go on manic code-shitting sprees? Is it because it just works without gimmicks, unlike themselves?
>>
File: ttrLcGI.png (128 KB, 800x799)
128 KB
128 KB PNG
>>103603404
and
>there [was] no consensus..
lol
>>
File: pWM5JsW.png (135 KB, 800x799)
135 KB
135 KB PNG
>iterators are the wrong axis of abstraction
>>
>>103603685
>Anonymous 12/21/24(Sat)20:41:30 No.103603685▶
>File: pWM5JsW.png (135 KB, 800x799)
>135 KB
> >iterators are the wrong axis of abstraction
>>
File: LFlj2Gy.png (129 KB, 800x799)
129 KB
129 KB PNG
>go is special because of what it doesn't implement
>>
File: 1734577287569.jpg (48 KB, 718x530)
48 KB
48 KB JPG
>>103603720
>Anonymous 12/21/24(Sat)20:45:41 No.103603720▶
>File: LFlj2Gy.png (129 KB, 800x799)
>129 KB
> >go is special because of what it doesn't implement
>>
File: can.png (433 KB, 2259x1756)
433 KB
433 KB PNG
>>103601937
lmao.
too bad /g/tards don't recognize that historical moment.
>>
>>103603756
based as fuck, gohaters will never be able to appreciate his DIY ethic
>>
File: Zor0wZD.png (139 KB, 800x799)
139 KB
139 KB PNG
>that's the whole fucking point of go
>>
File: 8lcYgtq.png (125 KB, 800x799)
125 KB
125 KB PNG
and finally
>Stick to Golang mailing lists if you want to talk to good programmers.
hehehe
>>
Good thread
>>
File: lol-no-generics.png (239 KB, 2262x1616)
239 KB
239 KB PNG
>>103601005
>>
>>103603953
THIS IS NOT OK !
>>
>>103603440
that's the opposite of the truth. A while- or for-loop introduces all kinds of possibilities for annoying bugs to crop up.
>>
I still don't understand how Ken Thompson, a literal god of programming, the ultimate 1000xer, the guy responsible not only for Unix and many of its userland utilities, but also regex, UTF-8, chess tablebases, the B programming language which led to C, also managed to come up with this boomer abomination that is Go.

Is this somehow Rob Pike's fault? Or do you really have to let old people go and not let them build stuff anymore, even when they used to be gods?
>>
>>103604294
have you considered not appealing to any authorities, whether they are corpos or people?
>>
File: 1734638894317156.png (6 KB, 764x762)
6 KB
6 KB PNG
this thread
>>
>>103604441
retarded ass looking drawing
>>
File: 1705036507317693.png (849 KB, 800x803)
849 KB
849 KB PNG
>Golang
>>
>>103604511
it just looks like gophers i could say
>>
File: 1731358742829964.gif (897 KB, 800x430)
897 KB
897 KB GIF
>>103603605
Wait does go not have a const modifier?
KEEEEEEEEEEEEEEEEK this is obscene
>>
>>103604294
>is it pike's fault
yes
>>
>>103604294
Ken wrote the C compiler and linker and code gen for the Plan 9 operating system.
Rob then messed around with it and turned it into ‘go’
>>
File: 1730401515081192.jpg (472 KB, 1139x1300)
472 KB
472 KB JPG
>>103604925
can we just fix the warts on C and get back to programming?
>>
File: file.png (27 KB, 906x525)
27 KB
27 KB PNG
>>103604534
imagine thinking this is the face of superiority.
if you truely think that you are gotarded.
>>
Go has yet again buck broken the rusttards
>>
>>103604943
> Fix C
Why use C? It’s not like every operating system is written in C or something crazy like that.
I’m pretty sure all the operating systems were written in ‘go’ weren’t they?
Or, even crazier, Imagine if ‘go’ was originally written in C… that would be something…
>>
>>103604294
Or... Maybe you haven't reached the level of enlightenment necessary to appreciate Go
>>
>>103604943
It's called Zig
>>
File: 1724550850346017.png (1.29 MB, 1280x720)
1.29 MB
1.29 MB PNG
>>103605099
go away
>>
>>103605084
I respect Thompson enough to entertain that possibility. But then why did he add generics after 10 years? Has he commented on this at all?
>>
>>103603511
well designed verbosity is unironically good.
Go should have learned from Ada
>>
>>103603212
>>103603389
>>103603440
>>103603470
>>103603511
>>103603605
>>103603577
>>103602849
lmao
>>103603311
to be fair, having a billion features is super annoying for tooling devs, e.g. more syntax sugar -> more types of AST node you have to deal with
but go doesn't do this in a good, principled manner. no, changing `while` to `for` is not simplicity. neither is hardcoding different semantics for `for range` loops depending on the type being passed in, and not bothering to expose some generic interface to unify the behavior
>>103603457
geg I made that image
>>
File: 1734643040245963.png (710 KB, 1484x997)
710 KB
710 KB PNG
also, friendly reminder that haskell had everything good about go before go was a thing
>interfaces (typeclasses)
>goroutines (green threads)
>channels (channels)
haskell won, go lost
>>
>>103605084
>enlightenment
more like cerebral lightening
>>
I don't get it.
Go has generics? Why are all these posts saying it doesn't?
>>
mental illness - the thread
>>
>>103602781
Did they get non-nullable types eventually, too?
>>
>>103601808
It's productive, it's easy, it solved software development to a large extent. This makes them angry because if Bob down the road can do it, they can't feel special anymore, and there's absolutely nothing else in their existence that makes them feel superior to others apart from contrived intellect bullshit (when their IQ is around 110 to 120).

Without that what else is there...
>>
>>103601896
>lmfao just use a map you retard
>>
>>103606155
you should stop writing that. these are either not equivalent, or not actually good in go, or both (i.e. interfaces).

https://youtu.be/2-pPAvqyluI?t=3399

your practical experience with gotardlang being shit is genuine. but you need to learn more about programming language advancements and type systems to really appreciate how gotardlang is even much more retarded than you think. and to appreciate how maximally retarded the OG gotards (i.e. the language devs) sounded whenever they had to make their arguments outside their corpo safe-spaced echo chambers.

another thing i noticed from a previous thread is how a seepeepeetard claimed that peepee has sum types (maybe because `enum` is a part of the language, lol) and you didn't challenge that among many other false claims from all kinds of /g/tards.

tl;dr: learn more to get better ammunition if you want to fight with /g/eets. or you can just not fight with online retards and only point and laugh at them occasionally. and only learn more for your own benefit.
>>
>>103602965
I like work and masturbating. That's why I made the first vr video player on linux because I wanted to goon.
>>
>>103607072
no. that would add complexity without any benefits. you can just see from the code if it can be null or not. just make sure you set your monitor vertically.
>>
>>103601896
Go maps waste cycles randomizing output because the creators thought returning a list of keys in insertion order was an implementation detail
>>
>>103607687
>another thing i noticed from a previous thread is how a seepeepeetard claimed that peepee has sum types (maybe because `enum` is a part of the language, lol) and you didn't challenge that among many other false claims from all kinds of /g/tards.
they meant some std:: shit, not enum (or union).
>>
>>103608098
whatever they meant. their predictable retardation is hilarious.
>>
OP is having a melty because previous threads blew him the fuck out so badly
>>
>>103607687
>or both (i.e. interfaces).
gophers claim that interfaces in go are great, i.e. "we use interfaces instead of classes IN GOLANG"
typeclasses are different from interfaces but I feel like "typeclasses are a superior version of interfaces" is good enough for a short post
>you didn't respond to this particular crap posted by a retard
yeah sorry I should have. they managed to say much more stupid shit though so I didn't bother
also it was clearly a gopher seething about rust having stuff go didn't who wrote all that
>>103607214
>It's productive, it's easy,
wrong
>it solved software development to a large extent
it hasn't
>>
>>103607793
my go code had 4 nullable variables so i rotated my monitor 360 degrees
>>
>>103608560
It is literally insanely easy and productive. My entire server runs on my own Go programs... I've only been coding for like 6 months and my entire server is running on my stuff.

To me that sounds like a solution. Just like they advertise, anyone can use it to make good and useful software.
>>
>>103603125
You have to ask how they're using golang too though.
I worked for a major corp (not on this list) and we had a Golang project for an internal system that the company already had 2 versions of, but since some middle manager needed to justify his paycheck they made another one, and the lead dev just picked golang to pad his resume. Said lead dev quit for Google a few weeks after and the manager failed upwards somehow.
Point is, just because they use it for some project doesn't mean it's being used in any serious capacity.
>>
>>103608938
This is cope. Go is used in more serious project than most langs around today, including Rust.
>>
>>103609008
>citation needed
>>
>>103609014
Docker, Kubernetes. Come back when Rust has 1% of this level of usage.
>>
>>103609044
>used in more serious projects than most langs around today
>Names docker and k8s
>Rust out of nowhere
Holy shit you're mentally ill
>>
>>103609077
Cope tranny. We both know you cunts are the only ones shitting on Go (given the Cniles beat you down over and over again) and that this is primarily a C, C++ and Go board. Kill yourself.
>>
>>103605109
>But then why did he add generics after 10 years?
He didn't Ian Taylor did.
https://go.dev/blog/generics-proposal
>>
>>103609077
Every single application deployed to the Cloud is running in a Docker container. Sorry, but it's just true.
>>
File: based.jpg (20 KB, 310x201)
20 KB
20 KB JPG
>>103609101
>this is primarily a C, C++ and Go board
>>
>>103609478
No, not everything is deployed with docker.
>>
File: 1719984041609299.png (100 KB, 828x613)
100 KB
100 KB PNG
>>103601005
>>
File: 1728341582720096.png (502 KB, 1200x1400)
502 KB
502 KB PNG
>>
File: 1720480181153522.png (467 KB, 838x1044)
467 KB
467 KB PNG
>>
File: 1733673774808173.jpg (42 KB, 250x250)
42 KB
42 KB JPG
>>103604294
>Is this somehow Rob Pike's fault?
>>
File: 1718247770007523.jpg (281 KB, 1024x683)
281 KB
281 KB JPG
>>
>>
>>103610281
Is he calling the new hires rote memorizing retards?
>>
>>103610327
Yes.
>>
>Anonymous 12/22/24(Sun)12:35:31 No.103610346▶
> >>103610327
> Yes.
>>
>>103609453
Thompson must have signed off on it, or is he no longer directly involved?
>>
>>103610409
Thompson was already checked out and half senile from the start, Golang used his name and reputation but that's about all he contributed.
>>
>>103610304
kek
>>
>>103610281
If Go programmers were smart, they wouldn't be using Go.
>>
>>103601908
I'm still waiting for a concrete example of something Go does better than a plethora of other languages/frameworks that have much more support and robust ecosystems. Perhaps you will be the one to enlighten me
>>
File: anime is for trannies.gif (82 KB, 640x640)
82 KB
82 KB GIF
So, Rust has buckbroken not only cniles, but also gotards? Oh no no no no
>>
>>103603363
Go is awful but posting your github contribution grid is worse
>>
>>103603125
>>103608938
>bitly
>wildlife
>some kind of mexican shit
>Some kind og bug made of leaves
If your language doesn't have enough fortune 500 companies to fill out a 4x5 grid it's a failure.
>>
>>103603440
I do not even know how this could be true. Even if your map or filter functions are absurdly complex and hard to debug, I'd imagine it'd be the same with a complex for loop.
>>
>>103601908
You guys failed to reply to the arguments in the last tgdg thread, if anything you are the ones that got owned.
>>
>>103612092
As easy as Python.
Without the performance hit.

Can easily be used by a solo developer to produce great software that benefits people's daily lives, and maintained by that sole person too, long term.

Get it?
>>
>>103601005
>int8set
Who would use this over:
T my_set[256];
>>
File: IMG_1212.jpg (938 KB, 1887x1892)
938 KB
938 KB JPG
>>103612192
My language of choice is designed and supported by the second most valuable company in the world
>>
>>103613225
You realize the litmus test for a great language is ease of maintenance over a long period of time and a large team, not solo programmers, yes?
>>
>>103613458
>supported by
>Google
https://killedbygoogle.com/
>>
>>103613458
>he trusts google with support
so anybody gonna tell him?
>>
>>103613487
Generally that is probably correct. In practice the litmus test is whether it is best for your particular application. I don't want to work with other people, I want to make the stuff myself. Then perhaps some open source people can come and take over when the project is finished and I want to build something new.

One of my more useful and novel programs is almost ready to just be released to the public. In this case I will pay an Eastern European (not Indian, obviously) to make a web frontend for the Docker app so people can access it via LAN, because I personally find web design miserable. But aside from that I want to do it all with my own hands.

Most people on 4chan are autistic and recluses, so its excellence as a tool for solo software developers should be a major boon for Go here.
>>
>>103613595
>Docker app
>>
>>103613531
>that stblib
lol. Lmao even
>>
>>103610327
have you met a "coder" recently? they like to use the E word but are nothing of the sort
>>
>>103613554
I’m not posting about go/google. Go is a joke
>>
>>103613716
lol he though google was still top 3 market cap
>>
>>103613716
I didn't realize Nvidia had their own programming language.
>>
>>103613848
cuda has been around for like 15 years
>>
>>103613887
CUDA is an API, not a programming language. You can use either Python or C++ to write CUDA.
Retard.
>>
>>103613898
what in your mind is the distinction between a language and an api?
>>
>103613989
Gophers can't possibly be this retarded.
>>
>>103608852
>It is literally insanely easy and productive
wrong
>My entire server runs on my own Go programs... I've only been coding for like 6 months and my entire server is running on my stuff.
you could probably have accomplished the same with most other languages
>>
>>103613681
Yeah I actually want normal people to be able to enjoy and use my software. Sorry I'm not interested in some cuck mental masturbations like Advent of Code and other shit that will never have any impact anywhere ever.
>>
How ingenious AI views the personality of Go users. Do you want to see the same for Rust, C, etc. it's usually euphemisms for "pretentious" and "autistic".
>>
>>103608852
>my entire server runs on my stuff
Not very informative. What does you server “do”? With only 6 months of self-professed experience, your opinion doesn’t hold much weight anyway.
>>
>>103614302
>filtered by AoC
>>
>>103614344
>i spent hours every day on glorified leetcode problems
>>
>>103614302
But your software has an impact? Do tell us. I, for example, have software running on computers at banks numbering in the 100s of thousands. I also have code running on point of sales machines from one of the largest POS brands in the world.
>>
>>103614336
Go is nothing if not trendy.
>>
>>103614366
He said he wants people, real human beings, to use and benefit from his software. Not corporations.
>>
>>103614336
>Golang for its performance
https://discord.com/blog/why-discord-is-switching-from-go-to-rust
This is why you shouldn't rely on ChatGPT for anything you don't already know, and why those in Gens Z and A overreliant on it already are doomed.
>>
>>103614336
these "personality traits" are astrology-tier shit where you can find any trait in yourself if you want to
>>
>>103608852
>I've only been coding for like 6 months and my entire server is running on my stuff.
this is the average gotard you're arguing with
>>
>>103614395
>he
obvious samefag lol
>people, real human beings
>not corporations
obviously real humans benefit from point of sales software and banking software
>>
>>103614435
I don't expect you to understand the difference. Don't you have some Christmas themed leetcode you should be doing?
>>
File: IMG_1213.jpg (797 KB, 1270x2230)
797 KB
797 KB JPG
>>103614418
Let the cope&seethe commence
>>
>>103614366
Sounds boring and invented. I.e. like you made a pajeet type Github commit to some open source number crunching thing, or are an employee. Sort of like how Rust users insert one line of code into a project and then claim the project is "made with Rust".
>>103614341
Primarily personal entertainment stuff. I.e. I input things I want like a particular artist's Soundcloud, or YouTube channel, podcast, Rumble page, whatever. The program then checks for new releases at those locations at a period I set.

Then it downloads the releases, names them, categorizes them, tags them (scrapes for tags from the webpage if empty), and moves them to a destination and file format of choice. So when I wake up in the morning I have all the new releases ready to watch, just like YouTube, but without ads or videos outside of the channels I choose.

It can filter out releases by certain metafields, so for example if a YouTuber does a shit series I don't want I can add that series name to the filters and if a new release is detected as matching the filter it ignores the release. And vice versa if I only want one of them it can look for that and disclude everything else.

The lack of experience is partially the point. The fact I can easily make a piece of software that enhances my daily life with such little experience and without AI just doing it all, is precisely the point I was making originally. That is to say, it is easy, maintainable, and highly productive, without Python performance hits...

Just as they advertise. They wanted Google researchers, scientists, and random dumbfucks, to be able to make useful software with it. For some people this is a bad thing because if everyone can do the thing that makes them special, they are no longer special. Then what is left?
>>
>>103614492
>employed dev with code solving real world problems ur made up
>my glorified script that scrapes webpages and categorizes music has a real world impact
Zoomers are the worst
>>
>>103614422
But it only says pretentious and autistic for things like Rust? The things it thinks about Go users is what people like >>103614418 are missing. Linking projects built by entire teams of developers etc. where the language lacks the practicality and simplicity of Go.

Remember the point. Which is as stated: "easy as Py", maintainable by a single individual, without the performance hits of Python.

That's the selling point. It accomplishes the task.
>>103614435
I haven't even OPENED the "Christmas leetcode" website. I don't even know what the URL is, I haven't even entered the threads, or Googled for it.

Because it is useless and impractical. It's e-waste but code. Why are you spending hours doing gay little puzzles that you will throw away after? You could have spent that time pretending you made banking software due to your single commit or status as an employee on a team that did.
>>
>>103614486
>slower than non-compiled Python
>only faster than ancient Mono and STL
that's almost impressive
>>
>>103614589
Go is quite obviously not as easy as Python, this is some incredible cope.
>>
>>103614523
Yeah it has a real world impact for me. As a solo developer working all by myself, being able to create things that improve my daily life despite almost no experience with programming at all. Not an employee with an entire team that makes impractical languages more practical by splitting the workload.

You see how this works? Think about concurrency (something Go makes very easy). As an employee you are a worker in a worker pool, and as such your iteration speed etc matters less because a bunch of people are iterating different things simultaneously. For a solo developer, hitting build and running the project taking like, 2 seconds, is important, because we are single threaded.
>>
>>103614616
It is very easy at the least, and at worst you can say that for the performance benefit over Python, whatever minor added difficulty is worth it.

I would call it the sweet spot. Not Assembly and not Python, dead between them, a perfect balance.
>>
Don't care, I'm still not learning rust
>>
Look at this historical picture showing how Rust programs are made. I.e. by slavedriving a bunch of codemonkeys to do your bidding. Now imagine I can upload two images in one post... The next post is the sistine chapel with God touching Adam's finger. That's Go. Because with Go you don't need to slavedrive teams, you can create by yourself.

Go is one letter away from God, coincidence? I think not.
>>
>>103614633
>despite no experience with programming at all
Then what makes you an authority? Surely you must realize you lack the foundation to offer an opinion worthy of consideration? Chances are you haven't tried Java/C#/Rust/C++/C/etc so, quite seriously, fuck off with your opinion. The balls to call others frauds...
>>
>>103614633
>As a solo developer working all by myself
>despite almost no experience with programming at all.
You realize this is exactly what people say about Go and what real programmers hate about it?
It's to keep people with no experience like you under control so they can be productive without giving them enough power or options to make a mess.
See >>103610281
Like, we're not even arguing about Go anymore. You're just upset that the phrasing hurts your feelings.
>entire team that makes impractical languages
Just because you can't wrap your head about a more powerful and complex language doesn't make it impracticable.

We're just going in circles at this point. Good luck and have fun with Go making "great actually useful software" I'm done arguing
>>
Is there a bigger sign of retardation than seething about leetcode unprompted?
>>
>>103614716
Yeah I learned C++ first and found it enjoyable but annoying and less practical in some areas. It is clearly not well geared towards modern software, as you can see for example in Qt which makes things that are like a time capsule from 2001. I made a Qt application. The language was not as geared up for producing the types of things I want to create... Yes I can speak authoritatively on this because the fact I can make useful things with little experience is like the crux of the point.

If I had years of experience it would detract from the point, that it is easy and productive. To reiterate this, they have already said as much... They made a language randoms like scientists and researchers and dumbfucks could easily create good software with.

Facts (explain where you disagree): 99.99999% of end users open a program and don't give a single fuck about what language it was made in.

They only care about noticeable impacts to performance. Like geeks who are less geek than us care if the program is eating the living shit out of their RAM and CPU, and total normies care if they open an application and their computer slows to a crawl or has a bunch of bugs and glitches.

You agree right? The end user cares about the software itself and what it brings to their daily lives.
>>
>>103614728
I can "wrap my head around" it without issue. Almost anyone can, if they were actually motivated and dedicated. This is part of the cope used that people with zero notable qualities other than thinking they're smart.
If your dumbfuck neighbor can do what you're doing, your ego would collapse. You'd literally have nothing at all that allows you to feel anything but inferior to others.

This is a fake idea in your mind.

Rust is BLATANTLY impractical which is why zero software has been made with it that wasn't built like this: >>103614695 . In fact experienced C-something devs will come in off the top rope to slay you on this point also. Rust is NOTORIOUSLY unproductive, whereby their claims to fame are a buttplig sex toy application. So you can quite literally "go fuck yourself" with Rust.
>>
>Go is a shitlang for tardwrangling inexperienced devs into building working software
>Not true! I'm an inexperienced dev and I use Go to build working software. Therefore all other languages are impracticable and useless
>>
>>103614302
>doubles down on "docker app"
>>
>>103614772
>scientists and researchers
>using Go
lol
>>
>>103614826
>Therefore all other languages are impracticable

They aren't """impracticable""". Rust is though, and this is a known fact, if you wait around for an hour or two the C autists will arrive and corroborate this.

Moron people being able to create great software doesn't negate the points. Please see >>103613225 . A language is a tool, tools are used to create things. A retard autist with a crayon can make a drawing of a smiley face, Picasso with a crayon can create works of art... Both a skilled and non skilled sculptor benefit from a superior and easier to use chisel. Do you understand yet?

The downsides lie in potential complexity when it is actually required. As an example, if the artist's paintbrush is just one size he might not be able to add fine details he could with the added complexity of finer brushes. IF HE NEEDS IT in the project. This is actually a very generous steelman framing, because in actuality Go can do almost everything and even manual memory management via cgo I believe. So it's an overly generous illustration of the point.

For the most part, for almost all projects which cannot have GC (e.g. video games) or are like kernels, embedded stuff, Go can do everything other languages can do. And in many cases is the best and most practical choice for a person wanting to complete the task entirely by themselves.
>>
>>103614885
Here's a triple down, because I don't understand what you're trying to say even. Yes your software should be accessible, yes you want a drooling invalid to be able to click your software and use it. Creating a docker image and UI frontend is absolutely critical because a lot of end users can't really use server applications any other way. Most end users in general don't know what a command line is, they need to be able to use your software too.
>>
>>103614902
>for almost all projects which

Apart from those which*
>>
>>103614695
Commander Pike believes the exact opposite. Go is apparently designed so that google’s DEI hire codemonkeys can be let loose on a task without getting bogged down or fucking up
>>103614807
>their claims to fame are a buttplig sex toy application
meanwhile go’s claim to fame is https://youtu.be/ZACOc-NwV0c
>>103614655
Why do you retards keep on comparing go to python? Are those the only 2 programming languages you’ve ever used?
>>
>>103615072
>Why do you retards keep on comparing go to python
Because we are telling you that it has the benefits of Python, sans the performance tanking that comes with it. That's a big deal.
>>
>>103615124
>it has the benefits of Python
like, for example, list/set/dict comprehensions [or at least sets lmao], decorators, iterators, named arguments to functions, lists/vectors and Python’s ecosystem? No it doesn’t
And besides, if you wanted “python but fast” just use cython or some shit lol
>>
>>103614633
> Think about concurrency (something Go makes very easy)
It was made very easy years before go was created https://en.wikipedia.org/wiki/Green_thread
>>
>>103615203
I mean cython is an option. It is what I'm getting at generally speaking, that angle and also just simplicity, maintainability, legibility.

Go ticks all the boxes for me. I thought okay, Python would be great for a solo dev but the performance hit not so much. Go also solves some issues in regards to Python versioning etc... On servers this can cause really unacceptable bugs in very specific scenarios, if part of the chain necessary to get you into your LAN network relies on Python and the system updates and fucks with it in some way.

Usually this is only an issue on consumer devices like Synology boxes. But I think many end users will be using things like Synology so I want to be mindful of this. Generally speaking the language does everything I need it to do, by myself, and the programs run well without dropkicking my system resources in the face.
>>
>>103615340
>just simplicity, maintainability, legibility.
IMO go fails here by not having support for non-nillable variables and const variables. the compiler telling you that a variable isn't going to be nil unexpectedly and that its value won't change when you least expect it are big wins for making code easy to understand and maintain.
>>
>>103615072
>Why do you retards keep on comparing go to python? Are those the only 2 programming languages you’ve ever used?
it's actually one of the OG talking points. gotards have zero original "opinions". you should have figured this out by now.
better easier C (GC and MULTIPLE RETURNS), faster than python (and easier to deploy).
this is not a joke. this is literally all of what the OG go team had in mind in the few weeks (yes, weeks) they spent "designing" the language.
in a modern language design context, the OG go team themselves were the original gotards, irrespective of the supposed (outdated) authority their individual names carry.
watch some videos from ~2011 to get a better feeling about this. i vaguely remember a video where they were setting down, including the aging C guy, and talking about all of this, openly and UNIRONICALLY.
>>
>>103615203
"python" in the gotard talking point is a replacement word for small simple pseudo-code like language.
those pesky technical details are not relevant. lol.
>>
>>103615644
>i vaguely remember a video where
think you could find the vid?
>>
>>103601005
Go won
https://youtu.be/WTAeW0wyTzA
>>
>>103610304
most genious go user
>>
>>103613531
I'm still salty about picasa
>>
>>103614486
Redpill me on Nim. I thought it was a memelang
>>
>>103616153
Can't take it seriously after his first props given is essentially the use of interfaces. Gotards think everything in Go is unique to Go.
>>
>>103616320
Go has interfaces and duck typing. Different from Java.
>>
>>103614486
Go sisters...
>>
>>103616341
>go has interfaces
so does java
>and duck typing
not a good thing. explicitly declaring when an interface is being implemented is better
>>
Languages with duck typing don't need generics
The copy-pasted functions and ugly sort and heap interfaces in the go stdlib suggest that it doesn't have duck typing in a useful way
>>
>>103615644
Or that's literally what drew people to the language to begin with, and they never heard the """talking points""". You may be shocked to learn that unlike Rust, people use this tool to make things and don't have a political religious attachment where they look up "talking points" to aid "their side".

Yes your random neighbour you think you're better and smarter than can make software now. Probably more than you can, since he's using something more productive. What will you do now that your boomer dad can mog you at the only thing you have in life to feel good about?

Hm.
>>
>>103617314
No I use Rust because Go is objectively inferior.
>>
>>103617314
I'm not going to lie broski, you do not code enough to know what you are talking about.
the syntax and semantics of the language you program in do not have major effects on the software that you can compose. at the end of the day, niggas be using vectors, maps, sets, b-trees, queues, and other constructs to organize data into manipulatable forms. my random neighbor is not going to be very good at this, hence he will never create more complicated software that todo apps that just need you to understand the basics of strings and some other shit. people that are able to create complicated software will naturally enjoy other software assisting them (compilers), which Go does not really help that much with.
you seem to be talking a lot about Rust not being used for useful software, which is very funny, when numerous companies that have deployed millions of LOC are adopting Rust. for no reason tho, right?

I want to make this as clear as possible: Rust has a wonderful compiler. it is very useful. I know several senior engineers that have deployed more projects than you and me combined that rave about Rust. Rust's guarantees might not be the most useful thing for little 200 line projects, where the entirety of the project can be kept in your head, but absolutely assist when you start pushing into the realms of larger projects. just like NASA suggests an if-else style of programing, Rust's exhaustic enums prevent you from missing a case. the compiler prevents you from shooting your foot off when you make a change to some complicated concurrent behavior 2 years after you wrote it.

anyway I'm a little bit tipsy. I hope you consider my words. pic related is a Lisp I implemented in Go. I no longer use Go.
>>
>>103601808
because its a tranny memelang designed for pajeets
>>
>>103603151
lol... does it really make sense to use for loop for everything. I think in PHP the filter methods are much faster than a simple for loop
>>
>>103603151
>map filter too hard
kek
Go is made for double digit IQ monkey niggers
>>
>>103607292
bruh, unreadable scribble. wtf does that even do?

Are you the guy shitting on Uncle Bob, while writing that shit?
>>
>>103617845
it's literally not even too hard, map/filter/reduce are more explicit about what exactly they are doing, whereas with traditional loops you need to spend time looking at the operations performed on the relevant variables
>>
File: carbon.png (861 KB, 2164x5506)
861 KB
861 KB PNG
>>103617855
it is a function used in a memoization library I wrote. I am going to use it to speed up pathfinding operations in another project
>>
>>103617897
I can't read it desu. I've been programming for 10 years.

Maybe rewrite it in go so I can understand what it does.

Also, we obviously now can see why go is great.
>>
>>103617918
you only cannot read it because you are not familiar with Elixir. some things about that code that differ from Go:
- multiple function heads are permitted. you will note that `evict` can take 2 arguments or only 1.
- function heads can be used for conditional branching. you will notice that `evict` returns immediately when the counter is 0. this is the concept of pattern matching, and is no different from the `case` branches also found in the code.
- anything that gets modified within a branch must be explicitly returned from that branch. this means that every if, every case, etc. is akin to a ternary expression in other languages. this forces your state changes to be incredibly explicit.

at a high level, my code is tracking argument (such as 40 and 2 to an add operation that returns 42) to result. so {40, 2} -> 2. if we do a bunch of addition, then the map will grow as new arguments are added. eventually this would cause memory to become too much, so we need the ability to evict less-often used entries.
so I also track frequency of use of arguments.
I have two "mapping" data structures:
- a basic bitch hash map linking the arguments to the result and frequency
- a b-tree linking frequencies to arguments (stored as hash sets within the b-tree). all of these data structures were chosen based on how they need to be accessed by the lib.

I've used Go a lot in the past. I do not like it any more. I highly recommend picking up a functional language. the explicit nature of state changes makes it very uncomfortable to do stupid shit.
>>
>>103614486
>C++ 2nd slowest
I think your benchmarks are off.
>>
>>103617918
i don't even know that language and i can read it just fine, you are just retarded.
>>
>>103617976
I hate dynamic languages. Dynamic trying always causes more problems than it solves.
>>
>>103617980
it's io bound stuff and he's using boost i'm not surprised.
>>
>>103617976
bruh, I don't see the benefit.

Lets say you have a company and need to hire elixir devs to maintain that shit. They can charge you an arm and a leg.

Meanwhile, if it were written in OOP, everyone could modify it.

I know a guy who used SCALA, whcih is quite a good language, then he switched to something else, because he couldn't find good/cheap developers that knew scala well
>>
>>103618009
StdLib slower than fucking python, which is just calling some C/C++ code to do the work anyway. He fucked up his tests. There's no way C++ is ever behind any of these dynamic, interpreted languages for almost any usecase.
>>
>>103618021
my guess is that a single elixir engineer will be more effective than 10 pajeets.

though, the manager generally prefer disposable wageslaves.
>>
>>103618002
I have not run into issues with this thus far. I do enjoy static typing, do not get me wrong, but, I also write extensive tests and produce many small libraries that I compose together in larger projects, which keeps things very simple, small, and easy to understand.
also, by having types, you generally have to sacrifice the ability to access "eval" (this is not definitive, but tends to be the case). eval is OP when it comes to serialization, and having the ability to trivially introspect your program as it is live is super convenient. I remember running into issues with Go's reflective capabilities (cannot access private struct members for serialization, for example).
>>
>>103618025
stdlib and boost are not the same thing.

also, if you are not using epoll or something like that c++ will be pretty slow for networking stuff.

meanwhile all languages that i know of that have async support uses epoll behind the scenes.

some can use io_uring optionally.
>>
>>103618032
>my guess is that a single elixir engineer will be more effective than 10 pajeets.
>though, the manager generally prefer disposable wageslaves.
would be really stupid to hire him. he could blackmail you with his complex scribble that nobody but him can read.

I'd prefer a 105IQ pajeet over a 155IQ fp retard any day.
>>
>>103618047
true, but i'd prefer 5 rust engineer over 20 go pajeets.
>>
>>103618036
Fair enough. The type inference in languages like F# and Ocaml causes me all sorts of problems (you end up just giving the compiler the types because it shits itself otherwise). Have you tried gleam?
>>
>>103618054
>true, but i'd prefer 5 rust engineer over 20 go pajeets.
nah, we do servers and the difference in performance between go/csharp is not that much. rust trannies might write backend servers that are 50% faster, but you just buy another server and go/csharp are just as fast.

meanwhile, you'll pay 10x-20x the server cost on the rust trannies wages to write that shit.

man, this thread tried to shit on go. but it just proved why go is the GOAT
>>
>>103617727
What would be my motivation to use these other tools, like >>103617897 , if the current Go software works great without any noticeable performance issues? I don't understand what would make me do so. What would drive me to make my job harder for no noticeable benefit?

I don't expect to ever be making 100K line programs because I'm only interested in making container applications. The entire reason I got into computing proper, although I got my CompTIA certs over a decade ago, is because I got a home NAS.
>>
>>103618105
no, even without talking about performance.
my point is that the 5 rust engineer will write something that architectured better and they will release a product faster than the 20 go pajeets.

and they'll do so for cheaper, even if you pay 5x 200k it'll be less expensive than 10 to 20x 100k.
>>
thread is becoming a jeet cope lol
>>
>>103618107
i've worked with bigger than 100K lines program, sometime it just happen just to the sheer scope of what you have to build.
>>
>>103618135
yea, even if they won't admit that they lost they admited to being jeets which is good enough for me lmao.
>>
>>103618129
>my point is that the 5 rust engineer will write something that architectured better and they will release a product faster than the 20 go pajeets.
sure they will. even if they are 2x more talented than a go dev, just the compile time will make them slower than the go guy. Let alone the rust trannies having to type 2x more for the type annotations.

Man, in my industry I've never run accross some api written in rust. I've seen bunch of go, php, java, csharp and node.
>>
>>103618148
Indians don't use 4chan. Srs I think the only Indians here are jannies.
>>
>>103618157
Ok indian
>>
>>103618155
also bs comming from somethhing that doesn't know shit about rust.

you can easily make incremental compile time < 0.5s.

most of the time isn't actually compiling but linking, just changing the linker will reduce 10x link time which will reduce build time.

then you can separate your code into crates because compile is on crate level, so if you only recompile a small crate each time you can easily get bellow 100ms.

then you can use cranelift, which is a different codegen backend, and will also be faster.

if you use all those techniques together (there are more but that's enough) you can get compile time fast enough that you don't notice.

also most time you don't need to compile, cargo check is enough

because rust has better static checks than go you do not need to compile as often.
>>
>>103618155
>>103618240
also, about typing more, we already established that you need less rust code to do the same thing as go, this was established in >>103578084 and previous threads.
>>
>>103618155
>>103618243
>>103569313 this is the post i meant.

see, you can have a full rust end to end compiler in 2.1M sloc (using cranelift instead of llvm)

whilst the go compiler is 2.3M lines of code.

on top of that rust as a LOT more features than go.

so rust manages to implement itself, which has a lot more features than go in less lines than go manages to implement itself.

this prooves rust can do more stuff in less lines of code.
>>
>>103618155
also, i don't care so much about what you've seen, i've already worked with tons of api's that are written in rust.

also worked with a lot of software that were made using rust like qdrant and influxdb.

also, i use typst on the daily.
>>
>>103618253
>>103618269
You seem insecure
>>
>>103618280
about what ?
prove me you are not a jeet lmao.
>>
>>103618292
Struck a nerve, huh?
>>
>>103618155
>Man, in my industry I've never run accross some api written in rust. I've seen bunch of go, php, java, csharp and node.
>some api
this tops "docker app".
i'd still take the chinks from earlier in the thread to the current copers any day.
>>
>>103618240
>>103618243
>>103618253
still not worth it. you'll have to hire rust trannies and your office will have smell of blood. I prefer curry smell over open wounds any day.

you don't understand how business work idiot. We do c/b analysis and pick the cheaper option.

CB
Rust:
+faster
-less developers
-complex with high learning curve
-your office will smell like blood stains

Go:
+easy
+fast enough
-verbose
-bigger developer pool

Csharp:
+easy
+huge developer tool
+great support in terms of rameworks/libraries
-your office will smell like curry
>>
>>103618309
>rameworks/libraries
Good morning saar
>>
>>103618304
Our server consumes external apis, we do b-2-b, you fucking retard.
>>
>>103618300
it's fun how because you are totally unable to respond to valid criticism you fall back to ad hominem.

if that's not a gotard loss, tell me what it is.

>>103618304
this doesn't because there are tons of api's written in rust.

besides, this post went through rust because cloudflare uses it.
>>
>>103618319
bruh, c# linq + ef core + hotchocolate will make you spin up a fully queriable graphql endpoint in literally 5 minutes.

do that in rust, and it takes 2 weeks.
>>
>>103618304
This guy is legit autistic. Disabled. Total freak. So sick of autism on the internet... Because I'm mentally ill I have to spend every day around autistic freaks? Fuck.
>>
>>103618322
Thats not ad hominem, sandeep. lmao
>>
>>103618309

i can agree that rust is harder to learn

if you have to learn either go or rust and build something in 3 days i'd pick go.
however if you master both, rust is a way mor productive language.
the learning curve been that way just shows there are more features;
those features do mean it takes longer to learn it but they will absolutely make you more productive once you know them.

also sorry but i think rust has a better ecosystem as a whole, but i'm willing to see your conter argument to that.
also, crates.io has 100B+ downloads now, if anything it shows rust is being widely used.


and to finish it, "muh tranny" first thing, it's a nsa psyop to keep software unsecure.
secondly, most rust engineers i know me included are not trannys in fact they hate them, trannys are a very vocal minority.
so no, you don't have to smell bloodstains.

also, as much as i hate trannys i'd rather work with a tranny than a jeet, at least they kind of know what they are doing.
>>
>>103618348
tell me this isn't an ad hominem, or you know all the wojak pictures posted in this thread.
>>103618280
>>
>>103618360
Thats not name calling at all, poojeeto
>>
>>103618337
bet i can make you a queryable graphql rust endpoint in about 5 mintues time tops (including the time to find out how).
could speedrun it in 1m if i already learnt how to do it before.
>>
>>103618351
I've nothing against rust. I even know how to write simple stuff in it.

But, on our ou backend I see no place for it. Maybe if we did some cpu intensive parsing of big data, then I would write that part in rust. But only that part. I would never even dream of writing the whole backend in it. It's complex as it is. I don't need more complexity.
>>
>>103618320
>external apis
>>
>>103618367
maybe, I don't know. If rust has some great library that does what hot chocoloate does. But doubt it, hot chocolate is freaking crazy and underrated, compared to what is available for other languages.
>>
File: file.png (74 KB, 789x594)
74 KB
74 KB PNG
>>103618369
so i've not written only backends in rust, i've mostly written system applications that'd do a lot of database querying, working with that stuff, then orchestrate tons of computers and whatnot.

but i've also written backends in rust and it's honestly not that hard.

you can get your hello world route in less than 10sloc using either axum or actix, idk picrel isn't that hard.

also you do not have to use the macro notation, you can also just add_route with your function.
>>
File: file.png (94 KB, 542x134)
94 KB
94 KB PNG
>>103618395
ie this function from another function dynamically adds routes to the main server.

it's pretty extensible.

though it's some old actix code i did 4y ago, today i'd probably go with axum.

still, it's not "hard" per say.
>>
File: file.png (690 KB, 1136x404)
690 KB
690 KB PNG
>>103618406
if you are curious how both the functions look
>>
>>103618410
>>103618406
also those examples are like 4yo, things are even more straightforward nowadays.
>>
>>103618395
I couldn't find a good ORM for rust. The one I found, lost freaking autocompleten after the first filters/select lol. The code still worked with additional chained methods, but, the editor told you 'go fuck yourself, I am not helping you'

so I dropped learning rust :D seems like a joke project, desu, compared to whats out there.
>>
>>103618436
so i generally think that ORM are shit.

but that's not only absolutely wrong you probably either set your editor bad or went with a meme orm that's unused.

because from what i know because of the metaprogramming features of rust we even have tooling that allows you to do static checks against your database at compile time.

and other kind of static checks to check that your queries are actually valid.

so i'm pretty sure you are bullshiting.

also especially since chained method would be function and that's the easiest thing to autocomplete.

tldr, skill issue.
>>
File: file.png (784 KB, 2618x845)
784 KB
784 KB PNG
>>103618436
>>103618455
ie this is a redis client and not orm but that's kind of the same thing, i even have documentation in my completion:
>>
>>103618395
>axum or actix
or poem.
just like you, this is not the kind of stuff i write every day. but i used poem once, and i liked it. so i'm giving it a mention.
>>
>>103618470
oh yea, there is not a lack of choice.

i like axum in philosophy because it uses tower which mean you can use all extensions of the tower ecosystem even if they are not web server centric.

ie use a generic tcp or tcp connect rate limiter that wasn't made specifically for backend purposes on your webserver.


anyway, i've written a few backends in rust but it isn't what most of my work consist of, i do more system programing stuff that do runs on servers but do not expose an api.

sometime some ipc too.

but i use raw tcp more often than webservers.
>>
File: file.png (522 KB, 1150x447)
522 KB
522 KB PNG
>>103618483
also just the fact that you can do that kind of stuff is enough for me.

i can just have a type that requires impl Caching, and then add caching to my application in a way that's cache mechanism agnostic.

ie i could impl Caching for a postgresdb client and it'd transparently work with my system.
>>
>>103618455
It was the default vscode extension for rust. Autocomplete worked for everything except for the ORM, but only after chaining methods.

But either way, everyone will admit that rust is more complex than dotnet.

And our main bottleneck is the database. Our server will never crash frist under load, it will always be bottlenecked by the mysql database.

Currently our serves run using php swoole, The database server is 4 core 16gb. The swoole servers, 2 of them are 2 core 4gb ram. They will never crash first. What advantage would we get from using rust? Running the api servers on 1 core 2gb of ram? that would save us 50 usd lol... meanwhile the developer cost would rise to 50k
>>
>>103618499
when was it ?

also idk i don't use vscode, i use nvim and rust-analyzer as my lsp.

though ik rust-analyzer was still pretty beta a few years ago.
and there is a lot of settings that you can enable / disable for it.

ie you can tell it to hint the type of all your variables so they will always show, but i disabled it.
>>
>>103618507
>when was it ?
maybe 2 years ago when I played with rust for fun
>>
>>103618499
>>103618507
i can agree that rust is more complex than dotnet for sure.

also your usecase makes sense imo.

my fight is not for rust above all else, it's against go specifically.

i'd rather use dotnet than go.

i'd rather use rust than dotnet because i'm the most proficient with it and for the things i do it is a better tool (ie i do performance critical stuff) but yea, dotnet has a p good ecosystem from last time i worked with it.
>>
>>103618515
yea things have definitely improved since then.
idk what lsp vscode uses, but if it uses rust-analyzer i think you are pretty good.
>>
>>103618498
>async_trait
yeah. that's old code alright ;)
>>
>>103618521
>my fight is not for rust above all else, it's against go specifically.
>i'd rather use dotnet than go.

yeah, I'd rather use dotnet over go as well. But that being said, we wrote a websocket server in go with fraphql subscriptions. Man, that shit was easy to write, AI did all teh work and channels are perfect for graphql subscriptions. And the performance is incredible.

Also, I see many of our partners using go. There must be a freaking reason why big companies would do that.

We are in the casino business, and the game provider for stake.com, which we use as well, uses go for their b2b apis.
>>
>>103618531
it is haha.

i could remove the async_trait and do without now. but i'm on other projects that are more of a priority now.
>>
>>103618507
>i use nvim and rust-analyzer as my lsp.
are you me? lol.
anyway, i recommend ra-multiplex if you don't know about it. it keeps ra running even when you completely close nvim. so ra doesn't have to rerun from the start when you come back.
>>
>>103618533
i think the biggest reason for go is that it is very easy to learn.

i already said in the past that if you have an engineer and he has to learn go or rust and build something all in 3 days, go is a better choice.

i do think you are better doing in rust if you master both.

but companies have different priorities.

they want their employees to be disposable / replaceable.

and a language that can be learnt faster does make sense in a business environment, it does not mean it is the better tool to write solid programs but it is more economical for sure.

it all depends in what the business priority are.

cheap > go, nodejs, php all that kind of stuff
good > rust, and others

go is probably so popular because you can still get reasonable performances whilst still being in the cheap category.

however i do think it's a pain in the ass to work with.
>>
>>103618555
oh that's nifty, thanks for the tip.

although i generally have my computer on for days to week at a time (sometime just in sleep mode) so i don't have to restart it that often that's pretty sweet.

desu i've been meaning to rewrite my nvim conf for a good while, i'm still using config.vim and i'll probably switch to the .lua stuff.
>>
>>103618565
I am pretty sure dotnet is close to go in terms of performance and I'd argue even more developer friendly..

but that depends I guess. In dotent ecosystem you still need to understand abstractions and follow the OOP principles to some degree. even though, dotnet did add minimal apis and does add more and more functional stuff...

But I guess back then when they started, go didn't have such competition.
>>
>>103618580
yea, honestly i feel like the biggest thing going for go now is momentum.

but today there are definitely better options imo even if you don't consider rust.
>>
>>103618572
just to be clear, i didn't mean it would work through device restarts. that doesn't work. it helps with nvim restarts. e.g. you work on a big(-ish) crate, then close files from that crate, work on other stuff, and a couple of days later, come back to that crate.
it is basically a deamon that keeps ra processes attached, and you rpc to these processes through it.
>desu i've been meaning to rewrite my nvim conf for a good while
i don't know how far behind are you, but i did that recently, and it was a pain in the ass to an extent actually.

moved from "rust-tools" to "rustaceanvim". inlay hints are built-in now. but their position is now annoying. an addon called "nvim-lsp-endhints" fixes that thankfully.

there was also an issue between cmp-nvim-lsp and ra related to the latter implementing laziness or something like that. but it's now fixed.
>>
>>103618614
>yea, honestly i feel like the biggest thing going for go now is momentum.
maybe there is other reasons as well.. I did look at csharp dev tooling licenses randomly, and they fucking scared me.

If you are a big company, Microsoft will probably fuck you over to pay 200+ usd per employee to even use their developer tools.
>>
>>103601808
I just think the way of writting go is weird
>>
>>103618614
>>103618657
go would have been a DOA meme if it wasn't a "google language". discussing anything away from this single deciding factor is misguided.
many better languages covering varying feature sets and paradigms came and go. they didn't make a dent adoption-wise compared to go simply because they weren't "big corpo" languages.
>>
>>103618656
oh yea i got that, but what i meant is that my vim session generally last days.

i see, honestly i'm still using coc-* because my vim setup is really old (ie a decade) and a few years ago coc was the new thing but it still kind of just works so i haven't bothered yet but i plan to do it sometime early next year.

>>103618657
oh that sounds bad.

though, i think there are other tools that are not dotnet or rust that would be a better pick than go still.

>>103618667
my issues are not so much about that, it's more about a few infuriating things i mentioned in this thread:
>>103578084

but yea, i dislike having to work with it and i'll actively try to avoid having to.
anyway, rn i'm pretty happy, i'm writting rust fulltime and it's not meme crypto blockchain bullshit or backend, so that's pm what i wanted to do tech wise.

i'll probably do biomed in the future though.

>>103618686
DOA ?
yea, though, they admited that it was designed for retards using an euphemism so that's kind of funny.
>>
This thread exposes programming as an autistic pursuit for freaks. How embarrassing for me that I post here.
>>
>>103618791
No shit
>>
>>103618701
>honestly i'm still using coc-*
ewwww.
you should hide in shame ;)
even before nvim added builtin lsp support, we used LanguageClient-neovim.
>>
>>103618922
hahaha yea i know i know.
why do you think i'm about to rewrite it.
before coc was a thing i'd use deoplete i think.
>>
>>103618791
>>103618798
dude, this is /g/ what made you think this isn't autism central ?
>>
>>103617155
>so does java
Does Java have the nice consistency shown in the video? No. Gochads won.
>>
>>103618791
you can be autistic about any subject, that doesn't make the subject inherently for autists.

ie, i know an autist for which his obsession is painting, another it's cooking, that doesn't make painting or cooking as a whole an autistic pursuit.
>>
>>103619054
>that doesn't make painting or cooking as a whole an autistic pursuit
idk about artists but professional chefs have to work ridiculous hours for shit pay, you have to be autistic to do it
>>
Simply put, the average google software engineer doesn't have enough brainpower to understand generics, so it was decided not to include them in googlelang
>>
>>103619180
>professional chefs have to work ridiculous hours for shit pay
omg i can smell the curry
>>
>>103603270
>performance critical programs don't want GC
no shit sherlock
>>
>>103618943
Let me tell you a story... I follow a content creator, followed for years. One day he did a video with a fan. The fan was a stereotype redneck retard. It made me feel a sinking feeling inside, like somehow that reflected on me.

The moral is, upon seeing the severity of autism, I feel a sinking feeling. Like this is what my life has come to... I suspect Go may be too neurotypical for the site.



[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.