[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Rust vs. Go
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 17
File: jon_doe.png (26 KB, 640x240) Image search: [Google]
jon_doe.png
26 KB, 640x240
Time to learn new programming language, got to decide between Rust and Go.
What's your opinion /g/?
>>
File: B3HdE6m.jpg (272 KB, 900x1200) Image search: [Google]
B3HdE6m.jpg
272 KB, 900x1200
The fuck are those?
>>
Go. Rust is still way too unstable.
>>
>>42884962
Rust is the better language on a fundamental level.
Go has an awful type system compared to Rust, and it has less than ideal functional programming support.
>>
>>42885102
If you want functional programming then use Haskell or kill yourself.
>>
>>42885002
gear and some hamster

>>42885009
what if rust will be better after some time than Go and time spent on learning that language would be lost?
>>
>durr vs hurr

One is a system language still not in it's 1.0
Another is a web backend language with a GC


That's like comparing fucking python to C
>>
>>42884962
they're both for hipster tumblr faggots
>>
>>42885226
>Go is a WEB backend language
holy shit kill yourself
>>
Learn C instead
>>
>>42885123
I should kill myself for wanting a good paradigm to be available in a very new language?
>>
Rust, fuck google botnet
>>
They're completely different languages with different goals and design philosophies.

Rust isn't stable yet.
>>
>>42885304
>hurr people from google made its a botnet

When are you retards going to leave?
>>
>>42885286
It's like going to McDonalds to eat organic food.
>>
>>42885229
yeah, but I have some sense that Go will be the most used programming language someday
>thanks Googl botnet

>>42885258
I do it already :^)

>>42885326
what's main difference between their philosophies?
>>
>>42885340
what, we hurt your shillings?
>>
>>42885347
That's a horrible analogy given that Rust has very good FP support and is a very well designed language.
>>
>>42885394
Go is meant to be simple to understand above all else. Rust is a modern C++ replacement focusing on safety with a not-insignifcant amount of cognitive overhead due to its mutability and ownership semantics. It also has a lot of things inherited from functional ML-family languages while Go is mostly modernized C and strongly procedural and religiously minimal.
>>
>>42885474
>very good FP support

You can't even return closures because of the memory model.
>>
>>42885493
tl:dr

Go= Mean & Lean
Rust = Mozilla bloat
>>
>>42885394
Go solves no problems and doesn't build on any existing knowledge. There is nothing special about go. All you faggots telling people to learn Go need to go. OP just learn erlang at least then you can get an easy as fuck job working for a telecom.
>>
>>42885528
>mandatory GC
>"Mean & Lean"
>>
>>42885528
If by "Mean & Lean" you mean performant, Rust will eventually overtake Go as it has less dynamic runtime behavior. More language features != slower.
>>
>>42885551
God you're such a leet hacker for manually allocating memory please let me suck your dick

Grow up, GCs are a godsend, the days of 512KB of memory two decades ago where you were forced to manually do memory are long gone.
Some GCs are even faster than manual memory control.
>>
Any sufficiently complicated Go or Rust program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of C++.
>>
>>42885619
GCs can't beat the hypothetical perfect programmer ( who doesn't exist ) but they can beat the average programmer ( 98% of /g/ ).
>>
File: lerussianface.jpg (103 KB, 1000x1000) Image search: [Google]
lerussianface.jpg
103 KB, 1000x1000
>>42885619
>He doesn't know RAII
>>
>>42885619
It's like car transmissions, auto > manual
>>
>>42884962
aww, it is a gopher :3
>>
Swift
>>
If you are set on picking and learning one right now, I would reduce the question to the following:

Do you want to learn something and start building production-ready software ASAP, even if you are likely to drop the language later?
Learn Go.

Do you want to play with something more exciting, less stable, and more powerful? Are you just experimenting for now and not desperate to ship a product, but want something you will probably want to use more in the future?
Learn Rust.
>>
Rust is getting shilled a lot lately all over the internetz , how big is Mozilla's payroll?
>>
>>42885698
This is accurate

