Live data from Hacker News

Rust Foundation: Hello, World

foundation.rust-lang.org

31–40 of 284 posts

Re: Rust Foundation: Hello, World

#31
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.

Re: Rust Foundation: Hello, World

#32

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.

It makes sense that large corporations would be interested in Rust given its current capabilities and future potential.

Amazon, Huawei, Google, Microsoft, and Mozilla all have a vested interest in Rust succeeding since they are all deeply invested in high performance software, the majority of which is written in C and C++.

The undefined behavior semantics in C and C++ trade safe handling of undefined behavior for high performance. The result is high performance code that is difficult for developers to reason about and vulnerable from a security standpoint.

https://blog.regehr.org/archives/213 gives great insights into how undefined behavior in C and C++ can cause problems.

Rust is becoming an excellent replacement and hopefully will continue to succeed to enter all the niches that C and C++ currently occupy.

Re: Rust Foundation: Hello, World

#33
post #14

It's a little concerning to see Huawei involved so closely in Rust, given the concerns about them silently including spyware in their products to give access to the Chinese government. I don't think I'm being a total conspiracy theorist; for example the UK, US and Sweden all ban Huawei equipment from their countries' mobile phone networks. Hopefully since this code is all open source there is sufficient scrutiny to a…

As far as "concerns" go these are not even allegations, these are rumors and slanders. There has never been even one shred of evidence that Huawei have done that.

Re: Rust Foundation: Hello, World

#34
I'm really happy to see this happen. I'm also really thrilled to see Lars Bergstrom on the board, and am excited about taking Rust farther both at Google and across the industry. Rust is evolving from being centered at Mozilla to being a true community and collaboration between many different groups, including big companies, so I think a well-supported foundation is key. I'm very hopeful for the future.

Re: Rust Foundation: Hello, World

#37
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.

hmm, no. While compile-time type check[0] for SQL queries changes your whole experience of how you do SQL, at the end of the day creating an webapp in rust is not as easy or mature as any of the other languages more suited for the task. If you want to learn, then its fine. But if you are newish to rust and want to do your next CRUD app at work in rust, I don't think its going to a good experience.

[0]: https://github.com/launchbadge/sqlx

Re: Rust Foundation: Hello, World

#38
post #29
post #19

Earlier quoted context omitted.

I love the FSF, but frankly as a user, I'm glad that not just anybody can claim to be Rust. Especially so now that the trademark is controlled by a dedicated nonprofit.

But how could anyone reasonably claim they are Rust, particularly given the large reach of it's online services, like docs, crates.io and rustup? Those trademarks are very unlikely to produce anything except another round of debian's icy rebrands.

Rust is already in Debian's repository. The trademarks haven't been an issue at all.

Re: Rust Foundation: Hello, World

#39
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.

I mean you could certainly do it in Rust. I am not sure I would recommend it though. The dev time for rust will naturally be slower because the developer will have to take more into consideration.

Additionally while the community is growing rapidly you wont find the same depth of ecosystem that you have with Java. Client libraries will be half baked and still be a work in progress a lot of the time.

If the business stuff is not performance or time sensitive it would probably be better to use something like Java/Go/Python, maybe elixir, that will have good turn around time with reasonable performance.

A good litmus test for the moment is probably "Would I write this in C++ five years ago?" if yes Rust might be a good option today with a few caveats, like GUI or GPU programming still being in their relative infancy in Rust.

Re: Rust Foundation: Hello, World

#40
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.

You're in a Rust thread, I think the general response is going to be, "Yes!"

And I personally, say yes. But that comes with some caveats. You will be entering an ecosystem that doesn't have all the libraries that folks coming from the rich history of Java has, so you will most likely be signing up for some extra work.

But, this is also a great opportunity, because it means that you could be responsible for building a missing library or feature.

Post reply on HN