News for hackers. Stuff that matters.
Re:AWS hires Rust compiler team co-lead Felix Klock by varbhat on Saturday November 28, 2020 @03:40AM (#25236271)
so,here it is:

Google backs Go.

Apple backs Swift.

Amazon is trying to back Rust.

Edit : What I am trying to say is that Financial Backing and adoption by FAANG companies can really improve ecosystem of Programming language. I am not here to tell that it will be product of certain company.

Re:AWS hires Rust compiler team co-lead Felix Klock by chrismorgan on Saturday November 28, 2020 @04:22AM (#25236480)
Go is a Google product that came out of Google.

Swift is an Apple product that came out of Apple.

Rust was incubated in Mozilla, and this support was essential to getting it going and for its early years (until 1.0 plus or minus a year or so, I’ll suggest), but it was never tied to any one company in the same way: it always had a distinct identity, with others welcome to join that (as distinct from joining Mozilla if they wanted to effect change). Now, various large companies are steadily working on helping support it in this sort of way—Microsoft, Amazon, Facebook, and more.

Re:AWS hires Rust compiler team co-lead Felix Klock by computerphage on Saturday November 28, 2020 @08:39AM (#25237435)
And, importantly here, including Apple and Google, though perhaps to a lesser degree
Re:AWS hires Rust compiler team co-lead Felix Klock by bsg75 on Saturday November 28, 2020 @03:39PM (#25240340)
This is a such a dead horse. Exactly how is Go _tied_ to one company, Google?

Sure Go is near exclusively "incubated" by Google, they employ much of the core development team, but there is nothing preventing any organization from contributing to it. Go and Rust are both open languages - they can be used with no commercial licenses and the source is available.

The differences are in their major supporting companies, and the perspective which some choose to use as a deciding factor in the platforms they choose.

Neither is a product. They may be used to create products, but they do not directly generate revenue.

Re:AWS hires Rust compiler team co-lead Felix Klock by chrismorgan on Saturday November 28, 2020 @03:53PM (#25240451)
A key word here is “governance”.

I searched for “rust programming language governance”, and immediately found https://www.rust-lang.org/governance. Nice and clear description of how it all works, how changes are made and who makes decisions, making it very clear that Rust is its own thing and not the property of or beholden to any one company, and that it’s very deliberately an open project, not merely open source.

I searched for “go programming language governance”, “golang governance” and a few other things, but I can’t find anything at all. When I look through their website, it’s Google this Google that, supported by Google, in order to contribute you must accept Google’s contributor license agreement, that kind of thing. I’ve found mention of “Go maintainers” in about two locations, as being those that can approve changes, but I can’t find any mention of who they might be (search terms included “{go programming language,golang} {maintainers,core team}”). Go is absolutely a Google open source project, as they say in a few places.

I imagine Go is a good deal more open to non-Google contributions than Swift is to non-Apple contributions, but it’s still very firmly Google controlling Go, setting its direction, and managing the project, in a way that was never the case for Rust.

Re:AWS hires Rust compiler team co-lead Felix Klock by donmcronald on Saturday November 28, 2020 @08:01PM (#25242021)
> Sure Go is near exclusively "incubated" by Google, they employ much of the core development team, but there is nothing preventing any organization from contributing to it.

Except if the majority of the expertise is held by Google employees it's extremely difficult to do anything without their support. What if Google decides to drop Go tomorrow? A lot of the expertise disappears with that decision and replacing it would require another company to step up and dump gobs of money into the project.

Re:AWS hires Rust compiler team co-lead Felix Klock by bsg75 on Sunday November 29, 2020 @01:30PM (#25246919)
> What if Google decides to drop Go tomorrow?

The community can fork the code and continue.

If that did not happen, or the community does not believe that is viable, then the languages is not viable.

Google’s theoretical abandonment of the language does not seem to bother the multiple successful projects based on it. Nor does the lack of apparent focus in Rust’s founder affect its growing user base.

Re:AWS hires Rust compiler team co-lead Felix Klock by Xevi on Saturday November 28, 2020 @05:27AM (#25236760)
Microsoft and Facebook are also hiring developers to work on Rust. Google, Apple, and many other big companies use Rust as well, and I wouldn't be surprised if they do the same.

This is very good imo. Rust needs dedicated developers that get paid for their work. And with the upcoming Rust Foundation it feels like Rust is about to really take off to the next level.

Re:AWS hires Rust compiler team co-lead Felix Klock by chillee on Saturday November 28, 2020 @07:38AM (#25237189)
I haven't heard anything about Google using Rust, other than for (essentially toy) usage in Fuchsia.
Re:AWS hires Rust compiler team co-lead Felix Klock by roblabla on Saturday November 28, 2020 @08:57AM (#25237526)
Google has also been experimenting with using Rust within Chrome[0]. They're working on autocxx to make C++/Rust FFI much smoother[1].

[0] https://www.chromium.org/Home/chromium-security/memory-safet...

[1] https://github.com/google/autocxx

Re:AWS hires Rust compiler team co-lead Felix Klock by staticassertion on Saturday November 28, 2020 @10:46AM (#25238222)
There's a lot of inertia at Google with regards to Rust. Things are happening slowly there, but they're happening. I'm sure it'll be more public soon, but they didn't miss out on the Rust-grab after Mozilla let the project go, even if they haven't been as public about it.

The fact that both Microsoft and Amazon, Google's major competitors, are investing in Rust means that Google would be quite foolish to not be looking as well.

Re:AWS hires Rust compiler team co-lead Felix Klock by Xevi on Saturday November 28, 2020 @08:05AM (#25237280)
To a lesser extent so far, yes. As you mentioned there's the Fuchsia stuff, and some other smaller open source repositories. But there's also other areas, for example Android.

https://www.youtube.com/watch?v=MNkFSCRUk6E&feature=youtu.be...

Google is also listed as a sponsor here: https://www.rust-lang.org/sponsors

They might not be as invested as other companies, but I bet they'll eventually ramp up their involvement.

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @08:44AM (#25237464)
ChromeOS uses Rust for its hypervisor stuff, this is actually where Firecracker (from Amazon) started.
Re:AWS hires Rust compiler team co-lead Felix Klock by zaxcellent on Saturday November 28, 2020 @09:32AM (#25237709)
ChromeOS uses Rust for crosvm, which Amazon's firecracker was derived from.
Re:AWS hires Rust compiler team co-lead Felix Klock by pella on Saturday November 28, 2020 @09:25AM (#25237664)
the open list :

* Google github repo ( 30 results for repositories written in Rust )

* https://github.com/google?q=&type=&language=rust

Re:AWS hires Rust compiler team co-lead Felix Klock by parley on Saturday November 28, 2020 @04:14AM (#25236438)
Edit: As varbhat has edited their post to clarify that they indeed did not mean to say backing in an adversarial way, my post can be ignored or just read as my understanding of the space.

Apologies if I misunderstand your post, in which case you can disregard my entire post, but -- I assume you mean as in adversarial backing?

These companies use practically all of these languages but to a different extent, for different uses, and for good reasons.

I currently get paid to write C and Go but I dabble in most things, and I'm certainly the happiest when I get to write Rust and ReasonML/ReScript. Having said that, I personally think it's fair to guess that Swift will continue to shine mainly as Apple ecosystem language, Go will continue to shine mainly as network server language and Rust (and whatever follows it) will continue to grow for network servers but will also slowly seep into our shared foundational layer of software. Slowly, slowly, libraries, kernel modules, runtimes, stdlibs for other languages, frameworks, etc. This a good thing, because it slowly rids us of old C and C++ code bases that may not have kept up with the times

Yes, all of these languages are being used to write excellent CLI tools, graphical applications, etc and that's wonderful (I use many of them), but none of these languages are realistically competing to kill any of the other in any definitive way.

Now if only Go would give me sum types (ADTs), my life would be even easier :)

Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @01:39PM (#25239473)
> This a good thing, because it slowly rids us of old C and C++ code bases that may not have kept up with the times

+1 to that, that is also the reason why although I am critical of Go's design approaches, I am at the same time quite supportive of projects using it.

Re:AWS hires Rust compiler team co-lead Felix Klock by karmasimida on Saturday November 28, 2020 @05:24AM (#25236745)
> Amazon is trying to back Rust

I don't know. Amazon doesn't really back any languages TBH, teams in Amazon chooses their own stack if it justifies itself. Rust is apparently great language for critical low-level programming, and AWS crazes for safety and security.

I won't attribute too much significance to this hiring.

Re:AWS hires Rust compiler team co-lead Felix Klock by johnisgood on Saturday November 28, 2020 @12:42PM (#25239004)
NVIDIA picked Ada/SPARK. I wonder why Ada is not considered by large companies when it comes to critical low-level programming. Ada/SPARK got all the constructs for that, it has been designed for very critical stuff, and low-level programming is pretty easy and so much less error-prone than most languages that are considered. It is actually a joy to do low-level programming in Ada. There are no performance penalties either, so that is not an issue.
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @01:42PM (#25239501)
Ada is unfortunately tainted by its traditional customer base (military, avionics, high integrity computing) so it tends to have little love from the traditional software houses.

Additionally from the 5 existing vendors, only Ada Core bothers to keep a link with the FOSS community and somehow approachable prices for commercial licenses, which doesn't help to move beyond the existing perceptions about Ada.

Re:AWS hires Rust compiler team co-lead Felix Klock by yawaramin on Saturday November 28, 2020 @08:42PM (#25242232)
> Ada is unfortunately tainted by its traditional customer base

'Tainted' how?

> only Ada Core bothers to keep a link with the FOSS community and somehow approachable prices for commercial licenses

There's an Ada compiler as part of the GNU compiler suite.

Re:AWS hires Rust compiler team co-lead Felix Klock by fiddlerwoaroof on Saturday November 28, 2020 @09:03PM (#25242355)
Except, if you want to make proprietary software, you have to compile GNAT yourself and be picky about the libraries you use: Adacore’s own FOSS compiler has a GPL runtime library to prevent commercial usage.
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Sunday November 29, 2020 @05:39AM (#25244283)
Which is great, want to earn money? Pay for the work of others.

Library authors keep finding out the actual meaning of going with MIT like licenses instead of dual licensing, specially when their libraries get picked up by the likes of Amazon.

Re:AWS hires Rust compiler team co-lead Felix Klock by fiddlerwoaroof on Sunday November 29, 2020 @06:06AM (#25244417)
I have no issue with this as a business decision, but this particular decision is a barrier to adoption for a lot of people. Hopefully it pays off for AdaCore.
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Sunday November 29, 2020 @08:40AM (#25245049)
Apparently it does, given that NVidia preferred to go with them, than bet on Rust for their high security firmware on automated vehicles.
Re:AWS hires Rust compiler team co-lead Felix Klock by yawaramin on Sunday November 29, 2020 @12:40AM (#25243179)
An implementation detail that would be trivial for any large company to handle. Or even, paying for a license.
Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @10:14AM (#25237998)
It depends on what specifically you mean by “back.” Amazon has been financially supporting the Rust project for over a year at this point, which is one common interpretation of “back.”
Re:AWS hires Rust compiler team co-lead Felix Klock by eecc on Saturday November 28, 2020 @03:53AM (#25236348)
Thought also Microsoft was dabbing into Rust.
Re:AWS hires Rust compiler team co-lead Felix Klock by tybit on Saturday November 28, 2020 @05:35AM (#25236798)
Amazon still has a much more significant investment in Java than Rust, just as Microsoft does with C# and TypeScript than Rust even though both companies are investing more and more in Rust for low level projects.
Re:AWS hires Rust compiler team co-lead Felix Klock by vbezhenar on Saturday November 28, 2020 @05:38AM (#25236807)
When I talked to some Googlers, they said me that majority of Google code uses Java and C++, not Go. That was few years ago, may be now that changed, but it seems to me that Java and C++ really runs everything everywhere.
Re:AWS hires Rust compiler team co-lead Felix Klock by SAI_Peregrinus on Saturday November 28, 2020 @02:39PM (#25239886)
Nobody sensible is going to rewrite everything in Rust all at once. They'll start with new tools or things they needed to refactor anyway. Then use it where it's appropriate (it's certainly not a universally applicable language, the tradeoffs Rust makes are well known). Maybe someday AWS will have replaced all their Java with Rust, but I suspect some bits will stay Java for quite a long time, or migrate to Kotlin or some other garbage-collected language.
Re:AWS hires Rust compiler team co-lead Felix Klock by chenzhekl on Saturday November 28, 2020 @06:12AM (#25236934)
I do feel Google puts a lot of resources on Dart and its ecosystem (e.g. Flutter). While for golang, there's not much support from the company.
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @01:43PM (#25239508)
That is mostly driven by the AdWords department, given that they were the ones rescuing the Dart project.
Re:AWS hires Rust compiler team co-lead Felix Klock by uluyol on Saturday November 28, 2020 @01:49PM (#25239550)
Google probably spends more on C++ than dart and go combined.
Re:AWS hires Rust compiler team co-lead Felix Klock by rualca on Saturday November 28, 2020 @04:05AM (#25236400)
And that's why languages such as C and C++ are not a reference implementation from a vendor but an international standard.

Just get a few rust standards out of iso, one for the core language and another for some standard libraries, and get it over with.

Re:AWS hires Rust compiler team co-lead Felix Klock by chrismorgan on Saturday November 28, 2020 @04:34AM (#25236525)
Rust is not ready to be specified as is required for ISO and similar standards. A few large chunks of its functionality currently don’t have any good definition written down, but instead are defined by the rustc implementation: most significantly, the ownership and borrow checking system. Research towards formalising this model in a way that a specification could use is ongoing (e.g. https://people.mpi-sws.org/~jung/thesis.html, published a couple of months back), but until then any specification document would be unreasonably complicated and verbose, containing large chunks of the current compiler rather than describing an independently-useful model.

But more generally, I think you’re approaching this from the wrong angle, perceiving a problem that doesn’t exist—Rust is already not tied to a single corporate interest. But have patience, there are rustlings of independent implementations in a few places, and their fullness will come in a few years’ time.

Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @04:52AM (#25236604)
Most languages aren't either, they just start the process and evolve from there.

C was still mostly K&R C when the process started, and in C++ all we had was the C++ARM book.

Re:AWS hires Rust compiler team co-lead Felix Klock by jfk13 on Saturday November 28, 2020 @08:57AM (#25237524)
I don't know if your wording here

> there are rustlings of independent implementations

was a deliberate choice or just fortuitous, but "rustlings" would be a fantastic term for embryonic new Rust implementations.

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @09:00AM (#25237544)
"rustlings" is already a well-known project within Rust world https://github.com/rust-lang/rustlings
Re:AWS hires Rust compiler team co-lead Felix Klock by chrismorgan on Saturday November 28, 2020 @10:56AM (#25238281)
I wrote the word down unconsciously, but then noticed the pun when I was going to reword it, and so left it in place instead.
Re:AWS hires Rust compiler team co-lead Felix Klock by rualca on Saturday November 28, 2020 @08:08AM (#25237294)
> Rust is not ready to be specified as is required for ISO and similar standards. A few large chunks of its functionality currently don’t have any good definition written down, but instead are defined by the rustc implementation: most significantly, the ownership and borrow checking system.

That assertion makes no sense at all. If an implementation exists and is already used in production then it's behavior is already relied upon and thus it can already be described. Just write down how it behaves and specify how it is expected to behave. That's it. That's how the whole software world has been for almost half a century.

And no, it makes no difference if a reference implementation decides to implement something that breaks that behavior. That just means it doesn't comply with the standard. That's it.

Why have these basic lessons been forgotten?

Re:AWS hires Rust compiler team co-lead Felix Klock by chrismorgan on Saturday November 28, 2020 @11:08AM (#25238358)
The problem is that we don’t have a sound, correct model. What we have is a compiler that seems pretty decent, but rejects some things that shouldn’t really be rejected, and accepts a few things that are iffy and potentially unsound. It’s a whole lot of code crafted in a comparatively ad hoc manner, whereas a true, correct model is likely to be simpler and more beautiful. Any specification would therefore be specifying the wrong thing, essentially a form of overfitting.

Suppose you’re a cave man and you’re just figuring out how to double numbers. So far, you’ve figured out how to double each number from 0 to 100. Someone asks you to write down your fancy rule so they can do something with it. Do you really want to be teaching everyone that the way to double a number is: “if the number is zero, the answer is zero; if one, then two, 2 ⇒ 4, 3 ⇒ 6, 4 ⇒ 8, &c. ad tedium”? Even if it covers all the required cases without error, it’s a mess. It’ll do for the moment for your own personal use, but you don’t want to be teaching it to other people until you figure out that you can say “to double a number, add the number to itself”.

Until we have a sound model, any attempt at specifying Rust would, for these key areas, be simply importing the current implementation of the compiler. That’s not a good sort of a specification.

Re:AWS hires Rust compiler team co-lead Felix Klock by hobofan on Saturday November 28, 2020 @09:50AM (#25237841)
> Just write down how it behaves and specify how it is expected to behave.

I don't know how to describe it differently as GP, but I'll give it a try. Until a formalised model is built, there is no way to describe it's behaviour that wouldn't come down to writing down the implementation that's currently in the compiler (apart from specifying it by example, which would be even more expansive).

It _might_ (don't quote me on this) be possible to more easily formalize and standardize borrow checking if you leave out non-lexical lifetimes (which were added rather recently), but that's a bad idea because you would lose a lot of functionality, and an alternative compiler with an incompatible implementation of NLLs could split the ecosystem, which obviously nobody wants.

Re:AWS hires Rust compiler team co-lead Felix Klock by rualca on Saturday November 28, 2020 @10:10AM (#25237969)
> I don't know how to describe it differently as GP, but I'll give it a try. Until a formalised model is built, there is no way to describe it's behaviour that wouldn't come down to writing down the implementation that's currently in the compiler (apart from specifying it by example, which would be even more expansive).

That is the point some seem to fail to understand: said model is absolutely irrelevant if we already have production releases of an implementation of Rust.

A standard is not supposed to be academically rigorous. A standard is a specification of the current behavior so that multiple implementations can meet the current requirements, and thus ensure interoperability and compatibility.

It makes absolutely no sense to talk about "a formalized model" because rust is already used in production without said formalized model. The absence of said formalization is irrelevant. The only thing that matters is that the current behavior is specified and set in stone so that it serves as a target set in stone that anyone in the world can target and expect to interoperate.

It's terribly simple: if a rust v1.25 exists then it's behavior and interfaces can be described. Obviously. That description is what a standard is: an implementation target set in stone that others can use as a reference.

Re:AWS hires Rust compiler team co-lead Felix Klock by hobofan on Saturday November 28, 2020 @10:39AM (#25238172)
If you want to exhaustively describe the behavior of e.g. Rust 1.25.0, without a formalized model, then the only way to do so it to run it for all kinds of possible (edge-)cases you encounter and document the output.

If all you have as a reference is a bunch of test cases without any underlying reasoning as to why input A leads to output B, then that's not really a useful target to implement against. At that point you can just go the direct route, not bother with any standard and just implement directly against the Rust compiler.

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @10:26AM (#25238076)
While I disagree with the general sentiment of “rust needs a standard to be successful generally,” you are absolutely right in this comment. There’s a number of things at play here, but there are folks trying to do exactly this. We’ll get there, in time.
Re:AWS hires Rust compiler team co-lead Felix Klock by tannhaeuser on Saturday November 28, 2020 @05:06AM (#25236663)
Why would I then base a development project on Rust, if there's neither a spec nor an alternate implementation? This is strictly worse than what we have now.

And no, I don't trust the Rust propaganda machine. When Mozilla announced they were getting rid of Rust teams, all we heard from said Rust devs was that this doesn't spell the end for Rust. My impression was that they were mainly motivated by advancing their language rather than, you know, implementing a browser.

And to this date, I haven't really read a critical post-mortem addressing claims that Rust can actually replace C or C++ in the areas where these languages are essential. Apart from kernels and drivers (where Rust seems an outright no-go), C is traditionally used for higher-level language runtimes and compilers/interpreters/VMs. But Rust's borrow checker is a bad fit for just about any text book algorithm and technique in that space. Hell, even Rust devs themselves say implementing a DOM is about the worst use case for Rust.

Re:AWS hires Rust compiler team co-lead Felix Klock by sgift on Saturday November 28, 2020 @05:20AM (#25236723)
> Why would I then base a development project on Rust, if there's neither a spec nor an alternate implementation? This is strictly worse than what we have now.

How exactly is having one compiler defining what is okay and what is not worse than "what we have now"? The multiple implementations of C++ are all incompatible with each other in various subtle ways, produce code which works differently and at the end of the day everyone just takes one and says "we write C++ which works with <compiler>" and that's it.

> When Mozilla announced they were getting rid of Rust teams, all we heard from said Rust devs was that this doesn't spell the end for Rust. My impression was that they were mainly motivated by advancing their language rather than, you know, implementing a browser.

Why exactly is it a problem that the core team of a language is interested in the language? Or do you want to imply that the rust devs working on Firefox weren't interested in it? All the progress Firefox made in the last few years tells a very different story (yes, not all of it is due to rust, but a relevant part is).

> And to this date, I haven't really read a critical post-mortem addressing claims that Rust can actually replace C or C++ in the areas where these languages are essential. Apart from kernels and drivers (where Rust seems an outright no-go), C is traditionally used for higher-level language runtimes and compilers/interpreters/VMs. But Rust's borrow checker is a bad fit for just about any text book algorithm and technique in that space. Hell, even Rust devs themselves say implementing a DOM is about the worst use case for Rust.

If you haven't read any critical postmortem about Rusts difficulties in these spaces you haven't looked around very much. This is an impression I generally get from your post. You don't like Rust (for some reason, it's not very clear what it is) and seem to have an axe to grind with it. Which is .. okay? No one forces you to like a language, but doesn't make for a very interesting conversation.

Re:AWS hires Rust compiler team co-lead Felix Klock by blub on Saturday November 28, 2020 @07:49AM (#25237217)
Rust is a pragmatic project. They chose a compiler which is performant and widely available and bet everything on it to keep things straightforward. It looks like it's served them well.

This compiler is on the other hand naturally not available on all platforms and is not appropriate for all contexts. Alternate implementations could have filled these gaps, but they're not there.

The fact that the compiler defines the language and vice-versa enables additional flexibility in changing the language/compiler and development speed at the cost of instability. Different projects may tolerate different amounts of instability and for those that are more conservative Rust may not be an appropriate investment.

With C++ one can code for a specific compiler or in a standard way. One can pick C++98 or 17 or anything in between. All of these are supported options and they give C++ its massive breadth and offer the most flexibility to teams. There's obviously disadvantages associated with all that, but claiming that diversity is a weakness is not generally true.

Re:AWS hires Rust compiler team co-lead Felix Klock by karavelov on Saturday November 28, 2020 @10:20AM (#25238038)
Similarly you can compile Rust in "edition = 2015" or "edition = 2018" and soon "edition = 2021" to guard against changes in the language, e.g. adding keywords.

There are already alternative compilers, though most of them are WIP, e.g. mrustc[1], rust front-end for gcc[2][3], or using cranelift[4] for the back-end.

[1] https://github.com/thepowersgang/mrustc

[2] https://github.com/sapir/gcc-rust/tree/rust

[3] https://github.com/Rust-GCC/gccrs

[4] https://github.com/bjorn3/rustc_codegen_cranelift

Re:AWS hires Rust compiler team co-lead Felix Klock by blub on Saturday November 28, 2020 @10:53AM (#25238260)
Technically the possibility is there. What I'm interested in is how this will be regarded by Rust programmers as time passes and how it will continue to be supported.

It would be interesting for example to see if e.g. the 2015 edition will still be usable/used 9 years later (like C++11) or even ~20 years later (like C++98) but we have some way to go before we can find that out.

On the other hand, there's something exciting about being on the bleeding edge. Right now I'm using C++17 and would probably jump on C++20 when it becomes widely available. But having the knowledge that I have the rock-solid C++11 at my disposal and knowing that it will likely be there for decades gives me a feeling of security that's hard to beat.

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @11:01AM (#25238313)
There's significant difference between the edition system and the C and C++ standards, and that is that the standards are done when they're done, but the editions are not, exactly. That is, new features arrive in the largest set of editions possible, whereas C99 is frozen in time. This is not to say that you or the parent are wrong exactly, but it doesn't really work in exactly the same way.
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @01:48PM (#25239546)
I still look forward to how editions will actually work in practice, when Rust gets a couple of years behind it.

Lib A compiled with edition 2018, talking callbacks to functions implemented in Lib B with edition 2020, Lib C edition 2030 importing Lib D edition 2025.

Naturally, I am also assuming that for pleasing the commercial users of binary libraries, typical in C and C++ universe, all those crates are only available as binary libraries being pulled into a multi-edition final executable.

Re:AWS hires Rust compiler team co-lead Felix Klock by dralley on Saturday November 28, 2020 @09:11PM (#25242390)
Rust does not yet have a stable ABI, and there is not any such thing as a "binary crate" at the moment. So it's kind of hard to run into that problem as the entire exercise is impossible.
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Sunday November 29, 2020 @05:38AM (#25244278)
That exercise is possible to some extent with C and C++, so the whole point is to prove that epochs aren't the gold solution over language selection switches, as they are currently sold.
Re:AWS hires Rust compiler team co-lead Felix Klock by hobofan on Saturday November 28, 2020 @10:05AM (#25237926)
I'm assuming you mean LLVM by "compiler". If platform support of Rust is your concern here due to limited platform support of LLVM, then that might be going away. Based on the fact that Cranelift recently landed as a non-LLVM codegen backend in nightly, I assume that work is already pretty far on supporting alternative backends that could support alternative platforms.
Re:AWS hires Rust compiler team co-lead Felix Klock by blub on Saturday November 28, 2020 @10:57AM (#25238289)
Correct, I was not precise. Actually LLVM is not a problem for me personally, as the platforms I'm using right now are mainstream. I was merely trying to explain why some wouldn't be content just with LLVM.
Re:AWS hires Rust compiler team co-lead Felix Klock by oblio on Saturday November 28, 2020 @05:39AM (#25236809)
> Why would I then base a development project on Rust, if there's neither a spec nor an alternate implementation? This is strictly worse than what we have now.

This is a double standard. C was created in 1972 and standardized in 1989. A major C compiler (MSVC) doesn't even fully implement C99 from 21 years ago.

C++ itself was created in 1985 and standardised in 1998. Yet it was adopted.

Yes, things have changed and the bar has been raised. But people don't seem to have followed your reasoning even for C and C++.

> Apart from kernels and drivers (where Rust seems an outright no-go)

Why? From what I've read Rust can actually help with managing hardware resources through its semantics. What blocks it from being used?

Re:AWS hires Rust compiler team co-lead Felix Klock by blub on Saturday November 28, 2020 @07:40AM (#25237195)
Having an international standard behind a language gives it a certain weight that can't even be compared to the ad-hoc structures that are seen in other projects.

It enables experts in different areas from different countries to come and work together under a set of specific rules that are much stronger that words written in wikis or repos. It also makes it clear that the language is designed for the long term and is not under the control of a single party (as was the concern about e.g. Mozilla which the Rust community tried so hard to dispel).

It avoids embarrassing transitions like Python's 2->3 or one corporation taking control of a language like Oracle did with Java by simply buying it. It avoids having to watch a language go extinct because its corporate sponsor wishes it so (Objective-C, VB 6) and many other such unpleasantness.

This is partly why this AWS focus is strange to say the least. I would have thought that it's obvious for the Rust community that having one large sponsor is not healthy. This tells me that Rust was never really as independent from Mozilla as claimed and Mozilla refocusing away from it seriously hurt the language.

Re:AWS hires Rust compiler team co-lead Felix Klock by anp on Saturday November 28, 2020 @09:50AM (#25237843)
> one large sponsor

Where is this coming from? I’m also worried about AWS over-representation in the Rust community but they’re far from the only significant corporate sponsors at this point.

Re:AWS hires Rust compiler team co-lead Felix Klock by oblio on Saturday November 28, 2020 @08:41AM (#25237444)
Yet Python and Java have been around for 30+/25+ years and are some of the most popular languages around.

Not many people care about standardization, it seems.

Re:AWS hires Rust compiler team co-lead Felix Klock by tannhaeuser on Saturday November 28, 2020 @09:08AM (#25237569)
I don't care so much about standardization as about choice, though, which is what standards tend to create, or the formation of standardization bodies tend to document. C is simple enough to create a compiler from scratch in less than a year (as proven by Tiny CC), but sinking your precious time into a behemoth like Rust (or other language-to-rule-em-all with open research problems) is on another level altogether in terms of commitment. As the language hasn't finalized, can change at any time, only people with inside knowledge of Rust will be able to work on such projects. Others will have to take a significant risk of their Rust code base becoming obsolete, or Rust simply imploding due to lack of new devs outside the inner circle able to pickup. Which makes Rust an irrational choice in the presence of alternatives.
Re:AWS hires Rust compiler team co-lead Felix Klock by oblio on Saturday November 28, 2020 @11:46AM (#25238602)
I find the Rust complexity comment quite funny in a world where C++ and Perl 5 are around and they even managed to release Perl 6 :-)
Re:AWS hires Rust compiler team co-lead Felix Klock by lizmat on Saturday November 28, 2020 @08:26PM (#25242156)
Yes, that's almost 5 years ago now. But please note that since then, it has been renamed to Raku (https://raku.org using the #rakulang tag on social media). You can check out the Rakudo Weekly News (https://rakudoweekly.blog/blog-feed/) if you want to stay up-to-date on developments.
Re:AWS hires Rust compiler team co-lead Felix Klock by oblio on Sunday November 29, 2020 @10:45AM (#25245766)
Do you have some sort of Perl 6 alert for HN? :-p

I know that it's been renamed, but I think you agree that it's still a very complex and powerful language.

Re:AWS hires Rust compiler team co-lead Felix Klock by blub on Sunday November 29, 2020 @05:31AM (#25244238)
It's logical to be concerned about complexity in a specific thing even if there are other complex things in the world. That should be self-evident.
Re:AWS hires Rust compiler team co-lead Felix Klock by oblio on Sunday November 29, 2020 @10:44AM (#25245759)
Yeah, but his argument was directly coming from a C/C++ perspective, which makes it at least a bit... strange.
Re:AWS hires Rust compiler team co-lead Felix Klock by tannhaeuser on Monday November 30, 2020 @02:13AM (#25251415)
I was comparing directly against C. There's no such thing as "C/C++".
Re:AWS hires Rust compiler team co-lead Felix Klock by blub on Saturday November 28, 2020 @11:08AM (#25238357)
One doesn't need standardized tools to get things done. One doesn't even need correctness, performance, privacy, etc as can be seen from a multitude of very successful projects.

But it's there for those that really need it and personally I like it because it shows what we can achieve when a massive group of experts from all over the planet gets together and they nurture a project over many decades which has to work for such a broad set of use cases under the most strict and diverse of requirements, from avionics to mobile apps, physics simulations to cutting edge video games, medical devices to smartwatches and so on.

These two languages have contributed so much to what we have achieved and they're part of our digital heritage. Maybe that's another reason that they had to be standardized, so that they belong to everyone. :-)

Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @01:51PM (#25239560)
Java has a standardization process, it just happens not to be ISO, it is still driven by multiple companies and at each release written documentation comes out.

https://docs.oracle.com/javase/specs/index.html

https://openjdk.java.net/jeps/1

Re:AWS hires Rust compiler team co-lead Felix Klock by flohofwoe on Saturday November 28, 2020 @07:50AM (#25237224)
C only became standardized after 20 years or so, and only out of necessity because there were different compiler toolchains moving into different directions and this ensuing chaos had to be brought under control somehow. And arguagbly the standard is just as much a problem as an advantage (look at all the very useful extensions in clang and gcc which will never make it into the standard, and the C standard libary is still essentially a snapshot of what was already the least common denominator in 1989, and far from the "state of the art" even back then).

As long as a language only has a single implementation or "reference compiler" (like Rust), standardization only adds needless bureaucratic overhead.

Re:AWS hires Rust compiler team co-lead Felix Klock by rualca on Saturday November 28, 2020 @08:18PM (#25242106)
> C only became standardized after 20 years or so, and only out of necessity because there were different compiler toolchains moving into different directions and this ensuing chaos had to be brought under control somehow.

The "after 20 years" remark is totally irrelevant because just because the C community was extremely slow it doesn't mean everyone is supposed to repeat the same mistakes.

The only relevant point in your remark is that a standard is required when there are at least two implementations that need to interoperate. That's the only relevant point. A standard is the only way to ensure that interop is possible, and that implementations are reliable.

Re:AWS hires Rust compiler team co-lead Felix Klock by flohofwoe on Sunday November 29, 2020 @09:07AM (#25245166)
It takes a couple of decades before a language has stabilized enough and gets popular enough to spawn multiple competing compiler toolchains. And before all that hasn't happened a standard makes no sense.
Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @09:06AM (#25237564)
> My impression was that they were mainly motivated by advancing their language rather than, you know, implementing a browser.

It is true that the folks working on Rust are focused on "advancing the language," yes. I don't see why it would be any other way?

> Apart from kernels and drivers (where Rust seems an outright no-go),

Rust works great in these scenarios. We'll see about some higher profile examples, like Linux. Work there is ongoing. Only one way to find out.

> C is traditionally used for higher-level language runtimes and compilers/interpreters/VMs. But Rust's borrow checker is a bad fit for just about any text book algorithm and technique in that space.

There are a ton of projects in this space. After all, the Rust compiler, for example, is one of the two OG massive Rust codebases. But there's also tons and tons of projects here.

> Hell, even Rust devs themselves say implementing a DOM is about the worst use case for Rust.

Sort of, but also not really. Implementing a DOM would be easier if Rust had inheritance, is usually what is claimed. Yet, Servo was still built, and nobody would suggest that the DOM was a hard blocker here.

Re:AWS hires Rust compiler team co-lead Felix Klock by kzhukov on Saturday November 28, 2020 @01:19PM (#25239311)
There are fields such as automotive and aerospace where absence of Rust's standard is a showstopper for using Rust. Those areas require that all tools that are being used to build software must be certified (ISO 26262 for automotive for example) to ensure that software is safe to use and doesn't kill anybody. And nobody would do that for a language that adds new features every 6 weeks, because such certification is a long expensive process which you have repeat every time when the tool changes.

It's not possible for open source project to do such certifications by themselves. In C/C++ world there are companies that implement certified compilers. Usually, these are pretty shitty compilers that implement only previous standards like C++14.

And here is the problem for Rust. If there is no standard for the language and library, how such companies could implement an alternative compiler? Current Rust editions is not an option because they feel like a bottom line and don't answer the question to what extent the compiler has to be implemented to be called "compliant with Rust 2015".

And those fields aren't small. Usually hundreds of million lines of C/C++ power modern vehicle.

I find it's pretty funny that language, which positions itself as safe replacement for C/C++, can't be used in safety critical applications.

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @01:24PM (#25239364)
> There are fields such as automotive and aerospace where absence of Rust's standard is a showstopper for using Rust.

"fields" is a bit too broad. Not all applications in those fields require a standard or certification. That being said, you're absolutely right that in some cases, it is required.

> In C/C++ world there are companies that implement certified compilers.

That is true. In Rust, this is what we're seeing too; the first certification effort is being led by a company, in concert with the language team itself. This is still ongoing.

> I find it's pretty funny that language, which positions itself as safe replacement for C/C++, can't be used in safety critical applications.

This is overloading the word "safe." Rust has been about memory safety. Not about every possible meaning of the word "safe." Yes, Rust is not yet mature enough for industries with those kinds of requirements. Yes, they are not small fields. They are still smaller than the sum of all fields that do not require them. Rust doesn't have to be applicable for every possible use at the earliest stages of its life to matter.

We'll see how it goes.

Re:AWS hires Rust compiler team co-lead Felix Klock by yawaramin on Saturday November 28, 2020 @08:50PM (#25242278)
> Usually hundreds of million lines of C/C++ power modern vehicle.

And I find that highly problematic. If anything, Ada would be a much better choice for these safety-critical applications.

Re:AWS hires Rust compiler team co-lead Felix Klock by tannhaeuser on Saturday November 28, 2020 @09:33AM (#25237712)
> It is true that the folks working on Rust are focused on "advancing the language," yes. I don't see why it would be any other way?

That wasn't the argument. What's problematic is that Rust developers are focused on their language above anything else, to the detriment of the primary product they're developing. When the product - a web browser to stand against Chrome - is much more important than yet another programming language. It's about obsessing on your tools and being in love with a programming language; I call it "thinking with your fingers".

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @09:38AM (#25237749)
> to the detriment of the primary product they're developing

I guess this is the core of it. It is hard for me to understand why you'd think people working on a language would have "the primary product" be something other than the language. There isn't even a single coherent other project to be associated with. Why would "a browser" be special here? It’s even in the name: the Rust developers. We develop Rust.

Do you fault the C standards body for working on C? Or the Ruby core team for working on Ruby? What language do the developers of the language consider something other than the language as their primary product?

Now, of course, as a tool maker, you have to make sure the tool is fit for purpose. You want to enable the people who are working on projects like a browser to be able to do their job. But that's their job, not our job. It seems like you're suggesting that the primary job of Rust developers is to improve Firefox, and it's very confusing to me why you'd say that, when nobody would say that about any other language. Or at least, I've never come across that sentiment before.

Re:AWS hires Rust compiler team co-lead Felix Klock by tannhaeuser on Saturday November 28, 2020 @10:36AM (#25238153)
Maybe we're really talking past another, but for example, last week's announcement for Servo's new home page reads

> The Servo Project is excited to announce that it has found a new home with the Linux Foundation. Servo was incubated inside Mozilla, and served as the proof that important web components such as CSS and rendering could be implemented in Rust, with all its safety, concurrency and speed.

This is clearly written by someone who sees Servo as a showcase for Rust above anything else rather than what tf it is, such as a state-of-the-art rendering engine. But the developers addressed as readers, such as me, care about the state and coverage of the actual layout engine, CSS parsing/matching, rendering and rendering targets, font handling, and the like.

I'm not the only one bringing this up; when the announcement was discussed [1], there were similar sentiments. For me, a programming language is a means to an end for creating machine code, not an end in itself. This focus (and Mozilla and developers walking away from it) also hints at Servo not being all that useful (or incomplete?) for actual rendering; we don't really know. Anyway, the take away for me is that diving into Servo and Rust is probably not worth my time investment.

[1]: https://news.ycombinator.com/item?id=25125325

Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @10:49AM (#25238238)
Yeah, I think we are.

I think the issue here is that this post makes sense to me, but it's about Servo and/or Mozilla. But your initial post was complaining about "the Rust developers." These are two (or three) effectively disjoint sets of people. I think that's where we got off the rails.

If you had said "Mozilla" in your post, I would still disagree, but for completely different reasons. Complaining about a "focus" on a team of ~20ish people in an organization of 1500 people doesn't make a ton of sense to me.

And I'm still not clear why you're drawing conclusions about Rust generally from one single project, that's not even its most popular or widely used exemplar project.

Re:AWS hires Rust compiler team co-lead Felix Klock by damnyou on Saturday November 28, 2020 @10:46AM (#25238220)
> Anyway, the take away for me is that diving into Servo and Rust is probably not worth my time investment.

You're the best judge of your time, but making a claim about Servo and then, in the last sentence of your post, broadening it to all of Rust, is a bit odd. Servo's not even in production, unlike plenty of other Rust code.

Re:AWS hires Rust compiler team co-lead Felix Klock by sischoel on Saturday November 28, 2020 @05:28AM (#25236767)
Why would you say Rust is bad for kernels and drivers? Asking this because I am curious, not as an argument.
Re:AWS hires Rust compiler team co-lead Felix Klock by rcxdude on Saturday November 28, 2020 @07:23AM (#25237128)
I would also be interested if there's any specific reasoning there, especially because there's an effort to get rust supported as way of writing kernel modules in linux, a pretty dogmatically C (though not standard C) codebase. I am personally very exciting for rust's potential in low-level embedded applications.
Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @08:47AM (#25237474)
My day job is doing embedded rust, with kernels and drivers. It works great.
Re:AWS hires Rust compiler team co-lead Felix Klock by piaste on Saturday November 28, 2020 @04:16AM (#25236447)
> And that's why languages such as C and C++ are not a reference implementation from a vendor but an international standard.

I'm not a C++ programmer but when I read C++ programmers discussing their language standard committee, "free and unconstrained by corporate interests" is usually not how they characterize it.

Re:AWS hires Rust compiler team co-lead Felix Klock by usrnm on Saturday November 28, 2020 @04:31AM (#25236518)
Of course not, but at least we have several very different corporations that have to fight and agree on the final result, instead of just one that can push whatever crap that suits its short-term interests better
Re:AWS hires Rust compiler team co-lead Felix Klock by fluffy87 on Saturday November 28, 2020 @05:09AM (#25236682)
But that’s not the case for Rust? Rust is backed by Microsoft, Amazon, Apple, Google, Facebook, Intel, and many others...

The Rust development and specification happens all in the open on GitHub.

There is no single company controlling its future or direction.

Re:AWS hires Rust compiler team co-lead Felix Klock by nullifidian on Saturday November 28, 2020 @05:49AM (#25236849)
Mozilla pays salary to the core team members, who approve/decline pull requests, vote on RFCs. So far there haven't been any reasons for concern, and Mozilla is more of a dying husk without too many interests to affect rust's development, but the situation could be improved with more neutrality/independence.
Re:AWS hires Rust compiler team co-lead Felix Klock by steveklabnik on Saturday November 28, 2020 @08:49AM (#25237479)
Mozilla used to pay a salary to a handful of the 200+ folks who make these decisions. And since we operate on consensus, every member of the team must agree. So it’s never been possible for one company to completely control things. This is by design.
Re:AWS hires Rust compiler team co-lead Felix Klock by parley on Saturday November 28, 2020 @06:45AM (#25237016)
Re:AWS hires Rust compiler team co-lead Felix Klock by pjmlp on Saturday November 28, 2020 @04:51AM (#25236596)
Although both are standards by accident.

C because when UNIX started to get widespread, that was the way to settle difference across multiple language implementations.

And C++ because Bjarne eventually settled on ISO as means to settle out the differences across the various C++ implementations that sprung off.

https://www.stroustrup.com/hopl-almost-final.pdf

However this is also a reason why nice tools like package managers and IDEs are ages behind, because when one vendor comes up with nice toys (C++Builder, vcpkg, CUDA), they don't land on ISO and you are stuck in one eco-system anyway.

Re:AWS hires Rust compiler team co-lead Felix Klock by cageface on Saturday November 28, 2020 @05:17AM (#25236712)
What’s the advantage of a formal standard when the language itself and the tools are all open source? All I can see a formal standard adding to the picture is a lot of bureaucracy and friction and the headache of subtly incompatible implementations.
Re:AWS hires Rust compiler team co-lead Felix Klock by tzs on Saturday November 28, 2020 @11:58AM (#25238689)
> What’s the advantage of a formal standard when the language itself and the tools are all open source?

Let a, b, c be integers. Consider this statement in a language:

  a = b % c
If b < 0, c > 0, is a <= 0 or is a >= 0? How about if b > 0, c < 0? How about if b < 0, c < 0?

There are three ways I might go about determining that.

1. I could write some test cases and run them. That will tell me what the deal is for that particular compiler on the particular OS and architecture I am compiling on/for. It doesn't tell me if I can count on that anywhere else. It could be that the compiler doesn't care, and I'm simply seeing the way the underlying machine division or mod instruction works on my particular CPU.

If I care, then, I have to specifically write code myself to make it work the way I want, or make sure to only run my code on CPUs that work the way I want.

2. I could look at the source for the compiler. Suppose I see in there that it compiles it so that it will be consistent regardless of how the underlying CPU works, and it is even doing it the way I want.

Great, now I don't need to write extra code. I can just use "a = b % c" and be done with it, right.

Nope. Maybe in the next release of the compiler they change this to just do whatever the underlying CPU does because that enables some optimization that they could not make when they forced one particular option for this. Then my code breaks.

3. I can read the language specification and see what it says about signs and modulus. If it says it will always work one specific way, I can code to that and be done with it.

Without a specification for language X, you cannot really write X code. You can just write code for the incompletely documented X-like language implemented by specific releases of specific X-like langauge compilers, possibly also limited to specific CPUs.

Re:AWS hires Rust compiler team co-lead Felix Klock by the_why_of_y on Saturday November 28, 2020 @01:28PM (#25239388)
True, but (as you say) this merely requires a specification, not a (ISO or other) standard like the GP asked about.

In other words, it's sufficient if the semantics are publicly documented with adequate precision, and the developers of the reference implementation consider any deviation from this specification a bug.

Re:AWS hires Rust compiler team co-lead Felix Klock by jabl on Saturday November 28, 2020 @07:09AM (#25237081)
Indeed. It was a very much different situation for, say, C or C++. Back then it was multiple proprietary implementations, and customers (if not vendors) had an interest in a specification.

For Rust, so far there is one (main) implementation, which is open source. Very different scenario.

Re:AWS hires Rust compiler team co-lead Felix Klock by higerordermap on Saturday November 28, 2020 @05:22AM (#25236733)
Having a spec is enough IMO. Go has one. That enables alternative implementations. There are enough reasons to not want an implementation monoculture.
Re:AWS hires Rust compiler team co-lead Felix Klock by cageface on Saturday November 28, 2020 @07:33AM (#25237169)
What are the reasons? I see a lot of benefits of an open source monoculture, especially if corporate backing is uncertain.
Re:AWS hires Rust compiler team co-lead Felix Klock by higerordermap on Saturday November 28, 2020 @07:58AM (#25237248)
Competition is great. If there is no competition, implementation quality stagnates. It happened with GCC, for example.
Re:AWS hires Rust compiler team co-lead Felix Klock by cageface on Saturday November 28, 2020 @10:10AM (#25237963)
I doesn't seem like a comparable situation. There were already multiple competing C & C++ compilers including several commercial options. I don't think complacency is holding Rust back.
Re:AWS hires Rust compiler team co-lead Felix Klock by nullifidian on Saturday November 28, 2020 @05:52AM (#25236866)
I would be nice to have a document we can rely on and refer to, in case of subtle breakages and bugs. Alternative implementations could also be a possibility down the line. Having a formal spec would also help with code verification, i.e. you basically can't do it unless the language is specified.
Re:AWS hires Rust compiler team co-lead Felix Klock by jabl on Saturday November 28, 2020 @07:11AM (#25237087)
A formal, machine-readable specification could be useful. I wonder whether a specification in prose form is worth the effort.
Re:AWS hires Rust compiler team co-lead Felix Klock by cageface on Saturday November 28, 2020 @07:34AM (#25237173)
Why do we want alternate implementations?
Re:AWS hires Rust compiler team co-lead Felix Klock by Narishma on Saturday November 28, 2020 @11:50AM (#25238630)
There are some platforms where the current implementation doesn't run.
Re:AWS hires Rust compiler team co-lead Felix Klock by dijit on Saturday November 28, 2020 @05:58AM (#25236883)
> And that's why languages such as C and C++ are not a reference implementation from a vendor but an international standard.

Is that true though? I mean the spec is so "loose" that most compilers don't even work with the same code if it has any level of serious complexity. Normally that's put under the rug of 'undefined behaviour' but imo it's a "vendored version" of the language, the most common variants being MSVC, GCC and CLANG, and even projects which make efforts to be agnostic or have many eyes (linux) can't support GCC _and_ CLANG easily.

Re:AWS hires Rust compiler team co-lead Felix Klock by jononor on Saturday November 28, 2020 @06:15AM (#25236942)
If you move up from kernel level, many projects work with multiple compilers. For example most of the underlying libraries that are part of GNOME work with MSVC, GCC and CLANG. Probably also many more, but it does not tend to be tested much.
Re:AWS hires Rust compiler team co-lead Felix Klock by nimmer on Saturday November 28, 2020 @08:12AM (#25237304)
> Google backs Go. Apple backs Swift. Amazon is trying to back Rust.

Thankfully we can still use independent languages like Nim, Python, C, C++

Re:AWS hires Rust compiler team co-lead Felix Klock by darthrupert on Saturday November 28, 2020 @08:28AM (#25237380)
Although Nim could really use a high profile company to become great.
Re:AWS hires Rust compiler team co-lead Felix Klock by bsg75 on Saturday November 28, 2020 @03:45PM (#25240392)
Statements like this make no sense. What can I _not_ do with Rust, Go, Java that I am allowed to with Nim, Python, or C/C++? What license or restrictions on distribution of my work product is prevented with any of them?

Too many people forget or are not aware that good C/C++ compilers used to be commercial and expensive, they were independent in idea only and evolved today to be independent of any commercial entity. If I wanted to develop performant executables I may have had to purchase an expensive compiler, and abide by its license. If anything, languages are far more independent today than they were.

Re:AWS hires Rust compiler team co-lead Felix Klock by eeZah7Ux on Sunday November 29, 2020 @11:45AM (#25246228)
> What can I _not_ do with Rust, Go, Java ... ?

Trust the language not to be driven by corporate interests, for example by bending it out of shape in future when it suits some needs, or drop it suddenly...

...as it happened a million times with languages and other projects from Google, Oracle, Microsoft.

All evidence indicates that projects that are not tied to a single corporation are more likely to keep their soul and their direction and avoid marketing-based decisions.

The Linux kernel is a good example.

Re:AWS hires Rust compiler team co-lead Felix Klock by bsg75 on Sunday November 29, 2020 @01:36PM (#25246951)
> ...as it happened a million times with languages and other projects from Google, Oracle, Microsoft.

Paranoia. Java and .NET are strong despite their corporate keepers. Open versions of both exist.

Languages are not product, and this is something people seem to have a very difficult time accepting.

Re:AWS hires Rust compiler team co-lead Felix Klock by squiffsquiff on Saturday November 28, 2020 @09:38AM (#25237758)
I don't think it's that simple:

Here's an example of an AWS open source project, written in Go and hosted on GitHub: https://github.com/kubernetes-sigs/aws-load-balancer-control...

Re:AWS hires Rust compiler team co-lead Felix Klock by estebank on Saturday November 28, 2020 @02:34PM (#25239857)
Is your concern that Amazon employing people to work on the open source project will dramatically alter its direction? From what all I've seen I am taking the public comments at face value: Amazon wants to use Rust long term, so they are putting resources into ensuring Rust's long term viability. I think that there are exist few things that Amazon could possibly want that from this effort that wouldn't also be desired by the ecosystem at large. Changing the language isn't something that is done in the dark, the RFC process is as transparent as it could be (although it is not actively promoted to the entire community, which does produce the "why wasn't I consulted?" reaction from time to time) and that process will not be changed to become more opaque.

Rust the project is resilient because although it was significantly shepherded by Mozilla, it's been years since it relied on any single company or even individual for advancing (although there are many people whose contributions are very important).

Rust the language is stable, if "incomplete", as there are many language "features" that are still needed (by "features" I don't necessarily mean "adding new things" as some might be worried about, but rather "making existing features work in more places" which although they complicate the implementation of the language simplify the usage of the language).

Rust the ecosystem has advanced by leaps and bounds in the past couple of years but is still green, particularly if you want to use anything outside of the beaten path trail blazed by hobbyists and early adopters. Writing new crates people might want or bringing existing crates up to production quality requires resources: people, money and time. Amazon, Microsoft, Facebook and Google are four large companies that are providing some of those resources. Lots of other companies and individuals are as well. I see these developments as a good thing.

Re:AWS hires Rust compiler team co-lead Felix Klock by usrnm on Saturday November 28, 2020 @03:52AM (#25236341)
Thank god, we still have C++ :)