r/rust • • Sep 13 '21

I refuse to let Amazon define Rust

https://twitter.com/steveklabnik/status/1437441118745071617
1.3k Upvotes

291 comments sorted by

View all comments

302

u/tubero__ Sep 13 '21 edited Sep 13 '21

Amazon has also been aggressively trying to fix up their (well-deserved) image as an open source leech. There are plenty of self-congratulating marketing blog posts, often trying to take credit for the work of others or glorifying Amazon involvement in an unjustifiable way.

This has left a bad taste multiple times. The whole "Rust Principles for Amazon" post that is referenced was also pretty odd to me.

Seeing Klabnik make such a clear, public statement is somewhat concerning, since it probably means he just couldn't keep quiet anymore.

A somewhat related question: what's up with the foundation? It launched to much fanfare in February, but it's been very quiet since. No meeting notes since May, the last substantial announcement in April. I expected the foundation to engage in promotion and outreach. I wonder what are they up to.

---

In general I've had the feeling for a while that Rust is drifting from a community driven language to a more traditional model, with a lot of design and implementation work happening in working groups with relatively little visibility, instead of community discussions. Maybe that's just a natural consequence of a more mature, complex and professional project, and the problematic nature of community pathfinding (see the async RFC saga...).

Commercial parties gaining more power over the language is also natural and to a certain extent welcome. Someone needs to pay the developers after all.

But it still makes me a bit uneasy, especially since design decisions are slowly sneaking in to the language that I don't agree with. (a few years ago, my only complaints about Rust were about missing features, not existing ones, but that is slowly starting to change)

And considering these tweets, moving power from the community to a smaller set of actors might well be intentional.

===

Edit: some interesting followup from Klabnik on Hackernews:

https://news.ycombinator.com/item?id=28513656

57

u/[deleted] Sep 13 '21

especially since design decisions are slowly sneaking in to the language that I don't agree with.

Can you name some specific features you don't like and give a reason why you don't like them!?

36

u/Missing_Minus Sep 13 '21