>>42885718
People heard about it enough times to actually check what the language can do, and realised it's actually a really nice language.
>>
>>42885735
Rust is just a badly made hotpot of Haskell, C++ and Erlang, it brings nothing that those languages already don't have.
Not to mention it's in a eternal alpha stage

Meanwhile Go is stable, performant and easy to use.
>>
>>42885769
Java is better than Go. Literally in every way.

Where is your God now?
>>
Why do Google shills feel threatened by Rust?
>>
Go, only because the Gopher is fucking adorable.
>>
Java
>>
>>42885769
>it brings nothing that those languages already don't have.
That would be relevant if I could use all of those languages in the same source file. Oh, wait, I can. It's called Rust.
>>
Learn both.

>>42885125
It's not going to be better than Go, and time spent learning a language is never lost.
>>
File: gopher.png (40 KB, 245x300) Image search: [Google]
gopher.png
40 KB, 245x300
>>
>>42885830
>It's not going to be better than Go
But it is.
>>
File: usergroups.png (47 KB, 427x180) Image search: [Google]
usergroups.png
47 KB, 427x180
>>
>>42885854
>bindings
U w0t m8?
>>
WHY ARE YOU COMPARING THEM THEY'RE MEANT TO BE USED FOR DIFFERENT THINGS
>>
>>42885573
The Rust compiler can't reason about channel operations like Go's can, because channel operations are functions in a standard module rather than being a language feature.
>>
>>42885769
>it brings nothing that those languages already don't have.

But it won't allow the things that they do. You can shoot yourself in the foot easily with C++. Rust added a saftey over the trigger. You can still shoot yourself in the foot, but you'll have to take the saftey off first.

Also, it's structurally typed, so non of that 3000 layers of indirection bullshit you get with C++.
>>
>>42885846
Then continue using Rust and enjoy doing so.

>>42885884
They're both general-purpose concurrent programming languages.
>>
>>42885894
You do realize that they will fix optimization after it satbilizes, right? They don't have an official langauge spec. It would be damn stupid to worry about that pre 1.0
>>
>>42885884
>both C like low-level languages
>both were created by big internet companies - Googl and Mozilla

they're like Python and Ruby, aren't they?
>>
>>42885926
My point is that there are some optimizations that cannot be done because of what's put into a module and what's in the language itself.
>>
>>42885949
And I'm saying that isn't static.
>>
>>42885910
>Then continue using Rust and enjoy doing so.
But I use both.
>>
>>42885949
Rust certainly doesn't have to be afraid of Go's performance.
>>
>>42885894
>because channel operations are functions in a standard module rather than being a language feature.

Something being in the standard library rather than integrated into the language syntax doesn't stop them from optimizing it. See: Option types.
>>
what about botnet Dart?
>>
>>42885962
I doubt Rust is going to replace std::comm with <- or ! ? so late.

>>42885983
Incoming years-old debian.org benchmark.
>>
>>42885949
Does Go even do any optimizations?
>>
>>42886002
It doesn't need syntatic sugar to be optimized. I really don't know what you're going on about now.
>>
>>42885910
Having concurrency support isn't novel and "general purpose" is a label (correctly) attached to nearly every well-known language.
>>
>>42885686
You mean manual >auto?
>>
>>42886019
Erlang is better than go and already in use in huge industries I really don't understand why people are jumping up Google's ass to learn Go.
>>
>>42886019
>Having concurrency support isn't novel

It's not support, it's language constructs built around it. Rust's types and pointers, for instance, are built to make things like concurrency easy. You have to worry about a lot of things doing that in C++.
>>
>>42886033
Because Go is easier.
>>
>>42886014
Obviously they do; you can read the release notes for the past couple versions. Though I hear they actually make a point of holding back on some things in the interest of keeping compile speeds fast.
>>
>>42886019
C isn't general purpose. It's a domain-specific language for creating buffer overflows.
>>
>>42886030
How dumb it is to move the hand off the wheel to do something the car should be doing itself.
Gear shifting is unnecessarily complicated and a chore, auto transmissions in every car can't come soon enough.
>>
>>42886014
-gcflags='-m' to see optimization annotations; most commonly it spews notes about inlining and escape analysis and common subexpression elimination, so yes.

