4 ms·
Can we just stop with the "Rust vs Go" shit? If you want me to take a critique of Go seriously these days, pick another language to compare it to. Any other la
by marcus_holmes 7y ago
Can we just stop with the "Rust vs Go" shit?
If you want me to take a critique of Go seriously these days, pick another language to compare it to. Any other language.
And yeah, I'm aware that 5 years ago there were a ton of "Go vs Java" articles. I didn't think much of them then, either.
- asdkhadsj 7y agoIt's not, imo. It's an example of extremely differing philosophies - of which Rust is a great example of the opposite spectrum of Go. I imagine there may be a couple other examples, maybe something like Haskell (I wouldn't know), but I'm guessing the author just knew Rust better for this comparison. It's easier to illustrate problems that shouldn't be problems (in your eyes) if you have solutions for them - especially solutions that you believe work well. Rust's take on these nitpicks is something that the author clearly thinks Go is lacking on. In my view, this post is a critique on Go and the "simplicity" mantra it has; and only that.
- marcus_holmes 7y agoI'd buy that if there hadn't been approximately 48764576459674 "Rust vs Go" (well, more usually "this is why Rust is way better than Go and you're some kind of moron if you're not switching to Rust today") articles in the last few months.
- asdkhadsj 7y agoOkay, let me ask this then - what language would be better compared to contrast the shortcomings of Go that the other takes issue with? Certainly not C++, no?
- marcus_holmes 7y agoIn 5 years' time, when there are a gazillion "Rust vs ${Nim}" articles out there, extolling the virtues of another language and pointing out the shortcomings of Rust, then let's ask this question again. I'm not questioning the critique - no language is perfect, and Go certainly has its share of problems. I'm questioning the sudden rash of "Rust is awesome, Go is shit" articles over the last few months. It's not a good thing.
- Cyph0n 7y ago> "this is why Rust is way better than Go and you're some kind of moron if you're not switching to Rust today" I didn't see that anywhere in this article. Rust was just used to show an alternative approach.
- marcus_holmes 7y ago[citation] last two lines of the article: "At this point in time, I deeply regret investing in Go. Go is a Bell Labs fantasy, and not a very good one at that."
- Cyph0n 7y agoSo he thinks that Go is a bad language. What does that have to do with Go users being morons for not using Rust?
- fasterthanlime 7y agoAuthor here - I apologize for pulling Rust into this, but for the life of me couldn't find any comparable language that solves those problems "the right way". I tried really hard. I knew a lot of people would instantly have that reaction, but I couldn't find another way to show that there is another way, short of pulling it out of thin air (which would've made for an even longer, less accessible article).
- marcus_holmes 7y agoLISP, surely? all HN knows that LISP is the perfect programming language... ;)
- msla 7y agoIf only because Lisp is a moving target, so practically anything you say about it will be true by someone's definition.
- carapace 7y agoDid you look at Haskell, and, if so, what do they do? Good article BTW, IMO.
- defnotashton2 7y agoIsn't that the point though? Go is the best worst option we have and is competing with c# and Java..
- Cyph0n 7y agoYour choice was fine imo. Besides, you can never satisfy everyone.
- programmer14 7y agoYou're fine, it's a good comparison, if you didn't bring it up someone in the comments probably would have.
- vips7L 7y agoJava handles files and their permissions much better than this. It takes Path objects instead of strings, offers generic setReadable, setWriteable, etc methods and exposes finer grained apis to set posix specific bit and windows attributes.