Live data from Hacker News

Rust Foundation: Hello, World

foundation.rust-lang.org

151–160 of 284 posts

Re: Rust Foundation: Hello, World

#151
post #113

This is great news, but I have to point it out. Some of the social media handles on the Board of Directors page are hilariously unreadable: https://foundation.rust-lang.org/board/ (Click the pictures to reveal them)

What's with the crabs? Is it an inside joke I'm not getting?

"crustacean" > crab

"rust-acean"

Re: Rust Foundation: Hello, World

#152
post #143

Just as crazypython said, it seems that the power has shifted from Mozilla and the community to big corporations on the future of Rust. This is worrying to me in that engineers are naively selling their souls to big corporations just to work on Rust. I'm glad for the formation of the foundation, even though I hear that even Facebook (although not on the board yet) are looking for engineers to work on the Rust compile…

Big corporations are also driving ISO and ECMA languages, so do you feel like selling your soul to work with C?

Yes, you and I are more likely not to have say in this, I prefer the community to have a say not corporations.

Re: Rust Foundation: Hello, World

#153
Well - no surprise for me here. Speaking as someone that worked in FAANGs - people love to burn money unproductively there and RUST is just perfect for that. Reinventing the wheel and solving already solved problems but "different". It's a language for theoretical "perfectionists" and Code Review keyboard fighters that will burrow themselves in it for years and probably never contribute to company's IP in any meaningful way.

It's great that those big-tech money furnaces finally "embraced" it.

Re: Rust Foundation: Hello, World

#154

The board's vote seems to be heavily biased in favor of large corporations, with half the seats for them, 2 for the community, and 3 for "project areas." Contrast this with the governance of GCC, which has all of them as community members or project areas.

Doesn't look like you can donate to Rust as an individual.

Too bad.

Re: Rust Foundation: Hello, World

#155
post #11

Awesome news! Rust is easily the best programming experience I've had--the language feels incredibly well thought out, common tooling like doc generation and dependency management are included with the language, and the compiler takes full advantage of language features such that my editor's linter is able to detect most mistakes I make and the language itself guards me from doing anything obviously unsafe. I thought…

serious question : would you recommend Rust for CRUDdy type of web applications -- stuff where mostly you are firing off prepared statememts at a SQL db and then applying business logic to result set. This is what most J2EE apps do currently.

That's what Go is for. I've said this before. Go has all those well-exercised packages for doing web applications.

Rust is for harder problems. The ones you'd otherwise have to do in C++. I'm working on a client for a virtual world in Rust, and it is far easier in Rust than it would be in C++. Full 3D, GPU usage, networking, lots of state, a constantly changing big world through which you can move, compute bound, multiple threads. All my code is in safe Rust, and I've never had to use a debugger.

Write your embedded software in Rust. Write your networking software in Rust. Write databases in Rust. Write browsers in Rust. Write complex games in Rust. For ordinary server side web jobs, it's overkill.

Re: Rust Foundation: Hello, World

#158
post #91

Earlier quoted context omitted.

> Rust is easily the best programming experience I've had When you make this statement, what languages are you comparing it against?

Currently: C, C++, Python, Go, JS, C#, Java, Lua (if that counts), Kotlin, Julia, Scala. I've dabbled in a bunch of other ones but haven't made anything noteworthy with them. You may notice a lack of other modern compiled languages like Zig, so take that bias in mind :)

I'm not trolling. I'm genuinely curious. I've always thought of languages just as tools and have never been fanatic about a particular one. I personally like C and Java but have no problem using other languages if they are the best for the job.

I'm really curious to know what makes rust so special? Mind you that I know nothing about it.

Re: Rust Foundation: Hello, World

#159
post #143

Earlier quoted context omitted.

Big corporations are also driving ISO and ECMA languages, so do you feel like selling your soul to work with C?

Yes, you and I are more likely not to have say in this, I prefer the community to have a say not corporations.

Anyone is free to submit a paper to ISO and ECMA, provided they are willing to champion it.

Re: Rust Foundation: Hello, World

#160
post #87

As someone who wants to use Rust for real world applications, what are some good use cases for Rust? Web development is not its strong suite, apparently. Or, better still, what have you personally built using Rust?

I feel like rust has some good sweet spots right now. I care about these but maybe not everyone else does.

- Parsing untrusted inputs. nom[1] is a joy to use, and lets you kind of effortlessly and fearlessly process random input from wherever and turn it into useful data structures. If your data is very regular or in a standard format, then serde[3] is very hard to beat if it just boils down to 'derive(Deserialize, Serialize)' on your Rust struct.

- Bulk data processing. rayon[2] makes pegging your machine easy if you have a lot of work do to, and the Rust semantics around thread safety, data ownership, and explicit copying make it kind of trivial to reason about how your data gets from input to output and tuning it to be crazy fast.

- Generic systems language. Maybe this one is personal, but I find it's more productive to write generic cli applications and whatnot in Rust over C, ruby, or python. There are some nice libs to make part of this pleasant (structopt[4]) but this really boils down to reliability. Because Rust makes it obvious where things can fail so I can deal with it I have way higher 'just works' outcomes in Rust than other languages. I might spend slightly more time making it compile, but I spend basically zero time debugging runtime failures and this is kind of indescribably amazing.

[1] https://docs.rs/nom/6.1.0/nom/index.html

[2] https://docs.rs/rayon/1.5.0/rayon/

[3] https://serde.rs/

[4] https://docs.rs/structopt/0.3.21/structopt/

Post reply on HN