>>42886019
Concurrency-oriented, though.

>>42886033
Google gains nothing from non-contributing users, mind you. Also, you're 'jumping up Ericsson's ass'.
>>
Both Rust and Go still create XBOX hueg binaries.
>>
>>42886062
Yeah but ericsson's ass is warm and full of jobs.
>>
>>42886066
Nope.
>>
>>42886066
A shame, but not particularly awful. And for Go binary sizes are not considered a high-priority problem.

>>42886077
Yes they do.
>>
>>42886054
No offense intended, but you also use Windows or Mac OS X, don't you?
>>
>>42886096
>Yes they do.
>>
>>42886096
*And for Go binary sizes are NOW considered a high-priority problem.
>>
>>42886109
Nothing wrong with either unless you're some jobless freetard
>>
>>42886048
I was thinking of support in terms of libraries or runtime support; that can be added to any language. Although I guess now that you mention pointer ownership Rust has more meaningful built-in concurrency support than go does.
>>
File: laughing_jedi.gif (2 MB, 325x244) Image search: [Google]
laughing_jedi.gif
2 MB, 325x244
>>42886053
>It's a domain-specific language for creating buffer overflows.

My sides just segfaulted.
>>
>>42886054
>I grew up in the late 90's and never learned to drive a stick!

Nigger you'll never know the amount of gas and breaking you can save yourself with a stick.

tfw I rarely touch the break...
>>
>>42886122
>The two sides of /g/
>>
>>42886113
How old is that rustlang compile? Last I remembered a hello world binary was 2MB
>>
>>42886124
Good luck putting typed channels into most languages as a library.
>>
>>42886130
>muh fuel efficiency
2nd or 3rd generation of auto transmissions already offer better fuel efficiency than manual.
Not to mention the latest ones.
>>
>>42886141
It's larger if you link the stdlib statically.
>>
>>42886141
It statically links to the runtime unless you tell it not to. gcc and the like dynamically links. Read the rustc arguments in his post.

tl;dr he's comparing apples to apples, instead of apples to oranges.
>>
>>42886054
Automatics are STILL less fuel efficient.

Instead of a bunch of traction sensors to determine the proper gear ratio you can do it to feel.

You can choose your own torque range with manuals.

It's not stupid to have one, it's just not useful for those who do normal driving.

These new gearless automatics are cool though.

>>42886130
Engine breaking is coming back with regenerative breaking on hybrids and electrics.
>>
>>42886156
No they haven't, they're also thousands of dollars more expensive.

You save money on your car and money on fuel with a manual.
>>
>>42886214
Also no one in america can steal your car because they can't drive stick.
>>
>>42884962
Obviously Go. Rust is still in the middle of development; what is true today is possibly wrong tomorrow already.
>>
>>42886195
>It's not stupid to have one

Electric cars dont even need a gearbox because the torque is highest at rest. It's more efficient not to have one. Enjoy your antiquated shit.
>>
>>42886150
That doesn't seem that hard to do, from the perspective of a sepplesfag: write a coroutine lib, use generics to implement typing, then add a threaded scheduler and then you're done
>>
>>42886214
>thousands of dollars
>$40k car

Oh yeah, I'm gonna go cheap out on 2% of the total car cost for a way shittier experience.
>>
>>42886195
>mfw no Electric cars with a stick

Please automotive gods
>>
>>42886141
>2MB
oh no, how can anybody possibly store a huge file like that :^)
>>
>>42886234
>mfw getting a used manual car in 'murica is 50% cheaper than a used automatic car.
>>
>>42886264
Only markets that exist are desktop one and fartapp one, right?
>>
Go targets experienced programmers who like to pick the right tools for their tasks and don't fall for fanboyism.

