[–]▶ No.805127>>805135 >>812589 >>813020 [Watch Thread][Show All Posts]
Since we have a Rust thread there should also be a Go thread since it's the better language and will replace C/C++.
▶ No.805132>>805223 >>812455
Pretty sure Pike used Plan 9 on a mac for the longest time anyway. Perhaps it was over vnc, I can't quite remember. You can tell from the design of P9 that the Bell Labs guys weren't particularly fond of local storage, the Plan 9 filesystem was designed for transparent networking. Hell, the plan 9 system was designed for being networked - there's a reason it doesn't have a superuser because you were only supposed to be storing your shit on your machine, whilst being connected to the sysadmin's login and fileservers.
As far as I know, along with a lot of the Bell Labs guys he uses acme and the like from Plan9Port. Macs are alright, since they all have similar hardware, so if it works on one machine it'll probably work on all the rest.
▶ No.805135>>805138
▶ No.805138>>805140 >>805489
>>805135
"I'm now at Google."
opinion discarded
▶ No.805140>>805141
>>805138
Then you're stupid. Google employees have made massive contributions to the software and technology world, and to dismiss those on political grounds is both pathetic and embarrassing.
▶ No.805141>>805143
>>805140
A lot of contributions are just pushed mainstream way before the universe is prepared for them. Plus they have to keep themselves afloat with quesionable decisions based on that new tech which is always awful.
They aren't ALL faceberg/schmidt though, pushing for universal surveillance. They also pushed for universal crypto and stuff (to their surveillance servers and beacons too).
I think plan9 had a better ethos than google but either way the push in that cloudy direction was inevitable.
▶ No.805144>>805149
>>805143
Not my fault the site doesn't wrap reasonably.
▶ No.805153>>805181
>>805149
At 80cols that was properly formatted paragraphs.
▶ No.805178>>805186
Why would anyone need Go? What does it do better than existing languages?
It doesn't even have that safety gimmick that Rust parrots.
▶ No.805181>>805489
>>805153
>80
>reasonable
retard confirmed
▶ No.805186>>805187 >>805199
>>805178
Muh server applications
It allows for a very fast development cycle like php, and the compiler is probably just as anally retentive as rusts', so unlike php you can't just run broken code.
It's as safe as any garbage collected language these days.
And don't forget Go's main gimmick: goroutines.
They make concurrency really easy.
Also, the reason it was invented in the first place: it compiles faster than C++
▶ No.805187
>>805186
I doubt that compilation times make a difference for anything but the largest projects.
▶ No.805189>>805190
Go is nit meant to replace C/C++. Go is to replace python, php, ruby, java etc..
Simple, minimalistic language that does NOT infinitely grows in complexity. It's purpose is not to be the best language, but good for its niche. Go is the first programming language that is fun to use and I have been programming for almost 10 years. (C, VB6, Java, Python3, Go)
It is for people that just want to master their tools and build shit. NOT for just out of CS college, look mom with this new functional programming feature, that my language gained recently, I am able to turn 10 lines of code into 4 lines of code type of person.
C99 and Go, I hate verything else.
▶ No.805190>>805194
>>805189
But it was LITERALLY made for pajeets fresh out of college...
▶ No.805194>>805196
>>805190
At least pajeets actually ship software instead of circlejerk on reddit about new Scala/Rust version.
▶ No.805196
>>805194
>at least they sip software
yeah broken pieces of shit that will not do what they are supposed to
are you honestly defending pajeets right now?
▶ No.805199>>805200 >>805205 >>805209 >>805214 >>805217 >>805687 >>812451
>>805186
>And don't forget Go's main gimmick: goroutines.
>They make concurrency really easy.
what is erlang?????????
>Also, the reason it was invented in the first place: it compiles faster than C++
that literally isnt the reason though. the real reason is that go is a language made for retards:
>The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt.
>It must be familiar, roughly C-like. Programmers working at Google are early in their careers and are most familiar with procedural languages, particularly from the C family. The need to get programmers productive quickly in a new language means that the language cannot be too radical.
▶ No.805200>>805203
>>805199
To be fair you need a very high IQ to appreciate Go.
▶ No.805203
▶ No.805205>>805278
>>805199
>C family
People misread that as meaning C. But it actually says Java and considering Android is Java we can safely say Go is a scripting language for Java devs.
▶ No.805209>>805219 >>805229 >>805235
>>805199
If it had generics it seems like it would be great to just shit out simple well implemented software. Maybe better interfaces would be enough.
▶ No.805214
>>805199
You keep misapplying this quote. It is not saying "go is for retards", it is mainly talking about syntax . It is saying "Go is a language for programmers", i.e. it is syntactically something you can pick up and immediately know what a piece of code is doing from a glance, even if you know literally nothing specific about the language.
▶ No.805217>>805238 >>805249
>>805199
>what is erlang
A horrible mistake. Take a break from LARPing and go try to work on any large project written in it. I'd suggest ejabberd.
▶ No.805219>>805221 >>805224
>>805209
>If it had generics
it is called java/c#/swift/dart
▶ No.805221
>>805219
So if we already have better languages then why use Go again?
▶ No.805223
>>805132
An actually cogent response on /tech/, this place is improving!
▶ No.805224
>>805219
java toolchain is masochism, C# isn't portable enough, swift/dart I never actually looked at are they any good? I know who will shill for swift already, just curious.
▶ No.805229>>805231 >>805233
>>805209
Generics aren't important.
▶ No.805231>>805235
▶ No.805233>>805235
>>805229
>generics will suddenly be important once we have them
▶ No.805235>>805237
>>805231
>>805209
>>805233
They'll probably add them in Go 2 just to stop the complaining.
▶ No.805238>>805251 >>805260
>>805217
>Take a break from LARPing and go try to work on any large project written in it. I'd suggest ejabberd.
How about something people actually use like Discord
▶ No.805249
>>805217
>suggesting erlang is larping
epic XDDDDDD
▶ No.805251>>805268
>>805238
>discord
>erlang
???????????????????????
▶ No.805260
>>805238
Discord is botnet. You've got an open chat standard in XMPP you can control yourself.
▶ No.805268
>>805251
The other guy is close, but not quite correct. Discord uses Elixir, which is a language that runs on the Erlang VM.
▶ No.805278>>805283
>>805205
That's... Not right at all. I.. Dont think you know what you're talking about. They're not required to use one another and go is aimed at websites and servers, androids flavor is angled at mobile app design. Java can perform as middleware using ColdFusion to perform what golang would do. In fact creating a means to use the two in tandem not only seems super fucking difficult but not intended in the slightest
▶ No.805283>>805285 >>805294
>>805278
Poojeets use java.
Google needs poojeets but not on java projects.
Google invents java-tier (both C-Styled) compiled language for shits to write their noncritical backend software.
It wasn't relating to java functionality.
▶ No.805285>>805287
>>805283
what is their critical software written in?
▶ No.805287>>805292
▶ No.805292
▶ No.805294>>805297 >>805299
>>805283
Google is rewriting their Java stuff (like AdWords) in Dart the best language to come out of Google.
Go is used to replace their C++ systems stuff, but they would be better off using Rust for that.
Rob Pike and Ken Thomson are old washed up cronies who only work their because some losers idolize anybody who worked at Bell Labs, no matter how out of touch they are in today's world.
▶ No.805297>>805300
>>805294
>but they would be better off using Rust
Said no straight man ever.
▶ No.805299
>>805294
>how out of touch they are in today's world
Kill yourself nigger.
▶ No.805300
>>805297
Must be why Rob is such a rust fan
▶ No.805330>>805382
Googles "Go" is like
Microsofts "Powershell"
started from good ideas but horrendously designed
▶ No.805382>>805425
>>805330
I understand Microsoft's issue with powershell, but whats wrong with go? Its not limited to the .net core
▶ No.805425>>805475
>>805382
he's a retard. Go's design is just fine, the only problem with it is that it has like, 0 features and the devs refuse to add shit that would be very easy (like versioned dependencies). Or generics but that's not as easy as making a proper package manager
▶ No.805475>>805481
>>805425
>Go's design is just fine
lol
▶ No.805489>>805491
>>805138
>>805143
>>805149
>>805181
Daily reminder to not reply to obvious bait posts.
▶ No.805490
>>805237
Carloooooooooooos
▶ No.805491>>805495 >>805505
>>805481
>no generics
https://golang.org/pkg/builtin/#make
LOOOOOOOOOOOOOOOL
>>805489
how are those bait though?????
▶ No.805495>>805496
>>805491
>no generics
Unimportant (and your only argumentm though barely) however I can see why shitty programmers would demand it.
>make
...your point?
▶ No.805496>>805498
>>805495
>generics are unimportant
lol
>...your point?
my point is that they had to make a special function to create generic lists and maps otherwise it would be java 1.4
▶ No.805498>>805500
>>805496
The make function is not the only way to create slices or maps, and these are not generic in the first place.
▶ No.805500>>805501
>>805498
>defending bad design decisions
quick tell me how i can create my own generic data structures without resorting to code generation
▶ No.805501>>805505 >>805528
>>805500
Go does not have generics.
▶ No.805505>>805528
>>805491
>how are those bait though?????
it's obviously not contributing to discussion and is trying to derail the thread. You made those posts to derail this thread, klabnik-poster.
>>805501
>Go does not have generics.
That's not an answer. Are you markov chain?
▶ No.805528
>>805505
fugg i was discovered :DDDDDDDD
the first isnt my post though
>>805501
exactly
▶ No.805687>>805795
>>805199
>the real reason is that go is a language made for retards:
Go was based on Limbo, the language the Bell Labs programmers created to keep their jobs. Why would they care about "retards" when making a "research" language nobody else used but them? They wouldn't. That's literally the best they could do.
▶ No.805795>>805845
>>805687
But they explicitly stated that Go was made for american pajeets that can't into good languages.
▶ No.805845>>805846
▶ No.805846>>805850
>>805845
>The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt.
>It must be familiar, roughly C-like. Programmers working at Google are early in their careers and are most familiar with procedural languages, particularly from the C family. The need to get programmers productive quickly in a new language means that the language cannot be too radical.
▶ No.805850>>805851
>>805846
You keep misapplying this quote. It is not saying "go is for retards", it is mainly talking about syntax . It is saying "Go is a language for programmers", i.e. it is syntactically something you can pick up and immediately know what a piece of code is doing from a glance, even if you know literally nothing specific about the language.
▶ No.805851>>806048
>>805850
>You keep misapplying this quote
lol. nice damage control.
>They’re not capable of understanding a brilliant language
>So, the language that we give them has to be easy for them to understand
▶ No.806048>>806076 >>806089
>>805851
Why do you equate being productive as being retarded? It's sensible to design your technology to appear similar to the technology that came before it. It's sensible to want to leverage the familiarity of popular technologies that came before. That's all this is, it was designed to help the workers be productive as quickly as possible.
▶ No.806076>>812470
>>806048
Why do you not accept the fact they literally say "they are too stupid for good languages so we made this easy language for them"?
It's right there, stop being butthurt that Go is a language for retards and move on.
▶ No.806089
>>806048
>Why do you equate being productive as being retarded?
please provide a quote where i say that
>it was designed to help the workers be productive as quickly as possible
yes that's what it says in the quote. it also says that this language is aimed at retards.
▶ No.812451
>>805199
>erlang
>writing cuneiform all day
just kidding. erlang rules.
▶ No.812455
>>805132
plan9 has been described as "radically distributed". you really are not supposed to be running it with one user on a single machine.
as much as I like it thats one major piece of its philosophy I seriously disagree with.
▶ No.812470
>>806076
You keep misapplying this quote. It is not saying "go is for retards", it is mainly talking about syntax . It is saying "Go is a language for programmers", i.e. it is syntactically something you can pick up and immediately know what a piece of code is doing from a glance, even if you know literally nothing specific about the language.
▶ No.812490>>812494
>My first Go program.go
if err != nil {
return nil, err;
}
How does it look guys?
▶ No.812494
>>812490
pretty boring. You should do >>812126 instead.
▶ No.812513>>812574
▶ No.812574
>>812513
>In this test, the framework's ORM is used to fetch all rows from a database
They failed before even getting started. ORM is a retarded concept and will always perform poorly.
▶ No.812589>>812744
>>805127 (OP)
>since it's the better language and will replace C/C++
perpetuating this meme won't make this statement true. Just fuck off, shill. You just don't simply announce a language to "replace C/C++". That's not how it works.
▶ No.812744>>813021
>>812589
It was created by the geniuses of Bell Labs. If they want to replace their own languages, they should be allowed to.
▶ No.813020
>>805127 (OP)
>Since we have a Rust thread there should also be a Go thread
Checks out.
> since it's the better language
Also true
>and will replace C/C++.
mfw
▶ No.813021>>813386 >>813405
>>812744
I've met someone who worked at bell labs. They were a full on SJW faggot.
▶ No.813386
>>813021
I've met one too. He was a cool guy with a good head on his shoulders.
▶ No.813405>>813408
▶ No.813408>>813413 >>813465 >>813658
>>813405
Is it shocking? /pol/ kids screeching how using anything written by a lefits will give them aids isn't reality, political beliefs wont have a lot to do with programming ability or capacity for interesting ideas about that sort of shit. National socialists, anarchist socialists, and generic liberal centrists can all go to a college, learn computer science, then do good things with computers. It doesnt matter if some guy from bell labs happened to really support anti-racism, or if he happened to post on /pol/ about dead nigger babies.
▶ No.813413
>>813408
>Is it shocking?
Given SJWs weren't a thing back then, it's at least extremely unlikely. Unless you mean they're now an SJW but were normal back then, which is as possible as they being a skeleton now but having flesh as well when they worked at Bell Labs.
▶ No.813465>>813471
>>813408
The guys I knew from xerox parc weren't leftists and they designed a lot of what we take for granted today. The SJW thing didn't really start in tech until the late '90s. Example: tech used to be very pro gun. ESR would even take people out shooting after meets.
▶ No.813471
>>813465
Remember the good old days when Silicon Valley was supposed to be this huge nest of Ayn Rand-worshipping libertarians who were going to wither away the state with tech and hand everybody recreational McNukes™?
▶ No.813646
The computer shows of the early to mid '90s were great. Wall to wall computers and tech, beer by the cup like a sportsball event, sexy girls and/or butterflies/chameleons on every monitor display, a porn section, a programming books section with books on assembly programming and low-level networking, a Linux booth (around '95), a stungun and knives vendor for some reason, and often sharing the exhibit space in LA with a gun show (free admission to the computer show if you signed up with the NRA outside). It was men with male interests doing man stuff and it was awesome.
▶ No.813658
>>813408
No, I don't really care. I'm just saying that anon I'm replying to was lying, and that he didn't meet a bell labs hacker.