Sometimes it feels that I'm being left behind since I don't use Rust yet. Better get crackin'
Ask HN: What's the Deal with HN and Rust?
71–80 of 108 posts
Re: Ask HN: What's the Deal with HN and Rust?
#72Earlier quoted context omitted.
Not just native code either, Rust also makes WASM development practical in a way few other languages can.
For that I see it as a matter of tooling more than the language design: wasm is nicely integrated into cargo and is maintained far better than other choices. You can also compile C/C++ to WASM if you want (and the language semantics definitely allows for it, since it doesn't have a garbage collector), but you just really don't want to deal with CMake while doing so.
my main issue with wasm is no standard interopt for primitive types. thankfully some sort of FFI is in the works from my understanding.
Re: Ask HN: What's the Deal with HN and Rust?
#73I do think the language offers some genuine advantages and strikes a difficult balance between features, practicality and speed. I think it has some problems as well (the learning curve is still steep, and I don't know if that's solvable). However I think the reason Rust gets attention here is because it is heavily used in crypto, which is regularly pumped in HN as well as in other places. ( ducks )
Re: Ask HN: What's the Deal with HN and Rust?
#74Earlier quoted context omitted.
Not sure if this is interesting but only one of those Rust articles is about Rust or its usage. The rest are about programs written in Rust. For Javascript it's the opposite; only one is about something written in Javascript. The rest are about language or its usage. Not sure if one can say that that's an indication of pumping. Seems more an indication of usage.
Good point. I don't know what "pumping" means in this context. Should we take this as an indication of community interest? Community members are using JavaScript, but interested in Rust and what it can do.
As you might guess, it's hard to distinguish between a "pump" and general interest in something. And, of course, each probably does feedback into other.
---------
[1] https://en.wikipedia.org/wiki/Pump_and_dump
[2] https://enet4.github.io/rust-tropes/rust-evangelism-strike-f...
Re: Ask HN: What's the Deal with HN and Rust?
#75Earlier quoted context omitted.
But .NET is still way more popular (by popular I mean used) than Ocaml, Haskell or even Rust no? (I could be completely wrong, just my impression).
But not necessarily by HNs audience, and it's perceived as "old and boring" and thus doesn't get as much attention, even if large changes happen (I notice this with C++, since that's what I primarily work with: There have been large changes in C++ over the past ~decade, but it takes a long time for people that have an established opinion based on older style to recognize that, a language thats obviously new sticks ou…
New C++ indeed is a lot better, but the chance that your codebase was created recently is quite low. You will have to deal with al the old C++ in there. The conflict between new and old C++ will cause some lavaflow architecture as a bonus.
Even if you've got a greenfield C++ project, you're not going it alone. If you're a team of 10, it's almost guaranteed at least 1 of them will be programming like it's 1999 with no intention to change. Code samples by your vendor will not be up to date. A quick google will deliver a working answer from the good old days.
It's like hydra. Every time you axe a block of old code, 5 new ones have sprouted up.
Re: Ask HN: What's the Deal with HN and Rust?
#76As someone who looks at Rust and other alternative languages every now and then. I think many C/C++ programmers are looking for an alternative. C/C++ accumulated a lot of legacy stuff over the years, and things like #includes, .h vs .cpp, non-trivial metaprogramming, limited IDE capabilities, no standarized package manager show how old these languages are. Compare it to Rust, which has one build tool/package manager.…
I don't know where you got this figure from, but I highly doubt 1% of Rust projects use a different build/package system. More like 0.001% (this number is scientifically extracted from thin air).
Re: Ask HN: What's the Deal with HN and Rust?
#77inexperienced novices and disheartened veterans alike get infatuated with that new shiny thing ... the rest of just smirk at the pump articles, as we have achieved state of Zen and realize _all_code_is_garbage_ and that nobody, other than minuscule amount of people who ever had a git write access in their life, actually care or will ever care about code let alone a programing language the app was written in
Pretty much. People are gonna find ways to write atrocious Rust code just like they have with any other language, and no-one is gonna bother to check all the unsafe blocks. Severe bugs may be less prevalent, but life as a a developer will suck just as much. :)
Re: Ask HN: What's the Deal with HN and Rust?
#78Earlier quoted context omitted.
Not just native code either, Rust also makes WASM development practical in a way few other languages can.
That is one of the appeals of rust for me. I want one language that I can flip from - Native - Web - Distributed - ML - Service programming without having to switch toolchains. Rust is surprisingly close to achieving this.
Re: Ask HN: What's the Deal with HN and Rust?
#79Why do you think it's just Hacker News? I noticed on Manning ( http://manning.com ) "Rust in Action" was the top-selling book for over a month. I think Rust is just a hot topic right now.
Re: Ask HN: What's the Deal with HN and Rust?
#80Earlier quoted context omitted.
Good point. I don't know what "pumping" means in this context. Should we take this as an indication of community interest? Community members are using JavaScript, but interested in Rust and what it can do.
"Pumping" in this context is a very thinly veiled pejorative. The original question is using it in the sense of a "pump and dump" [1]. They're implying that the amount of Rust content on HN is in some way artificial: it's the strike force[2] posting a bunch of articles, or its some startup throwing "made in Rust" in their title for attention, etc. As you might guess, it's hard to distinguish between a "pump" and gene…