Rust targets homosexual C++ programmers.
>>
>>42886287
/thread
>>
>>42886234
I'd rather a manual in my 4WD, it's not a shittier experience, it's different and has use cases and advantages.

At the 13k to 20k mark having to spend another 2k does hurt.

>>42886223
So? They work on entirely different principles, CVT transmissions don't even have gears though so that's cool.
>>
>>42886287
Go targets fanboy google shills who can't into erlang and want to fight the power by not using java.
>>
>>42886287
Both languages target C/C++ programmers.
Go
>muh minimalism
Rust
>muh c++ syntax
>>
>>42884962

Rust is the future for game engines. Go might be the future for servers.
>>
>tfw writing a compiler in Rust right now
feels good
>>
>>42886310
>can't into erlang

I'd rather use a statically-typed language with actual unicode support and that doesn't deep copy everything going over channels.
>>
>>42886356
Use java then faggot it has much wider real world use than go and a better GC.
>>
>>42886392
>Java
>Go
>Apples
>Oranges
>>
>>42886287
>Go
>right tool for the task
>no generics, no adts, gimped type inference, loved exclusively for its implementation and because of russ cox/rob pike's influence
sure thing anon.
>>
>muh generics
>>
>>42886336
Go will not be the future of servers.

Where I work we have been phasing out everything not written in Java.

Its java.
>>
>>42885671
Yea let's go with this
>>
>>42886452
Java is the past of servers. Go is the future.
>>
>>42886033
>Erlang is better than go and already in use in huge industries I really don't understand why people are jumping up Google's ass to learn Go.
but more companies are using Go, including Apple
>>
>>42885769
>Meanwhile Go is stable, performant and easy to use.
So is Java, and everyone already knows and uses Java so let's just stick to that
>>
What's the poitn of this hipster shit with no support? Just use C++
>>
>>42886476
C++11/14 is hipster shit. Use C++98.
>>
>>42886476
>no support
I'd like to hear who it is you've been calling up for "C++ support"
>>
>>42886392
>AbstractSingletonFactoryProxyManagerSystemInterfaceSupervisorFactoryBean

No, I think I'll just stick with Go for now.
>>
>>42886469
You don't enterprise I take it.

Java is going to be the assraping dominator for the next 30 years.
>>
Does anyone shit about anything ITT?
Or is it just shills?
>>
>>42886421
>he fell for the C++, Java and Haskell faggots blowing Go's lack of generics completely out of proportion
>>
>>42886350
enjoying rewriting it during the year due to language changes
>>
>>42886531
i shit about anything, anon
>>
>>42886507
>look at this horrible shit you can do in java
>you can't write horrible shit in Go

Oh you got me son.
>>
>>42886551
I'm a scalafag, and scala is the competition here
why would I write Go when I could get a half-decent type system on a similarly performant VM?
>>
>>42886531
Go = Google shills
Rust = mozilla shills
Java = Oracle shills
C# = MS shills
Swift = Apple shills
Lisp = MIT shills
>>
>>42886557
except java promotes
>AbstractSingletonFactoryProxyManagerSystemInterfaceSupervisorFactoryBean
>>
>>42886507
>I'll pump a million volts into this elephant look at how AC is BADBADBAD!
>>
>>42886573
>lisp
>MIT
wat?
>>
>>42886573
Haskell und C?
>>
>>42886573
>C# shills
Those exist?
>>
>>42886568
Scala's "decent type system" is the reason you can go drink coffee when recompiling your 1k LOC.
>>
>>42886592
basically the muh LinQ
>>
Why am I even reading this thread
>>
>>42886598
you can't compare strongly typed languages and those that are weakly typed, it doesn't make any sense. type inference and the like are a generalization of the halting problem.
>>
>>42886619
Because your life is so depressing that you search for escapism wherever you can find it.
>>
>>42886598
It's a good thing my company has a build server then huh
>>
>>42886557
It's not the fact that you can do it, it's the fact that people actually do. Java's bullshit enterprise culture seeps into your code by way of other people's libraries and established conventions.
>>
>>42886619
Because you somehow hoped that /g/ was going to have an interesting discussion about programming languages, rather than just throw poo at each other.
I hoped for the same thing,
>>
>>42886652
That's why you're both fucking ignorant dumbfucks.
>>
>>42886647
Give it a few years man. Go will have just as much fucked up bullshit once its been in enterprise environments for a decade.
>>
>>42886512
>enterprise
Tepkok
>>
>>42886670
Not as long as Rob Pike controls it.
>>
>>42886693
mien fuher saving us from generics
>>
>>42886693
In a decade if Go still is used and has a wide adoption I promise you will see horrifying shit in enterprise environments just like java.
>>
>>42886715
I screencapped this. Let's meet again in ten years.
>>
>>42886732
I feel confident that this is one bet I will win.

