News for hackers. Stuff that matters.
Re:Rust vs. Go by EugeneOZ on Wednesday January 18, 2017 @04:24PM (#13430423)
Rust fans are trying to avoid "vs" articles, would be great to see such endeavor from Go fans too.
Re:Rust vs. Go by twic on Wednesday January 18, 2017 @04:52PM (#13430646)
The fact that it's by ESR softens the blow. If he comes down on the side if your preferred language, you can be like "ESR's not as bad as i thought!", and if he come down on the other side, you can be like "oh well, it's only ESR!".
Re:Rust vs. Go by Ericson2314 on Wednesday January 18, 2017 @05:46PM (#13431132)
As one disgusted by Go's anti-intellectualism, Amen to this.
Re:Rust vs. Go by kmicklas on Wednesday January 18, 2017 @08:40PM (#13432233)
Anti-intellectualism + racist quackery! ESR really couldn't get worse.

(Not implying Go devs are racist, I hope that's just ESR.)

Re:Rust vs. Go by hnbro on Wednesday January 18, 2017 @09:11PM (#13432379)
who is "esr" and why do you accuse them of such things?

edit: oh, the The Cathedral and the Bazaar dude. i saw a video about him that seemed to portray him well. but having found his blog... well... i can understand your sentiment.

Re:Rust vs. Go by treehau5 on Wednesday January 18, 2017 @04:31PM (#13430472)
I am a go fan, and when I saw this article on the fp, I said to myself "here we go again"

It's the 4th law of HN: Wherever Rust is, Go goes, and vice versa.

I am considering just accepting this reality that people will always pit these two against each other, and maybe just accept it for it's positive merits: that the extra competitiveness will help create a better ecosystem for the two of them.

Re:Rust vs. Go by EugeneOZ on Wednesday January 18, 2017 @04:34PM (#13430486)
Constructive comparisons with deep knowledge of both languages are priceless, when articles "I tried Go/Rust 1 week and didn't get it" are useless. Title "vs" often is a marker of articles of the second type - just to share emotions, not knowledge.
Re:Rust vs. Go by Turing_Machine on Wednesday January 18, 2017 @04:52PM (#13430647)
"Constructive comparisons with deep knowledge of both languages are priceless, when "I tried Go/Rust 1 week and didn't get it" are useless."

Well, unless you want people to actually use your shiny new language. If that's the case, perhaps criticisms of this type should not be dismissed out of hand. :-)

Most programmers are going to abandon something if they study it for a week without significant results. Maybe they'll keep plugging at it if their boss orders them, but they won't do it on their own. Oh, sure, there's a small subset of programmers who enjoy tinkering with weird languages for fun, but that subset is dwarfed by the number of programmers who view languages as a tool for getting things done.

If there's anything that we should learn from the history of programming languages, it's that usability trumps theory every time. The languages that people actually use are almost never the ones that theoreticians admire.

Note that most code today is written in C, JavaScript, PHP, Java (none of which would win any prizes for theoretical elegance)... rather than ALGOL, ML, Haskell, the various Wirth languages...

There's really no comparison. Lisp probably comes closest, in that it is both theoretically elegant and has been used, by the programmer's choice, to build large real-world systems, but even Lisp is basically a rounding error.

Re:Rust vs. Go by EugeneOZ on Wednesday January 18, 2017 @05:04PM (#13430757)
I'm not trying to say that programmer can't take own decision after a week (or day, or hour) of learning new language. I'm trying to say that "teaching" others with such small experience as 1 week of knowledge is useless. It's not about this article, but in general.
Re:Rust vs. Go by mseepgood on Wednesday January 18, 2017 @05:03PM (#13430752)
> Note that most code today is written in C, JavaScript, PHP, Java (none of which would win any prizes for theoretical elegance)... rather than ALGOL, ML, Haskell, the various Wirth languages...

ALGOL wasn't actually that bad.

Re:Rust vs. Go by Turing_Machine on Wednesday January 18, 2017 @05:11PM (#13430823)
That was long before my time, but from what I've read ALGOL's problems were that it was too complex to be easily implemented on the (very limited) hardware of the time, and a focus on theory to the extent that basic functionality was ignored (even I/O!). That made it great for writing down algorithms on paper, but troublesome if you actually wanted to use it.
Re:Rust vs. Go by mseepgood on Wednesday January 18, 2017 @05:22PM (#13430928)
Algol 68 was too complex, but Algol 60 was quite good and successful.
Re:Rust vs. Go by kazinator on Wednesday January 18, 2017 @05:04PM (#13430756)
The Wirth languages saw fairly widespread use once.
Re:Rust vs. Go by Turing_Machine on Wednesday January 18, 2017 @05:21PM (#13430915)
Modula-2 had some uptake, but never to the extent of C or Fortran.

Pascal was popular for teaching at one time, but pure Pascal was never very popular for writing shipping code. If I'm not mistaken, Borland's Turbo Pascal, which was pretty popular, became so by adding non-standard features that probably gave Professor Wirth a heart attack when he heard about them.

Re:Rust vs. Go by kazinator on Thursday January 19, 2017 @06:26AM (#13434926)
C and C++ are also popular by adding non-standard features. Such as, oh, your entire Win32 API, POSIX, and so on: every system's low-level API's, middleware and other stuff.
Re:Rust vs. Go by Turing_Machine on Saturday January 21, 2017 @02:12PM (#13451542)
Libraries and the base language syntax (and semantics) are two different things.
Re:Rust vs. Go by empthought on Wednesday January 18, 2017 @10:26PM (#13432723)
Delphi is Pascal and was used for tons of things.

- Dreamweaver

- Skype

- TOAD for Oracle

- TeamSpeak

Etc.

Re:Rust vs. Go by tikhonj on Wednesday January 18, 2017 @05:42PM (#13431102)
I sort of agree, but this approach has a real problem: you're strongly selecting for people who are at least okay with the language. If you expect all criticism of Go to come from people who have years of Go experience, all you'll ever get are people who broadly approve of the Go design philosophy, along with the occasional soul that got trapped in a Go job by accident.

The sort of people who find major problems in Go simply won't put time and energy into the language beyond a point—why should they? There's a limit to how far I'm going to explore a tool that seems obviously inferior, even if the tool is popular. (And popularity is an absolutely terrible measure of quality!)

If you applied this standard to PHP, you'd get an implausibly rosy view of the language, because the people who aren't invested in it simply don't use it.

Re:Rust vs. Go by EugeneOZ on Thursday January 19, 2017 @03:11PM (#13439078)
Actually I saw already article about switching from Go to Rust after few years of Go and long testing of Rust, so it's not a miracle :)
Re:Rust vs. Go by cestith on Wednesday January 18, 2017 @05:04PM (#13430755)
I'm not sure I'd call ESR a fan of either. The title clearly states it's a comparison for the needs of one particular project. Reading further makes it clear he nearly called Go disqualified from consideration. I think it's fair enough to make a comparison of any two languages in the context of a particular project. Horses for courses and all that, you know? Comparing them in a vacuum and trying to pick an overall winner is what should be avoided.
Re:Rust vs. Go by EugeneOZ on Wednesday January 18, 2017 @05:06PM (#13430784)
> The title clearly states it's a comparison for the needs of one particular project

Hm.. Title is "Rust vs. Go" - looks like title of another one holywar flame article.

Re:Rust vs. Go by cestith on Wednesday January 18, 2017 @08:30PM (#13432176)
Actually, you're right. For some reason I was remembering the first line of the synopsis paragraph as a subtitle. It doesn't take very long reading the top of the linked page to see the intent, though. ESR's very political on some issues, but about languages I've found him pretty pragmatic (maintaining C-Intercal as a side hobby notwithstanding).
Re:Rust vs. Go by chc on Wednesday January 18, 2017 @04:27PM (#13430438)
Why wouldn't you want that? I genuinely don't understand why you think it's bad. It seems pretty worthwhile to try and understand the design choices and tradeoffs of different platforms.