Live data from Hacker News

Rust Foundation: Hello, World

foundation.rust-lang.org

161–170 of 284 posts

Re: Rust Foundation: Hello, World

#161

Announcements also from Mozilla, Amazon and Microsoft: https://blog.mozilla.org/blog/2021/02/08/mozilla-welcomes-th... https://aws.amazon.com/blogs/opensource/congratulations-rust... https://cloudblogs.microsoft.com/opensource/2021/02/08/micro...

I‘d love to see Apple joining. They already have the hand on LLVM and support things indirectly, but... There is no reason that serious things written in Rust can‘t coexist with app-y stuff in swift. Seriously, I think we all would benefit enormously from some consolidation, especially on such a great foundation like Rust. Think investments like: compiler-optimizations like V8, portability like C, enterprise grade to…

We don't need monocultures.

Re: Rust Foundation: Hello, World

#162

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.

This is true right this moment, yes. That may change in the future.

Re: Rust Foundation: Hello, World

#163

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.

GCC is one compiler project among others, ironically for your example most funding comes from corporations as well, with Red-Hat being a major contributor.

Re: Rust Foundation: Hello, World

#164

Earlier quoted context omitted.

The "proper" comparison (that would still be horribly misguided) would be against the "core" crate in ripgrep. And that's only 5kloc, a lot of it from the "app.rs" (3kloc) and "args.rs" (1.2kloc) which is almost only declarative usage strings. The "actual" code of ripgrep is accross its multiple support crates, which the community largely benefits from having since those are general enough to be almost foundational t…

I'm trolling because there is no doubt in the mind of Rust fanboys that if ripgrep was a feature-for-feature replica of grep, in some parallel hypothetical universe, it would for sure have less code-size complexity. Got it.

Hacker News is not a place for you to troll.

Re: Rust Foundation: Hello, World

#165

Earlier quoted context omitted.

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, mul…

Go is clearly not for crud web apps. For that you have all the rails clone that’ll autogenerate pretty much everything, and has a predetermined path for every situation. Or the enterprisy version, with a decent orm, if you want type-safety.

Go is for system-level programming that mainly consists of plumbing api endpoints together. i would recommend it for building middlewares in a server environment

Re: Rust Foundation: Hello, World

#167
post #91

Earlier quoted context omitted.

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.

Algebraic data types[0], compile-time thread safety guarantees[1], async/await on embedded[2], type inference that can work backwards[3], blocks are expressions so you can return values from if statements[4], returning from while(true) loops[5], and iterators[6] that don't kill performance[7].

[0]: https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html...

[1]: https://doc.rust-lang.org/book/ch16-04-extensible-concurrenc...

[2]: https://lights0123.com/blog/2020/07/25/async-await-for-avr-w...

[3]: https://doc.rust-lang.org/book/ch03-02-data-types.html#data-...

[4]: https://doc.rust-lang.org/book/ch06-02-match.html#the-match-...

[5]: https://doc.rust-lang.org/book/ch03-05-control-flow.html#ret...

[6]: https://doc.rust-lang.org/book/ch13-02-iterators.html

[7]: https://doc.rust-lang.org/book/ch13-04-performance.html

Re: Rust Foundation: Hello, World

#168

Announcements also from Mozilla, Amazon and Microsoft: https://blog.mozilla.org/blog/2021/02/08/mozilla-welcomes-th... https://aws.amazon.com/blogs/opensource/congratulations-rust... https://cloudblogs.microsoft.com/opensource/2021/02/08/micro...

I find it puzzling that aws uses rust so much yet don't have an official rust aws sdk

Re: Rust Foundation: Hello, World

#169

Earlier quoted context omitted.

> Those are intrinsically IO bound. Rust has a great async story compared to other languages, which benefits IO-bound workloads even more so than CPU-busy ones.

I disagree. Saying that it is "great" is really overselling it at this point, unless the languages you're comparing to are mainly C or C++. I would also toss Ruby in that category for now, but they seem to be working on making async better with Ruby 3+. When compared to Python, JavaScript, or C#... Rust's language support for async isn't really that impressive to most developers, although the implementation has some…

Also one of the reasons I'm looking forward to Java's Project Loom. It seems Go/Elixir/Java have went for the `virtual threading` path to simplify the dev experience greatly.

Re: Rust Foundation: Hello, World

#170
post #90

Earlier quoted context omitted.

Making tools for "idiots" didn't really work out so far, that's how we got Cobol and Java. From my experience, empathy works better as a design strategy.

For the record, that word has never been used to describe Rust's goals by those who work on it. The slogan of the language is "empowering everyone to build reliable and efficient software." And for what it's worth, I think the people working on Rust are empathetic and it shows in their work. For example, he error messages given by the compiler try to hand hold you gently when you're learning the language.

For the record, how else do you call obtuse persons who proudly claim to be C programmers waving around with LOCs like a troll? :)
Post reply on HN