If you look at any enterprise environments you will find horrific code in any language you want. Enterprise is where your dreams go to die.
>>
>>42886715
Well it was made as a response to having to use C++ and Java in that exact setting so I hope the trauma lasts. There is already a large community of faggots trying to bend the way they write Go into some Java clone which is scary.
>>
>>42886591
>Haskell

Simon Peyton Jones' mother's basement shills.
>>
>>42886732
sure thing anon <3
If this is what can happen to matz's language I have no doubt Go can be enterprise'd even further
https://gist.github.com/dhh/4849a20d2ba89b34b201
>>
If Go is so good, why does Google use sepples for 99% of projects?
>>
>>42886827
like?
dl.google.com is in Go (was c++)
>>
>>42886843
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
>C++ is the main development language used by many of Google's open-source projects.
>>
>>42886893
c++ is like c, with aids.
>>
>>42886902
If it was infected with aids, at least it would die already.
>>
>>42886827
Guess what they're using for new projects and rewrites.

>>42886768
The bigger threat is the webfags who are pouring in from Node.js or Python or whatever.
>>
>>42886937
They should add to the code guide that you shouldn't use C++. It already tells you to not use half of features.
>>
>>42886937
>The bigger threat is the webfags who are pouring in from Node.js or Python or whatever.
Their opinions have zero weight behind them. Nobody takes them seriously.
>>
>>42886969
now you understand why Go was made
>>
>>42886980
Yeah, I kind off noticed the sepples features they dislike are the ones that Go doesn't have, like exceptions.
>>
>>42885697
>tfw swift is completely ignored
A-apple-sama will not be happy with this!
>>
Rust isn't made by someone who got a Turing Award.
>>
File: Steve_Klabnik.jpg (18 KB, 500x500) Image search: [Google]
Steve_Klabnik.jpg
18 KB, 500x500
Rust is already the next target of SJWs and hipsters from Ruby on Rails
pic related
>>
>>42887280
>Rails is a web framework with GC
Rust is not
>>
File: btlang.jpg (642 KB, 2250x2700) Image search: [Google]
btlang.jpg
642 KB, 2250x2700
>>42884962
If you're learning a new language just for the sake of learning a new language, why not go with something interesting? I've always wanted to learn Squeak Smalltalk; just haven't got around to it.

Better yet, read this book if you haven't. It's one of the better CS books I've read. Starts with Ruby (yawn) but then gives you an intro to Io, Prolog, Scala, Erlang, Clojure and finally Haskell, explaining the rationale for each. Great book if you like languages.
>>
>>42887374
Learn Icon.

>dat goal orientation
>dat concept of success/failure instead of true/false

It came from Bell Labs in it's prime, too.
>>
File: workspace.png (136 KB, 1280x977) Image search: [Google]
workspace.png
136 KB, 1280x977
>>42887408
I'll have to check that out. Looks cool.

I was drawn to Squeak because of the whole visual programming aspect. That hasn't been done very often. I'd rather learn a language that tries to do something unique and interesting than... yet another scripting language in the vein of Ruby/Python.

But yeah, check out that book people. I read that before taking comparative languages at my university and it made the class easier. Also it's just a fun read (all of the Pragmatic books are.) And the practice problems are actually interesting and challenging, unlike your usual programming text. You can really "get into" them.

