TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

On Rust Hate-Writing

56 pointsby Ruud-v-Aabout 10 years ago

9 comments

lukegoabout 10 years ago
I am impressed with Rust in many ways.<p>I briefly considered Rust when shopping for the right language for Snabb Switch [1]. I decided against it in part because the community did a good job of setting my expectations. &quot;They&quot; told me that Rust will especially appeal to hardcore C++ hackers, which is a very different profile to our target group of casual programmers. So I was able to move on quickly from a choice that really would not have suited me, with no ill will along the way.<p>If for whatever reason I had been pressured to move ahead with Rust then I would have spent a lot of time swearing about the size and compilation time of LLVM, etc, before finally moving on to a tool that is better suited to the peculiar job at hand.<p>So from my perspective that is great work by the Rust community - defining and communicating who the target user is - and now I would certainly consider Rust for other projects in the future.<p>[1] <a href="http:&#x2F;&#x2F;lukego.github.io&#x2F;blog&#x2F;2012&#x2F;09&#x2F;25&#x2F;lukes-highly-opinionated-programming-language-roundup-2012&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lukego.github.io&#x2F;blog&#x2F;2012&#x2F;09&#x2F;25&#x2F;lukes-highly-opinion...</a>
zamalekabout 10 years ago
Holy hell that title. When did critique become &quot;hate-writing?&quot; I do mostly agree with the article, though.<p>&gt; If the person is spewing anger, try to minimize the harm done by that anger by either asking them to stop or removing yourself and others from observing or participating in it.<p>The fact that this is thought of the original piece and that people need to be told not to get passionate about a <i>tool</i> is deeply worrying.<p>&gt; Imagine Rust was a kid you were sending to preschool.<p>No it&#x27;s not. It&#x27;s a tool. The problem here is that people are attaching emotions to tools and code, as though they were their spouse or children. Emotions are an irrational&#x2F;illogical process, programming is rational&#x2F;logical - don&#x27;t mix the two.<p>Rust is doing just fine, some criticism levied against it is healthy. The tone of the criticism is completely irrelevant. Ignoring that <i>hurtful</i> criticism is merely going to do the <i>beloved</i> tool harm in the long run - no matter how much &quot;&lt;3&quot; was put into it.
评论 #9537524 未加载
评论 #9537501 未加载
评论 #9537470 未加载
评论 #9537739 未加载
评论 #9537828 未加载
derefrabout 10 years ago
&gt; Technical and human pluralism enriches the world. Monocultures do not.<p>Unlike human culture, tech cultures can&#x27;t communicate to enrich one-another. (The people <i>in them</i> can, but this is a different thing.)<p>To explain what I mean: you can&#x27;t import a Ruby library into a Python program. You <i>can</i> import a C library in a Rust program, or vice-versa—but that&#x27;s a special case. Even then, you can&#x27;t <i>write a patch for</i> a C library in Rust, or vice-versa, because the original maintainers of the library you want to contribute to are only going to accept contributions in languages they understand and can maintain directly.<p>I really believe that fixing this—decoupling &quot;runtime&#x2F;platform&quot; from &quot;language semantics&quot;, and &quot;language semantics&quot; from &quot;syntax&quot;—is the single most important thing that will happen in software engineering in the next 20 years.<p>Imagine a program somewhat like go-fmt(1), that would run on checkout of a source repo, to transform a base-level AST into the syntactic representation of your choice, and pattern-match-decompile any low-level statements with high-level &quot;shape&quot; into the macro-statements in your chosen language that would generate them[1]. Imagine every library being not only available in every language, but able to be contributed to by programmers who know any language. Etc.<p>The result would be, in one sense, a &quot;monoculture&quot;—a single ecosystem of libraries, rather than 12 ecosystems between the CRT, the JVM, the CLR, the Erlang VM, etc. But it wouldn&#x27;t disallow competition between versions of said libraries—just allow obvious winners to win once-and-for-all, instead of limiting their success to their technological &quot;country of citizenship.&quot;<p>---<p>[1] Or, better yet, a FUSE server where an underlying directory of AST files gets mounted as syntaxified files. Much cleaner from the rest of the toolchain&#x27;s perspective.
评论 #9537325 未加载
评论 #9537386 未加载
评论 #9537300 未加载
评论 #9537304 未加载
评论 #9537327 未加载
评论 #9537329 未加载
评论 #9537290 未加载
kibwenabout 10 years ago
For those lacking context, these remarks from Graydon are likely a response to the following post which has been trending today, though it didn&#x27;t get much traction on HN: <a href="http:&#x2F;&#x2F;www.viva64.com&#x2F;en&#x2F;b&#x2F;0324&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.viva64.com&#x2F;en&#x2F;b&#x2F;0324&#x2F;</a> (with some comments at <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;35pn5a&#x2F;criticizing_the_rust_language_and_why_cc_will&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;35pn5a&#x2F;criticizing_th...</a>).
评论 #9537372 未加载
评论 #9537208 未加载
nemothekidabout 10 years ago
&quot;There are 2 types of programming languages, those everyone complains about and those nobody uses...&quot;<p>I look forward to Rust&#x27;s version of &quot;Go sucks because Generics&quot;
djhworldabout 10 years ago
This happens whenever a Go post crops up on HN too, the amount of vitriol some people have over a language they evidently don&#x27;t want&#x2F;need to use is shocking.
tempodoxabout 10 years ago
I don&#x27;t cope well with light text on dark background because it hurts my eyes. And I haven&#x27;t personally encountered Rust hate-writing yet, as the author describes it.<p>Apart from that, I recommend this text to everyone. If you find yourself in a situation that feels conflict-shaped, read this text before you crawl up the walls. It&#x27;s good advice.
rational_indianabout 10 years ago
Awesome post! A minor typo in the first paragraph: change Each to Every.
steveklabnikabout 10 years ago
Wonderful as always.