Live data from Hacker News

Ask HN: What's the Deal with HN and Rust?

news.ycombinator.com

71–80 of 108 posts

Re: Ask HN: What's the Deal with HN and Rust?

#72

Earlier 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.

garbage collector isn't a limiting factor for wasm.

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?

#73
post #30

I 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 )

Not sure if you meant cryptography or cryptocurrency, but assuming cryptocurrency...is it actually used that much? I can't think of any major cryptocurrencies that use it. All of the major ones are C/C++.

Re: Ask HN: What's the Deal with HN and Rust?

#74
post #63

Earlier 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.

"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 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?

#75
post #37

Earlier 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…

One problem with new C++ is mainly that old C++ comes along for the ride.

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?

#76

As 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.…

> 99% of projects

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?

#77
post #20

inexperienced 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. :)

History has shown though, that people do check all the unsafe blocks in some projects. I think that was Actix (web?) and probably others. So at least that part of the statement is already contradicted.

Re: Ask HN: What's the Deal with HN and Rust?

#78
post #64

Earlier 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.

This is indeed an interesting point. I've worked with C/C++ and every single project or experience had some peculiarity: the platform, the compiler, some version limitation, etc.

Re: Ask HN: What's the Deal with HN and Rust?

#79

Why 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.

Because I use this as a technical source for many things on a daily basis. Other sites or communities still "balance" the conversation between all kinds of stuff, Python, Java, Node, C/C++, etc. Maybe startups have a stronger Rust following?

Re: Ask HN: What's the Deal with HN and Rust?

#80
post #74
post #63

Earlier 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…

Not pump and dump, didn't mean to be pejorative. Promoting, or "celebrating" could be suitable to my original question. =)
Post reply on HN