The author assumes you already have some programming experience.
>>
They're different languages with different use cases. Both of them are pretty good.
>>
>>42887175
Apparently they didn't like type generals either. There is a lot missing from Go to make it as powerful as other general purpose languages. And it will not add them because it was never designed to be a general purpose language.

Also,
>Ctrl-f " D "
>2 returns
>/ d / at top
>/ d / at bottom
Really?
>>
>>42885673
Not him but, could you explain RAII?
>>
>>42886130
>>42886054
>>42886030
>>42885686
>>42885619
Manual gt auto.
>>
>>42887374
it is a meh book juts like any other 'getting started with language X' guide.
>>
>>42886066
having a large runtime is not the same thing as a language that uses too much memory inefficiently. Memory dynamic management doesnt happen by magic, something running on your computer has to handle this, 2mb is not a lot to ask.
>>
>>42888268
http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization
tl;dr exception safe "manual" resource management. Basically if done properly there is no need to manually delete or clean up resources.
>>
>>42886356

>deep copy everything

Fix your message passing architecture.
>>
>>42886474
>java
wait, wait, wait... ok it started.
>>
>>42888452
>hah guise, java is slow right guise?
>>
Nobody mentioned D

>Go for faggots
>rust a shit
>>
>>42886195

use the semi auto setting which most cars have these days.

a computer + fuel injection + controlled rpms provides much better gas millage than what *you* think is best when driving a manual.
>>
>Rust
>kek, we can't have GC because it's for systems software like web browsers
>>
>>42888557
>Nobody mentioned D
>>Go for faggots
>>rust a shit
niether D, Go or Rust is going to gain mainstream traction. Swift will become a mainstream open source language because it was developed by the guys who make LLVM
>>
>>42888710
wtf never heard of switch

>googled it
>Swift is an innovative new programming language for Cocoa and Cocoa Touch

how is this going to win over cross platform languages except for objective c users?
>>
>>42888750
It isn't and it's not supposed to, anon is just a dumb.
rust and julia both use llvm though, so there's that.
>>
>>42888615
>huur, it handles the web so its not part of the system
oh these basement dwellers are too funny.

just so you know, web browsers are some of the most resource intensive types of software you can write that have to handle many concurrent layers of system networking and graphic rendering.
>>
well besides java, c++, and python what higher level/new language has a lot of library bindings?
>>
>>42888750
I hope you realize that Cocoa is just the UI libraries for OSX and not part of the language, you do realize that, right?
>>
>>42888837
that's like saying tk is just a library for tcl
the language is built to express the toolkit
>>
Who the *fuck* would ever say "Rust rust, Rower Rangers"?
That clearly show's what is a useful language and what is not.
>>
>>42888837

yes i know, i was just lazy and copied the first line.

here's some from the wiki page

>developed by Apple for iOS and OS X development
> Swift is designed to replace Objective-C
>uses the Objective-C runtime

i mean it's possible, but i doubt it
>>
>>42888898
It's typo time.
>>
>>42886507
>can't into oop
>being confused by widely used code design patterns
>hates long class names
>probably uses only a,b,c,x,y,z as variable name.
i present you the standard Ctard.
>>
>>42885544
>Go solves no problems
Concurrency.

Go work on your fizzbuzz.
>>
>>42888999
It doesn't solve concurrency.
>>
>>42888999
Go doesn't solve concurrency at all.
It uses a partial CSP model that means it has all the problems of Java wrt concurrency. read a book nigga.
>>
>>42888944
Javafag, you are an island
nobody agrees with your shit, not even C#
>>
>>42889070
I've read this one actually.

http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601

Go's concurrency support is superior.
>>
>>42889171
>Multiple threads can read from and write to the same memory location concurrently
>Solved concurrency
el oh el
>>
>>42889158
>Javafag, you are an island
>nobody agrees with your shit, not even C#
Java, the #1 most used language in the world, C# is a totally ripoff of everything in Java

