190 points · by darwhy · 9y ago · 175 comments
Cool, so they are looking to make Rust more useful by involving people with different perspectives.
> we would especially love insights from include women (cis & trans), nonbinary folks, people of color
Oh. Well this is weird. They seem like awfully indirect measurements of relevant skills and perspective Edit: explained in a comment https://news.ycombinator.com/item?id=14657507 by wll
> non-native English speakers, people who learned programming later in life (older, or only in college, or at a bootcamp as part of a midlife career change), people with disabilities, or people who have different learning styles.
Ah yes. This is what I expected to see.
I'm loving what Rust is currently bringing and is going to bring to the world, I want them to be really approachable, and I want it to be used in new ways - but it really reads like they are playing with going the way of Github.
EDIT: See earlier edit.
The effort to reach underrepresented demographics seems to stem from last year's survey results [0]. Increased diversity could lead to new project-wide perspectives and overall community enrichment, if solely due to life-experience-based heterogeneity.
[0] https://blog.rust-lang.org/2016/06/30/State-of-Rust-Survey-2...
Fortunately the Rust community isn't GamerGate, but if we can eliminate those attitudes sooner, then that's in Rust's long-term interests.
A common line of argument is that "being more welcoming" will lead to more contributors and thus to more diverse perspectives. Browsing through Rust's documentation and bug tracker alone makes me skeptical of that. I can't find a thing that will turn away someone interested in Rust.
There's definitely sexism in the industry, no question. But I have yet to see someone present numbers of how e.g. their Code of Conduct lead to more contributors. I doubt that any of these undertakings do, unless the project really does have an asshole community. But Rust surely doesn't.
There's other ways to address that too. I've used https://textio.com/ in the past for job ads and it's really interesting to see examples of how seemingly minor word choices can land depending on the reader. It'd be a relatively simple task to run documentation, RFCs and Github comments of core team members through such a service and automatically generate a report (which wouldn't have to be released publicly, but could be sent to authors to aid in using more inclusive language going forward).
The thing that's really difficult to do is to be inclusive in a way that doesn't feel exclusive towards people who aren't in the target demographics. Using these types of automated tools doesn't have that downside. Has anything like this been suggested/done by the people working on Rust?
Its particularly interesting to note that the respondents gave a figure for LGB that falls within most estimates for population percentage (and hence doesn't form an underrepresented group here).
Are there any plans to measure the impact of this? That way the Rust project could show other projects the actual, concrete, benefits of diversity.
So, which one is a better use of scarce time and resources?
Rust the language is making me happier and happier.
Rust the community sometimes makes my eyes roll. I'll need to borrow the millennial "<shrug> Whatever ..." for the proper response to this.
This is a false dilemma. Work on that stuff is ongoing regardless of this initiative.
There are far smarter places to recover this spent effort, if that is your actual concern.
Bang-up programmers are typically not the ones you want pressing flesh and pushing buzzwords.
One might wonder what benefits alternate uses for scarce resources spent chasing that "could" could provide instead.
It's not that there aren't times and places it might be appropriate, but I think it'd be better to say precisely what and whose effort you wish to spend on something better and what that better thing is.
There's room for lots of people to pursue different, complimentary goals. If you really hope to tell other people that they should spend their energy on something other than the things they have chosen to think are important, you'll need a stronger argument than vague hints of mysterious opportunity costs.
> Oh. Well this is weird. They seem like awfully indirect measurements of relevant skills and perspective
It might be indirect, but if the empirical evidence says they are under represented, then there is a reason for that. Asking for their perspectives is a sensible way to investigate what the reason may be.
Let's be clear, I don't think it's necessarily within the Rust communities power to change these reasons. If mothers tell their daughters that programming is for boys [1], and discourage them from spending all their time at the computer, then that would be expected, somewhere far down the road, to lead to an under representation of women. That's hard to fix, and it's not something the Rust community can do much about, given that none of the mothers involved would have ever heard of Rust to begin with.
But maybe there will also be some ways to be more welcoming, and I'd expect that to overlap somewhat with the latter points (that you approved off) that have a more clear cut causal hypothesis associated to them. If you were discouraged from playing around with programming as a kid, you'll likely have ended up learning programming later in life. If you were socialized to avoid conflict, then a high conflict environment will be a turn off. Asking what makes it better for people with a different background has the potential to make it better for people who might not share the background, but the handicaps it confers.
[1] http://www2.psych.ubc.ca/~abaron/downloads/Croft_Schmader_Bl...
Is it? Why?
When patients visit the ER, they often believe that whatever change in their diet that they're aware of and focused on -- like eating cabbage last week -- must be the cause of their ailment.
When parents had their children diagnosed with autism, they cast their net for the nearest change to be blamed ... and found vaccines.
Are you really saying underrepresented people don't know why they don't contribute to a project they maybe would have?
The final diagnosis is not necessarily what the patient thinks it is, but it would be grossly negligent to not ask the patient about all information they think might be relevant.
And I think they should make an effort to reach out to people of lower economic/educational status or rural areas, regardless of race/gender/etc.
Documentation or discussion could use language that means some demographic groups aren't comfortable getting involved, when they could otherwise be great contributors. It's a reasonable idea that some people already think computer programming "isn't for them", and that correcting that misconception is important. I agree that people should be judged by their merits, so we should focus on not deterring people for non-technical reasons.
Well, maybe that's the thing: they aren't measurements of relevant skills or perspective. Instead, you might consider it a form of stratified sampling: trying to include sub-populations that may not be as well-represented so far but may supply valuable contributions.
What's the way of GitHub?
http://www.businessinsider.com/diversity-guru-discusses-whit...
This topic is likely to become a flamewar IMHO though.
I care for a well designed, well performing language, which Rust appears to be.
I could not care less about what is the colour of people writing it, their sexual orientations, or how well represented they all are. It may seem relevant to you but it certainly is not to me.
I don't even know what cis women are or are supposed to be. Are they good designers and programmers?
"Cis" is just the opposite of "trans". It is an adjective or prefix. Most people are cis.
Well, you can certainly ignore all that and just use the language. Nothing forces you to do these things, they're just forcing themselves to do these things.
And I think the position being espoused but misunderstood is that people would like to take different approaches to promoting diversity (perhaps by being personally inclusive and politically neutral) but these sorts of codes of conduct are not conducive to those approach. It's not fair to say this is the way to improve the situation. Or that the situation can be improved this way at all. It may be shocking to people comfortable in American coastal culture, but this sort of thing is controversial (look at this thread!) and unnecessarily combative to people from other cultures.
Furthermore, it's not inclusive to many people because it takes a specific viewpoint in many complicated but intentional ways.
I am old and non-native English speaker and I love Rust. Thus I would have liked to participate and I could have ticked some of the boxes. The funding to a conference of my choice would certainly have been very welcome.
Then I tried to reflect on it more honestly. Does my age and my not so good English really make me into such a valuable contributor to a Rust conference? I do not think so. Other qualities might but you do not list those. So I ended up excluding myself.
To clarify then: when I wrote that I am not interested in your obsession with identity politics, what I really meant was that, as a condition of active entry to the Rust community.
So, no, I can't ignore all that and just us the language. I can't use a language in a professional context when I consider the core team to be unprofessional. But that's a nice social experiment and I'll probably use rust for my personal projects.
When I use Rust, I don't even know what was the colour and sexual orientation of every person that has written every part of it. Why do you think I should know that and care about that? What makes you think it is relevant?
There is Redox, for the full-on ambitious plan to write an OS from scratch: https://www.redox-os.org
Then there's the Rust rewrite of coreutils: https://github.com/uutils/coreutils
Someone also did the research on building a Linux kernel module in Rust, though it seems like quite the hassle: https://github.com/tsgates/rust.ko
There's also a project to essentially wrap seL4 in Rust to build apps on top of it:
There's also intermezzOS, which is a (still being written) "build-your-own-OS" tutorial project that uses Rust.
It's also worth noting that Rust isn't magic and especially when doing very low-level stuff the use of unsafe blocks is unavoidable. On the other hand, by isolating unsafe behavior you know where it is and can test it very carefully and keep it as contained as possible.
Are there any situations where unsafe code cannot be avoided at all, where there exists a program-theory proof that unsafe code must be used?
If it's for performance reasons, then a new safe language construct could be introduced to replace it - such as how a safe range-based loop eliminates the need for bounds-checking with fixed-length arrays.
The project is called Quantum: https://wiki.mozilla.org/Quantum
I'm pretty impressed by the progress the project has already made.
If I had a bit more time I'd love to contribute!
While HTML/CSS/JavaScript have historic oddities these only go back 15-20 years. x86/IBMPC legacy has 40years of horrible decisions burned into it.
To that end there is a lot of progress in the systems world, but core infrastructure isn't something you just rewrite/replace overnight.
* Redox is a full micro-kernel OS from scratch [1]
* Rustls is a TLSv1.3 compliant server [2]
* Ring is _mostly_ Rust (uses some C for where Rust doesn't work) [3]
* Subtle is consistent time library for building crypto libraries with [4]
* An entire webbrowser (well the JS is still C++) [5]
* A terminal emulator [6]
* A grep replacement [7]
* A non feature complete tar archiver that supports gzip, bzip2, xz, zstd, brotli, and lz4 [8]
The real challenge is Rust has been _released_ for 2 years now. C is approaching 50 years old. C/C++ has _a lot_ of momentum, history, and existent libraries.
[1] https://github.com/redox-os/redox
[2] https://github.com/ctz/rustls
[3] https://github.com/briansmith/ring
[4] https://github.com/isislovecruft/subtle
[5] https://github.com/servo/servo
[6] https://github.com/jwilm/alacritty
Any thoughts on why?
Row WantWorkLanguage responses perc_female
1 R 2477 11.87%
2 Ruby 3743 11.03%
3 Java 9409 8.42%
4 Python 11878 8.22%
5 SQL 10646 7.81%
6 Scala 2972 7.64%
7 JS 15451 7.37%
8 Swift 4282 7.36%
9 PHP 5039 7.22%
10 C# 9640 6.21%
11 C++ 7178 5.20%
12 Go 5500 4.87%
13 C 4536 4.83%
14 TypeScr 5435 4.51%
15 Haskell 2208 4.35%
16 Rust 2604 3.38%
(related thread: https://twitter.com/felipehoffa/status/879806078866776064) SELECT WantWorkLanguage, COUNT(*) responses, FORMAT('%.2f%%', 100*COUNTIF(v='Female')/COUNT(*)) perc_female
FROM (
SELECT SPLIT(WantWorkLanguage , '; ') WantWorkLanguage, Gender v
FROM `fh-bigquery.stackoverflow.survey_results_public_2017`
WHERE WantWorkLanguage!='NA' AND Gender!='NA'
), UNNEST(WantWorkLanguage) WantWorkLanguage
GROUP BY 1
HAVING responses>2000
ORDER BY COUNTIF(v='Female')/COUNT(*) DESCWe may simply be seeing that female Rust users use stack overflow less than male ones (normalized to other languages). Rust provides lots of other places to ask questions, /r/rust (including the "Got an easy question thread"), https://users.rust-lang.org/, the rust irc (and various other irc's for various major libraries). These may simply be more attractive to women than stack overflow (normalized relative to how attractive they are to men). They all prominently display the code of conduct, are more welcoming to new users (at least in my mind), less likely to criticize you for asking a bad question, care less about having you maintain a identity that is linked to your real name, etc.
It could also be a result of gender differences in answering survey's. Maybe male rust users are more willing to say they "want work" in a language they are unlikely to find work in. Maybe they are more inclined to click "want work" in every language they are vaguely familiar with (v.s. actually being proficient in) than women. Etc.
We also might be seeing that the niche rust fits in simply has less female presence than most other languages. Perhaps on average women are less inclined to experiment with new languages. Are more likely to be working in the sciences maybe (which would explain R and Python being high). Etc.
Let's see. What if I take all mentions of each language on HN's who's hiring threads, vs % of women interested in each language?
There is correlation!
Chart:
- http://i.imgur.com/mcN6Ghz.png
If we take out the 2 outliers (r, go) - the correlation is 0.61.
SELECT *
FROM (
SELECT word, COUNT(*) c FROM (
SELECT SPLIT(REGEXP_REPLACE(LOWER(text), r'[^a-z]', ' '), ' ') words
FROM `bigquery-public-data.hacker_news.full`
WHERE parent IN (
SELECT id
FROM `bigquery-public-data.hacker_news.full`
WHERE title LIKE 'Ask HN: Who is hiring?%2017%'
)
), UNNEST(words) word
WHERE LENGTH(word)>1 OR (word='r')
GROUP BY 1
HAVING c>30
) a JOIN (
SELECT LOWER(WantWorkLanguage) language, COUNT(*) responses, ROUND(100*COUNTIF(v='Female')/COUNT(*), 2) perc_female
FROM (
SELECT SPLIT(WantWorkLanguage , '; ') WantWorkLanguage, Gender v
FROM `fh-bigquery.stackoverflow.survey_results_public_2017`
WHERE WantWorkLanguage!='NA' AND Gender!='NA'
), UNNEST(WantWorkLanguage) WantWorkLanguage
GROUP BY 1
HAVING responses>2000
) b
ON a.word=b.language
(caveat: "go" is an overloaded word)Go had this problem in the early days. The early materials were totally uncritical, or in denial of, of Go's weaknesses. Things have improved; now the problems and limitations are better understood. Now people understand that shared data should be protected by ordinary mutexes, rather than using message passing of dummy messages as a locking system. Newer materials reflect this.
No.
Edit: I'm not against these kinds of initiatives at all, I just don't think it's realistic to apply such goals to a free-form group of programming language users.
I did, but I disagree. You're making a large assumption, which is that the group will follow the demographic average. This is not true; individual programming languages' demographics differ from the overall population.
And there's certainly no desire to "remove" anyone, selectively or not. It's about growing the pie, not placing artificial limits.
Also, this initiative is not about people new to programming overall, it's about experienced people who may not know Rust or haven't found a way to get involved with Rust as a project.
Specifically, openssl dependencies, more win32 bindings, and better official docs on how to get it working.
Getting Rust to the point where it is better than C on embedded systems is both feasible (C on embedded sucks on a good day) and would pay off hugely.
So, a work problem to use it needs to be 1) resource constrained and 2) limited programming scope so only I have to deal with it. 1) is easy. 2), not so much.
That's where it's been since the beginning. All the politics, Coraline's Code of Conduct, moderation, talk of "inclusiveness," and so on with "social justice" advocates in or leading some teams. You'd think the teams themselves would be diverse as heck with the community following. Yet, those in control from the beginning up to now are mostly young, white males on almost every team in the pictures.
https://www.rust-lang.org/en-US/team.html
Reminds me a bit of the Huffington Post pic on Twitter showing a bunch of mostly white women running a company whose writers talk lots about how companies should be inclusive and/or diverse without actually practicing it.
https://www.reddit.com/r/facepalm/comments/4kn6ms/huffington...
Both showed structural racism, sexism, and age discrimination exist at the management (esp hiring) level. No surprise that the resulting community wasn't diverse enough in practice when those leading it weren't. One tends to follow the other. There's a bootstrapping requirement of sorts where having internal diversity helps ensure it in the areas they act on (eg communities). It's not there... probably intentionally as some other organizations actively sought out different kinds of people in hiring with either quotas or blind auditions. I could see specific positions in language or compiler teams getting white males or something narrow due to prevalence among top teams in CompSci. However, many jobs on this list don't take a genius so much as someone willing to learn and work. More typical kind of work that both majority and minority talent exists and can handle.
Like in the tweeted reply to Huffington, I suggest the Rust team can begin improving diversity by looking to see if there's a handful of black people in their geographical area or working remotely if allowed that are capable of writing code, writing docs, talking to people online about the language, doing CI, moderating away mean posts, and other things I see in team descriptions. I swear I've seen and met such people doing such jobs in the past in person and online. If they're in Mountain View with Mozilla, Wikipedia tells me that area is over 50% non-white with lots of Latinos and Asians. A lot of women live out there, too. If I'm wrong about the structural discrimination, then none of them can code, write, admin, or assist people and/or they're not in the pipeline somehow with hiring having no way to look for them. Outside the small amount on the Rust team already that are minority members. Call me skeptical that the talent for average work didn't exist or was too hard to find.
Your observation about the current makeup is in fact what we would like to change, and your suggestion to reach out to people is what this post is intended to do.
There's two easy ones that you can do on the team side and maybe in some form on the community side. You and the others are simply more knowledgeable at working with communities so I leave it to you to find what applies. Here they are:
1. Supply side. Talk to people doing these bootcamps, conferences, and so on focusing on minorities in general or specific minority groups. They probably know people in the demographic who can code well. Send people there to talk about Rust like you seem to do in general at conferences and such. Also, invite all in these groups to send in references or Githubs relevant to specific jobs. Give them resources to learn it. Get those that want to get a job or place in the community to get on the forums for help learning and/or submitting code/docs. Encourage, but don't require, them to do it blind under an alias with no info on race/age/gender. Without biases limiting them and with increasing supply, the percentage of minority talent should increase naturally.
2. Quota side. Do something like that plus ads for talent in general. Get a supply of people from many backgrounds with some way to evaluate whether they are capable of performing the role. They all "earned" their place rather than just token hires since each seems to be a decent or good hire. The "best" of all programmers is pretty subjective concept with strong possibility of bias anyway. Then, do quotas for the hiring slots with those brought in chosen randomly with right spread or best rated of each group. A lot of the local businesses out here are, despite the South's racial issues, quote diverse even up to a layer or two of management by just (a) hiring anyone who might be able to do the job, (b) giving them some training/coaching, and (c) keeping those that perform well. Works wonders but I mention other things first since there's few jobs to go around at high cost on your end.
Have fun with those.
EDIT: Fix two deficiencies at top I saw.
This is extremely not true. We have actively cared about this for a long time, and we've been doing work towards it basically forever, with some progress. This is the latest effort. There is no silver bullet.