I have less issue with current accepted features than some others, but as Klabnik says on the HN thread ( https://news.ycombinator.com/item?id=28514771 ):

The risk is that they can set the direction to anything. They might be amazing stewards, they might spend it all on useless things. We don't yet know. I do know that many of the folks in the foundation have their hearts in the right place.
Again, the theme isn't about specific actions, it is about consolidation of control.

0

u/[deleted] Sep 13 '21

[deleted]

26

u/Rusky rust Sep 13 '21

That's one that's been a long time coming, so IMO not really relevant to the current shift in leadership structure.

→ More replies (1)

18

u/Pas__ Sep 14 '21

We kind of do though. The very strong guarantees of the compiler come at a cost of flexibility and need for boilerplate and other trade offs. These quality of life improvements are rather important.

Yes, it's hard to draw the line, but these essential control flow features allow better readability, some nice refactor possibilities and makes more sense than some kind of not-invented-here macro.

→ More replies (3)

4

u/protestor Sep 14 '21

The foundation shouldn't be involved in deciding technical matters. I think your beef is with the lang team

https://www.rust-lang.org/governance/teams/lang

I don't know how many of those dudes currently work on Amazon, but they have been involved with Rust for many years, prior to Amazon's involvement with Rust.

55

u/Icarium-Lifestealer Sep 13 '21

In general I've had the feeling for a while that Rust is drifting from a community driven language to a more traditional model, with a lot of design and implementation work happening in working groups with relatively little visibility, instead of community discussions.

I feel like moving most design discussions from github to zulip is a major part of that.

25

u/kibwen Sep 14 '21

I'll go to bat for Zulip here. I'm old enough to remember when Rust was designed through IRC and mailing lists, and to me Zulip is the best of both of those, with realtime chat as good as IRC and threading that's better than any mailing list interface I've used.

34

u/Recatek gecs Sep 13 '21

As a casual observer from the outside it feels like I have to constantly chase rust as they abandon every traditional communication venue for their own things nobody else uses.

34

u/kibwen Sep 14 '21

RFCs still get discussed on Github. And it must be said, Github comment threads are notoriously poor for long and highly-populated discussion. As someone who participates in design discussions quite frequently, Zulip is a dream compared to Github.

8

u/Icarium-Lifestealer Sep 14 '21

I've come across several newer issues (not sure if RFCs) where people were discourages from discussing the design in the issue itself.

9

u/Rusky rust Sep 14 '21

Based on that phrasing, you're probably looking at "major change proposals," which are about changes to compiler internals (not the language) and would not have had any visibility before Zulip.

5

u/kibwen Sep 14 '21

Yes, many RFC tracking issues deliberately discourage discussion of the RFC in the issue itself, in favor of opening issues dedicated to specific parts of the design in order to focus discussion there. The tracking issue is then used solely to track the resolution of these sub-issues and the stabilization of the feature. This is a policy borne out of long experience with the difficulty of navigating long-lasting and wide-ranging Github comment threads.

For other Github issues, I myself have encouraged high-throughput discussion to take place in Zulip threads instead, with the idea that any conclusions from that discussion will afterward be succinctly summarized as a single comment in the Github issue, as a way of heading off the unscalable nature of Github comment threads.

→ More replies (2)

13

u/hammypants Sep 13 '21

yup, and it is terrible.

43

u/_ChrisSD Sep 13 '21 edited Sep 13 '21

A somewhat related question: what's up with the foundation? It launched to much fanfare in February, but it's been very quiet since. No meeting notes since May, the last substantial announcement in April. I expected the foundation to engage in promotion and outreach. I wonder what are they up to.

To be fair, it can take quite awhile to get a new organisation fully up and running. Especially if it has to set up all the fiddly legal and business arrangements/relationships from scratch and headhunt for the best people to fill each role, etc.

That said, a regular progress report wouldn't be amiss even if it's still early stages.

42

u/accountability_bot Sep 13 '21

My fear is that Amazon wants to essentially “own” rust, and have more influence than any other sponsors, and this is a subtle first step to try to rewrite history that rust is an “Amazon” language.

Like Google created Golang (and Dart, but we don’t talk about that), and even though there is a foundation, they certainly continue to have a significant amount of influence. Same with Apple with Swift. But Amazon doesn’t have a language… so why borrow (or create) what you can steal.

41

u/[deleted] Sep 13 '21

That seems extremely unlikely to happen. Languages are massive cost center that only makes sense if you leverage it to a part of your business that is actually profitable.

Google built their languages for two reasons: to solve problems other parts of the organization had (make new hires productive as fast as possible and make it easier to write nice xplat apps) and to have interesting project their top employees wanted to work on to retain their talent.

Apple built Swift because it provides a form of lock in to their platform (I know it's open source but that's not meaningful to this point, get back to me when Swift supports Android out of the box) and because that allows them to continue making their actual business of selling iPhones, iPads and mac's very profitable.

Amazon is a cloud services provider. What makes them successful is supporting every possible language out there to run on their cloud and then locking you in via API and architectural decisions. Having a proprietary language that only works on AWS is saying the quiet part out loud and they don't ever want to do that.

14

u/ryanmcgrath Sep 13 '21

I’m not sure it’s accurate to imply that Apple built Swift for lock in purposes. They already had this to a degree with Objective-C and wanted a language that tied in with existing codebases well.

Didn’t Lattner also start it as a pet personal project while working at Apple and then got them to take over? I feel like I recall reading this but I invite someone with more firsthand knowledge to correct me.

15

u/[deleted] Sep 13 '21

If they didn't want lockin, they could have picked from a wide variety of permissively licensed programming languages and just extended it to have great Obj-C interop.

It's unclear to me the history of Swift from Wikipedia and Lattner's homepage. He clearly started working on it at Apple but I don't know if it was ever a personal project or an experiment sanctioned by higher-ups at the company. Objective-C was extremely long-in-the-tooth by that point so I could definitely see a proposal from someone like Chris gaining support very quickly inside Apple.

8

u/Emoun1 Sep 13 '21 edited Sep 13 '21

but I don't know if it was ever a personal project

He clearly stated on the Lex Fridman Podcast (~41 minutes) that he started it in his spare time. Though doesn't mention how long it took him to begin talking with other at Apple about it.

Edit: It was on his first appearance on the podcast

→ More replies (1)
→ More replies (2)
→ More replies (1)

6

u/accountability_bot Sep 13 '21

I figured it was an unlikely situation, just more one of concern.

→ More replies (5)

5

u/wallshaded Sep 14 '21

The article is doing a particularly absurd thing if you look at the archived version prior to the edit. At first I thought it was claiming that Rust's principles were somehow "Amazonian", but instead it's claiming that by having a list of principles (or "tenets"), Rust was using "Amazonian tenets", as if Amazon invented the idea of having a guiding vision and writing it down in a list.

Has Python been guided all this time by an Amazonian Zen?

→ More replies (1)

7

u/kibwen Sep 14 '21

design decisions are slowly sneaking in to the language that I don't agree with

The foundation doesn't design the language, that's the purview of the language team. And the foundation doesn't have any ability to decide membership of the language team, or for that matter any of the Rust teams.

→ More replies (2)