>comments of a C-neckbeard living in basement
>>
>>42889171
And Erlang's concurrency support is superior. Your point?
>>
>>42889246
Go has other features too. Batteries included, package manager is awesome, advanced dependency management for lightning fast compilation, etc.
>>
>>42889925
okay ror.
>>
>>42884962

What are these unknown hipster languages used for?
>>
Go
>C for idiots with some Python

Rust
>Haskell for idiots with some Python
>>
>>42889959
Anything
>>
>>42889959
Jerking off aspies with superiority complexes.
>>
>>42889959
Go is used for hello world since it's got no libraries
Rust is used for testing Rust since it's less stable than a building balanced on a needle at a 45 degree angle
>>
>>42890029

heh was just about to ask about go libraries.
>>
>>42890029

Alright haha, 10/10 had a good laugh

Well have fun with your Rust and Go boys I'm gonna make me some real programs
>>
>>42887280
>Posting such a obvious, boldface guilt-by-association argument.
The fuck do you care who else uses it if the tool is good and gets the job done for you?
>>
File: 1392137902608.jpg (37 KB, 407x405) Image search: [Google]
1392137902608.jpg
37 KB, 407x405
>>42885229
>>42886476
>>42889959

>hipster
>guys stop learning new things, new things are for hipsters, you dont want to be a hipster do you hey guys stop
>>
>>42890200
>has never seen something corrupted by SJWs
You're so cute
>>
>>42890029
>Im completely helpless without a full set of black box libraries that perform every aspect of programming for me so I never have to leave my main() function
>>
>>42890200
Because some of the devs are basically using Rust as a soapbox for SJW evangelism. Feel free to check the sticky on the rust reddit or read Graydon Hoare's, Steve Klabnik's or Tim Chevalier's blogs if you don't believe me.

Tim's is especially funny as he's one of the ones who basically spends his entire downtime inventing new and exciting ways to feel oppressed. It's a shame they kicked him off the team for being useless.
>>
File: 1393496654985.jpg (6 KB, 250x250) Image search: [Google]
1393496654985.jpg
6 KB, 250x250
>not having an official language spec

kek

lua shits on python for similar reasons that go shits on rust
>>
>>42890029
For a language that's only had a production release for about three years, go has plenty of third-party libraries.

https://code.google.com/p/go-wiki/wiki/Projects
>>
>>42890272
If I want to build a web scraper I want to write the logic of the scraper not a fucking socket/http library
>>
Go is a broken devolution of python. Rust is at least slightly innovative.
>>
>>42890333
Being that it's designed for web servers, Go has a very well-written standard http library.
>>
>>42890333
I/O is the ~only~ set of libraries that should come with a language, everything else is babby's training wheels
>>
>>42886130
>tfw this conversation about rust and go devolved to car transmission
Never change, /g/. There is a correct opinion for everything.
>>
>>42890375
There's enough retardation in this thread already without you deliberately trying to exert yourself, ironically or otherwise.
>>
>>42884962
>got to decide between
Just learn and use Go until Rust comes out. Then learn and enjoy both or pick your favorite.
>>
>>42890363
>>42890375

You are missing the point. If I need something in my program I want to go import something and keep writing the important part of my program, not some shit that has already been written about 5 million times.

For example in C you don't have any container in the standard library, and reimplementing linked lists and vectors in every project is not the most practical thing to do (or effeicient or safe at all).
>>
>>42890333
>not a fucking socket/http library
mommy mommy, I cant write html I/O, gimme a library
>>
>>42890404
I'm not missing your point. I posted this as well: https://code.google.com/p/go-wiki/wiki/Projects

No, it's not on the same level as Java or sepples, but more likely than not you'll find anything you need. Go has plenty of libraries.
>>
>>42890404
>For example in C you don't have any container in the standard library, and reimplementing linked lists and vectors in every project is not the most practical thing to do (or effeicient or safe at all).
using black box libraries for linked lists, seriously calling a library to do a linked list, people wonder why programs have turned into colossal bloat, over use of libraries to implement a linked list
>>
>>42885686
this is bait
>>
>>42890471
>cares about "bloat"
>reinvents the wheel multiple times in every project

