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.

When rustc explodes

164 pointsby milenalmost 3 years ago

8 comments

nbittichalmost 3 years ago
I don&#x27;t see how rust will manage to fix async await, unless making a v2 of the language. While working with sync rust is often a very pleasant experience, everytime I used async await was awful. To the point that I avoid using rust for web &#x2F;networking stuff, any other option is better. It&#x27;s also very discouraging to read some people telling there&#x27;s no issue with async await. Of course if you use a thousands of libraries (that are more or less hacks), and never use trait and generics, it&#x27;s probably a decent experience half of the time I&#x27;d say.<p>It&#x27;s something I&#x27;ve only encountered with rust community, in Java when a feature sucks, we just say it sucks. Even the architect that approved it will say it sucks.
评论 #32093610 未加载
评论 #32092053 未加载
评论 #32092967 未加载
评论 #32092061 未加载
评论 #32095673 未加载
评论 #32097792 未加载
评论 #32092352 未加载
评论 #32092426 未加载
评论 #32091926 未加载
评论 #32093041 未加载
rowanG077almost 3 years ago
I recently started a Rust project coming from mostly writing Haskell in my job and oh boy was I surprised. I was expecting long compile times because of the complaints I read about everywhere. But in fact compilation is very speedy. Much, much faster then I&#x27;m used to with GHC in fact.
评论 #32089225 未加载
评论 #32089098 未加载
评论 #32090112 未加载
评论 #32093467 未加载
评论 #32092402 未加载
PoignardAzuralmost 3 years ago
Every time I read one of these posts digging into logs and flsmegraphs I think &quot;man, there really should be a simpler way to understand what a compiler is doing when you feed it code&quot;.
评论 #32089233 未加载
stephc_int13almost 3 years ago
I am not super familiar with the Rust syntax, but simply glancing over it made me puke.<p>How is that considered good design?<p>It seems even worse than C++ nightmarish Boost&#x2F;templates meta-programming.<p>Powerful, maybe, but what about readable?
评论 #32095790 未加载
a_t48almost 3 years ago
I sympathize with this, after tracking down C++ performance issues (though not going as far as recompiling the compiler).
评论 #32092578 未加载
DC-3almost 3 years ago
warp is quite a nice framework but it has a really bad tendency to blow up compiletimes in my experience. I think for non trivial projects in the future I will prefer something else because it can be a real sore spot.
评论 #32093437 未加载
svnpennalmost 3 years ago
&gt; The crux of the problem is &quot;gee grandma, what big types you have there&quot;, because... essentially, tower is a couple of important traits.<p>&gt; And the basic idea is &quot;oh shit we don&#x27;t have async trait methods&quot; (hence the Future associated type) but also &quot;backpressure is love, backpressure is life&quot;, by way of the poll_ready method.<p>I really don&#x27;t like this guys style of writing. It seems like the bones of the article are interesting, but then they slap like three layers of meme talk, irony and sarcasm, and it just ruins the read for me. It reminds me of TARS humor setting. It doesn&#x27;t need to be zero, but its currently at like 98, can we turn it down some?
评论 #32090086 未加载
评论 #32089405 未加载
评论 #32089311 未加载
ArrayBoundCheckalmost 3 years ago
Rough. It seems like there&#x27;s a lot of poor engineering in the compiler :( I almost wonder if the new gcc backend will be better but then I remember clang is significantly faster than gcc
评论 #32095832 未加载