C NEET detected

How is that fizzbuzz going?
>>
>>42890565
hows youre sdl.container.vector.sorting.fizzbuzz() going?
>>
File: laughing-angel.jpg (51 KB, 640x486) Image search: [Google]
laughing-angel.jpg
51 KB, 640x486
>>42885686
>auto > manual
>>
>>42890603
My software pays my bills pretty well, thanks
>>
Go is a great innovative language, the only problem is that it's about 40 years too late.
Rust is interesting but unstable. It's usable though.

The only reason anyone uses Go is because google made it.
>>
>>42890629
>codemonkeys who think data structures and algorithms are like tinkertoys that can all be connected together with sequential library calls
>>
>>42885946
no
Go is like a compiled python, Rust is like C and haskell had babbies with modern memory-safety features.
>>
>>42890685
What's innovative in Go?
>>
>>42890713
It may sound surprising in C-land, but in decent languages it's possible to do it most of the time
>>
>>42890734
thatsthejoke.jpeg
>>
>>42890734
It has a better type system than C.
>>
>>42890734
Lean language with great tooling and built in concurrency support. Its easy to scale (in terms of codebase and performance).
>>
>>42890741
I know its possible, its also stupid. Programming is algorithms that work on data structures. If you use libraries do handle all your algorithms and data structures for you, you are a literal code monkey, you are the cause of endless bloat and glacial algorithmic performance. You dont understand what you are doing, you are like a child who should be programming with Scratch and stacking graphical code blocks on the screen
>>
>>42890846
What's the "innovative" part in that?
>>
>>42890865
I know its possible, its also stupid. Programming is algorithms that work on data structures. If you don't use libraries do handle all your algorithms and data structures for you, you are a literal code monkey, you are the cause of endless bugs and instability. You dont understand what you are doing, you are like a child who should be programming with Scratch and stacking graphical code blocks on the screen
>>
>>42890734
Java/C# have both copied C++ syntax and succeeded in making a safer programming platform than C++ to program on. But people want to replace Java and C# with a faster compiled language because using a VM language for application/systems programming does not work. The contenders to replace Java/C# are Go, Rust, D and Ada
Go is a joke with out OO
Rust is not a stable language
D is viable but not supported well enough
Ada is too difficult for mainstream use
>>
>>42890931
>D is viable but not supported well enough
shame walter won't stop sucking the GC dick.
>>
>>42890915
someone give code monkey a banana so he'll go away
>>
>>42890931
>Rust is not a stable language

Hopefully in 6 months to a year it will be (I'm optimistic). I hope it takes off.
>>
>>42891054
IMO it needs more sugar.

A few months ago:
~[~str]

Now
Box<Vec<String>>


They also need unboxed closures, type families and monads already.
>>
>>42891125
They said they plan on adding more later. The languages is going to flex a lot with DST and the like hitting in the next few months. After it settles I see them adding more sugar.

Lifetime inference will help a lot.

>They also need unboxed closures
DST will allow just that. It's going to be sweet.
>>
>>42890960
doesnt D have an LLVM compiler...
>>
>>42891182
What does that have to do with GC?
>>
>>42885009
>>42885125
Lean go until rust hits 1.0 or 1.1 - later this year iirc. You'll stil be able to use go if you want to, the time won't be wasted.
>>
>>42891204
Well shit, i thought that post said GCC
>>
>>42891204
He's saying you don't have to use GCC, there's LLVM too.
>>
>>42890565
>black box libraries for linked lists are bloat
>I never heard about intrusive containers
>>
>>42890865
>I'm too stupid to solve NEW problems
>I prefer to REsolve solved problems, so I can tell my friends how smart I am
>I never heard about the separation between algorithms and data structures through iterators
>>
>>42891306
Some people aren't worth it, really. Just give up.
Thread replies: 255
Thread images: 17

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.