Professional Documents
Culture Documents
This document contains a summary of results from the 2021 annual community survey. There have
been a few questions elided (see section at the end of the document). Data has been minimally
processed. We expect to publish shorter reports with select data processed for a specific audience in
the near future. If there’s anything you’re particularly interested in please get in touch with the
survey working group.
Where there are small differences in the numbers between this report and previously reported
numbers (e.g., in the blog post), that is likely due to how partially complete surveys were counted, or
very small discrepancies in the data depending on how it is exported from the survey software.
The survey was open for responses from 8th December to 22nd December 2021. It was available in
ten languages.
We’d like to thank everyone who helped with translation of the survey, and everyone who
participated.
Contents
Questions we asked everyone ................................................................................................................ 1
Location and language ........................................................................................................................ 2
Programming experience .................................................................................................................... 4
Work and study ....................................................................................................................................... 7
Questions for respondents who write or design software ................................................................. 9
Questions for Rust users ....................................................................................................................... 11
Questions for Rust users who use Rust at work ................................................................................... 56
Questions for Rust users who are taking a course or training which uses/teaches Rust ..................... 60
Question for former Rust users ............................................................................................................ 62
Question for non-Rust users ................................................................................................................. 63
Metadata............................................................................................................................................... 64
Elided questions .................................................................................................................................... 65
Frequency Percent
No, I don't currently use Rust, but I have in the past 469 5%
No, I have never used Rust 444 5%
Yes, I use Rust (for any purpose, even if you're just learning) 8395 90%
5%
5% No, I don't currently use Rust,
but I have in the past
United States of
America
24% Germany
31%
China
United Kingdom
12%
2% France
2%
4% 7%
2% 4%
6% 6% Russian Federation
What is/are your preferred language(s) for technical communication?
In what ways are you comfortable communicating about technical topics in English?
All respondents were asked this question, but these results are for Rust users only.
17%
I am comfortable using at least
one language in this category
47%
I have a basic familiarity with at
least one language in this
29% category
I've never used nor am I familiar
with any language in this category
Frequency Percent
< 1 year 114 1.2%
< 3 years 771 8.3%
< 5 years 1511 16.3%
< 10 year 2321 25.1%
> 10 years 4528 49.0%
1%
8%
< 1 year
17%
< 3 years
49%
< 5 years
< 10 year
> 10 years
25%
Frequency Percent
No 6561 71.4%
Yes, in secondary/high school 558 6.1%
Yes, in a bachelor's/undergraduate program 1299 14.1%
Yes, in a master's program 494 5.4%
Yes, in a doctorate program 198 2.2%
Yes, other* 83 0.9%
* other includes ‘yes, in a vocational progam’.
2% 1%
No
6%
Yes, in secondary/high school
14%
Yes, in a bachelor's/undergraduate
program
6%
Yes, in a master's program
Yes, other
Are you employed full- or part-time (including paid internships)?
Frequency Percent
No 2197 23.8%
Yes 7028 76.2%
24%
No
Yes
76%
Frequency Percent
Yes, primarily as an individual contributor 6156 87.1%
I primarily manage others who do 512 7.2%
No 401 5.7%
6%
7%
Yes, primarily as an
individual contributor
I primarily manage others
who do
No
87%
Questions for respondents who write or design software
How long have you worked in software professionally?
Frequency Percent
<= 1 year 525 7.9%
1 - 3 years 1057 15.9%
3 - 5 years 1091 16.4%
5 - 10 years 1684 25.3%
10 - 20 years 745 11.2%
> 20 years 1560 23.4%
8%
24%
<= 1 year
16%
1 - 3 years
3 - 5 years
5 - 10 years
11%
16% 10 - 20 years
> 20 years
25%
All respondents were asked this question, but these results are for Rust users only.
2000
1800
1600
1400
1200
1000
800
600
400
200
Which categories best describe the tech domain(s) you currently write or design
software in?
All respondents were asked this question, but these results are for Rust users only.
4000
3500
3000
2500
2000
1500
1000
500
Frequency Percent
Daily or nearly so 3871 46.1%
Weekly or nearly so 2910 34.7%
Monthly or nearly so 1200 14.3%
Rarely 409 4.9%
0.1%
4.9%
14.3%
Daily or nearly so
Weekly or nearly so
46.1%
Monthly or nearly so
Rarely
34.7% No response
Frequency Percent
I am an expert 634 7.6%
I am productive writing Rust 3356 40.0%
I can write simple programs in Rust 2041 24.3%
I can write useful, production-ready code but it is a struggle 2293 27.3%
I can't read or write Rust 65 0.8%
0.8%
I am an expert
7.6%
24.3%
I can write useful,
production-ready code
but it is a struggle
When did you learn to program in Rust?
4000
3500
3000
2500
2000
1500
1000
500
0
During 2014 or During 2015 or During 2017 or During 2019 or During 2021/Still
before 2016 2018 2020 Learning
7000
6000
5000
4000
3000
2000
1000
0
Linux Mac OS Windows Windows Subsystem
for Linux
On the primary machine you compile Rust code on, how many CPUs are there?
This was a free-form question. There was an obvious bias towards ‘round numbers’ (4, 8, 16, …). The
largest number of cores reported was 256 and the smallest was 1
Frequency Percent
NA 278 3.30%
<= 4 1763 21.00%
5-8 3006 35.80%
9-16 2607 31.00%
>16 751 8.60%
9% 3%
21%
NA
<= 4
31% 5-8
9-16
>16
36%
7000
6000
5000
4000
3000
2000
1000
7000
6000
5000
4000
3000
2000
1000
0
Current Latest A specific A specific Previous Beta Custom A specific Other I don't
stable nightly version of version of stable release fork version of know
version nightly stable Rust version stable Rust
equal to or older than
newer 1.47
than 1.47
6000
5000
4000
3000
2000
1000
0
Current Latest I don't A specific Beta A specific Previous Other A specific Custom
stable nightly know version of release version of stable version of fork
version stable Rust nightly version stable Rust
equal to or older than
newer 1.47
than 1.47
2500
2000
1500
1000
500
0
For a I like to have A crate A tool I use For testing in Out of habit To help test Other
particular access to all dependency I requires it CI the nightly
language the latest use requires version for
feature or set features it bugs
of language
features I
need
300
250
200
150
100
50
0
For testing in CI To adopt stabilized To help test the Out of habit Other
language features beta version for
as early as possible bugs
Rustup (where Rustup is installed from rust-lang.org or you built it from source) 6600
Rustup (where Rustup is installed using any package manager) 2288
Linux distribution package 807
Homebrew 300
Official rust-lang.org tarballs 105
Official Windows .msi installers 354
Official macOS .pkg installers 48
From source 137
Other 229
7000
6000
5000
4000
3000
2000
1000
0
Rustup Rustup Linux Homebrew Official rust- Official Official From source Other
(where (where distribution lang.org Windows macOS .pkg
Rustup is Rustup is package tarballs .msi installers
installed installed installers
from rust- using any
lang.org or package
you built it manager)
from source)
Which editor or IDE setup do you use with Rust code on a regular basis?
Grouped answers:
Any IDE (VS code, IntelliJ, Visual Studio, XCode) 4791 58%
Any Editor (VI, Emacs, Sublime Text, Atom) 1862 23%
Both 1595 19%
19%
IDE
Editor
Which debuggers do you use for debugging Rust programs on a regular basis?
'println' debugging (or using any logging or tracing crate, etc.) 5713 61.4%
VS Code (using any debugger extension) 2599 27.9%
LLDB 1568 16.8%
GDB 1490 16.0%
IntelliJ/CLion/other JetBrains IDE 1379 14.8%
No Debugger Used / No Answer: 1152 12.4%
Other* 283 3.0%
*Other is a grouping of Visual Studio, RR/Pernosco, WinDBG, and free-form other answers.
6000
5000
4000
3000
2000
1000
0
30% 32%
Println Only
Other Debugger Only
Both
38%
Please indicate how vital to your workflow each of the following tools are when
programming with Rust
Clippy
1.7%
18.3%
33.9%
7.9%
38.2%
Cargo
3.5% 0.4%
00.4%
.4%
95.4%
11.4%
10.6% 41.1%
35.1%
Rustup
2.0% 1.0%
7.5%
36.1% 53.4%
9.8%
19.4%
32.9%
35.4%
miri
3.0% 1.6%
8.1%
13.8%
73.6%
6.1% 10.0%
25.3% 57.6%
Bindgen
2.3%
10.1%
20.7%
53.7%
13.2%
8000
7000
6000
5000
4000
3000
2000
1000
0
Roughly how often do you contribute to the Rust project?
No Response
Monthly
No Response
Weekly
15%
Monthly
4% Less frequently than monthly
No Response
Open an issue on any repo in the rust-lang GitHub
organization
2% 0% 1% 2%
More frequently than weekly
Weekly
18%
Monthly
3%
Less frequently than monthly
No Response
Monthly
No Response
Contribute non-code changes (documentation,
comments, etc.) to any project in the rust-lang
3%
GitHub organization
0% 0%
1%
More frequently than weekly
3%
9%
Weekly
Monthly
Less frequently than monthly
Never but have tried to
84% Never and have never tried to
No Response
How often have you felt explicitly welcome in the Rust community?
36%
I never feel welcome
51%
I've never participated in this
activity
No Response
9%
2%
Unofficial Rust community forums or chats (e.g.,
reddit.com/r/rust, Hacker News, the Rust
Community Discord, etc.)
2%
I've often felt welcome
17%
I sometimes feel welcome
7%
I never feel welcome
2%
48%
I've never participated in this
activity
No Response
16%
I sometimes feel unwelcome
Very helpful
Not helpful
70.8%
I have no experience
with this activity
Very helpful
15.0%
I have no experience
39.2%
with this activity
Very helpful
8.9%
Very helpful
20.6%
Somewhat helpful
3.4% 48.0%
Not helpful
28.1%
I have no experience
with this activity
Not helpful
My company uses Rust for a large portion of production projects 1243 14.9%
My company uses Rust for a small portion of production projects 1542 18.5%
My company uses Rust only for non-production projects (e.g., tooling) 459 5.5%
My company has actively experimented with Rust 380 4.5%
My company has seriously considered, but not experimented with, using Rust 306 3.7%
My company has not seriously considered Rust for any use 1652 19.8%
I am unsure whether my company has considered using or currently uses Rust 626 7.5%
I don't work for a company or my company does not develop software of any kind 2146 25.7%
My company uses Rust for a large portion of
production projects
15%
My company uses Rust for a small portion of
production projects
26%
My company uses Rust only for non-
production projects (e.g., tooling)
My company has actively experimented with
Rust
18%
My company has seriously considered, but not
experimented with, using Rust
7%
My company has not seriously considered Rust
for any use
5%
I am unsure whether my company has
5% considered using or currently uses Rust
20%
4% I don't work for a company or my company
does not develop software of any kind
Frequency Percent
Under 10 1744 28.2%
11-49 1340 21.6%
50-99 560 9.0%
100-500 965 15.6%
500-1,000 384 6.2%
1,000-10,000 570 9.2%
Over 10,000 628 10.1%
10%
9% 28% Under 10
11-49
6% 50-99
100-500
500-1,000
1,000-10,000
16%
Over 10,000
22%
9%
Frequency Percent
Yes 1563 25.2%
No 2581 41.6%
I don't know 2058 33.2%
25%
33%
Yes
No
I don't know
42%
In what technology domain(s) is Rust used at your company?
2000
1500
1000
500
Frequency Percent
Yes, for the majority of my coding 1401 22.5%
Yes, it's one of a number of languages I use and I use it regularly 1074 17.3%
Yes, but I only use it occasionally 1169 18.8%
No 2576 41.4%
23% Yes, for the majority of my coding
No
19%
Are you currently, or have you in the last year, taken a course or training which uses
or teaches Rust?
Frequency Percent
No 7553 90.2%
Yes 819 9.8%
10%
No
Yes
90%
What are your biggest worries for the future of Rust?
3500
3000
2500
2000
1500
1000
500
0
Please rate your agreement with the following statements about Rust
4%
Agree
19% Agree
38%
Neither agree nor
disagree
Disagree
43%
11%
Agree
Agree
14%
85% Disagree
21% Agree
6%
Agree
9%
Agree
90%
Compile times
3% 6%
17%
Great
Binary size
16% 12%
Great
5% Good enough
Could be better
Seriously lacking
26% 41%
Unsure
Memory usage (i.e., how much RAM rustc uses
when compiling)
25%
22% Great
Good enough
Could be better
2%
12% Seriously lacking
39% Unsure
9%
17%
Great
Good enough
13% 29%
Could be better
Seriously lacking
Unsure
32%
20% Great
1% Good enough
45%
6% Could be better
Seriously lacking
28% Unsure
Compiler error messages
1% 1%
8%
Great
20% Good enough
Could be better
Seriously lacking
70% Unsure
IDE experience
6%
4%
31%
Great
Good enough
24%
Could be better
Seriously lacking
Unsure
35%
Debugging experience
12%
21%
Great
Good enough
2%
5%
Great
20% 33%
Good enough
Could be better
Seriously lacking
Unsure
40%
Async programming
13%
28% Great
Good enough
GUI development
1%
4%
Great
39% 24% Good enough
Could be better
Seriously lacking
Unsure
32%
Rust language and standard library
documentation
1% 1%
8%
Great
Good enough
25%
Could be better
In your opinion, have the following aspects of Rust gotten better or worse over the
past year?
Compile times
7%
Much better
Better
39%
Remained the same
36%
Worse
Much worse
Unsure
17%
0%
1%
Binary size
2%
23%
Remained the same
Worse
64% Much worse
1%
0% Unsure
Memory usage (i.e., how much RAM rustc uses
when compiling)
2%
9%
Much better
Better
18%
Remained the same
Worse
1%
0% Much worse
70%
Unsure
6%
Much better
23% Better
Remained the same
Worse
3%
16%
Much better
Better
Remained the same
Worse
59% 21%
Much worse
Unsure
1%
0%
Compiler error messages
10%
Much better
35% Better
Remained the same
37%
Worse
0% Much worse
0% Unsure
18%
Debugging experience
4%
Much better
17%
Better
Remained the same
51% Worse
Much worse
28%
Unsure
0% 0%
GUI development
2%
1%
0%
IDE experience
18%
Much better
30% Better
Remained the same
0% Worse
1%
38%
Much worse
13%
Unsure
9%
0% 20% Much better
0% Better
Unsure
36% Worse
Much worse
35% Remained the same
Async programming
11%
Much better
Better
42%
Remained the same
29%
Worse
Much worse
Unsure
17%
0% 1%
Rust language and standard library
documentation
7%
Much better
35% Better
25%
Remained the same
Worse
Much worse
0%
0% Unsure
33%
12%
Agree
62%
I can upgrade the stable compiler version
without fear of my code taking longer to compile
4%
Agree
31%
Neither agree nor
disagree
65% Disagree
7%
25% Agree
16% Agree
6%
Agree
31%
Neither agree nor
disagree
63%
Disagree
11%
Agree
32%
15%
Agree
32%
53%
Learning Rust provides me with skills that
employers seek
10%
Agree
18%
Agree
Rate how much the following statements are reasons why your team uses Rust at work
Agree
24%
70% Disagree
Strongly disagree
Disagree
44%
Strongly disagree
Its security and safety properties are important
to us
1% 1%
Strongly agree
9%
Agree
25%
Neither agree nor disagree
64%
Disagree
Strongly disagree
Strongly agree
13% 12%
Agree
15%
26% Neither agree nor disagree
Disagree
34%
Strongly disagree
7%
Strongly agree
10%
Agree
25%
22%
Neither agree nor disagree
Disagree
8% Strongly agree
10%
31%
Agree
Please rate your agreement with the following statements regarding your team's
experience using Rust at work.
17%
Agree
Disagree
82%
17%
Agree
47%
Neither agree nor disagree
36% Disagree
Overall, adopting Rust has slowed down our
team
13%
Agree
41%
Neither agree nor disagree
46% Disagree
20%
Agree
Disagree
79%
9%
Agree
Disagree
90%
Questions for Rust users who are taking a course or training which
uses/teaches Rust
These questions were asked of those respondents who answered ‘yes’ to the question ‘Are you
currently, or have you in the last year, taken a course or training which uses or teaches Rust?’.
Frequency Percent
A course through an online "continuing education" provider (e.g., Udemy,
Coursera, edX, LinkedIn Learning, etc.) 549 67.6%
A short training course offered through your employer or contracted by
your employer 121 14.9%
University or other tertiary institute 88 10.8%
Other* 54 6.7%
* ‘other’ here subsumes ‘A bootcamp or other vocational-focused educational institute’ and ‘High
school or secondary school’.
15%
University or other tertiary institute
67%
Other
Frequency Percent
A computer science course (e.g., operating systems, algorithms, etc.) course 10.6%
which uses Rust (and potentially other languages) 85
A course teaching exclusively how to program in Rust 630 78.5%
A course teaching how to program in Rust and other languages 39 4.9%
Other type of course where Rust was used 49 6.1%
6% A computer science course (e.g.,
11%
5% operating systems, algorithms, etc.)
course which uses Rust (and
potentially other languages)
A course teaching exclusively how to
program in Rust
Is/was Rust mandated for your course or activity, or did you choose it yourself?
Frequency Percent
I chose to use Rust 539 66.4%
Rust was mandated 273 33.6%
34%
66%
Question for former Rust users
This question was asked of respondents who answered ‘no, I don't currently use Rust, but I have in
the past’ to the first question.
As you have indicated that you're no longer using Rust, what prompted you to
participate in this survey?
400
350
300
250
200
150
100
50
0
I plan to return to Curiosity To provide I consider myself Specifically to Other
using Rust in the feedback on Rust part of the Rust provide feedback
future in general community on why I stopped
using Rust
Question for non-Rust users
This question was asked of respondents who answered ‘no, I have never used Rust’ to the first
question.
As you have indicated that you have not used Rust, what prompted you to participate
in this survey?
350
300
250
200
150
100
50
0
I plan to use Rust in Curiosity Specifically to provide I consider myself part Other
the future feedback on WHY I do of the Rust
not use Rust community
Metadata
Number of respondents
Survey language
English 7210
Chinese, Simplified 594
German 399
French 317
Russian 283
Japanese 184
Spanish 121
Portuguese 75
Korean 73
Chinese, Traditional 49
1% 1% 1%
2% 1%
3%
3%
4%
English
Chinese, Simplified
6% German
French
Russian
Japanese
Spanish
Portuguese
Korean
78% Chinese, Traditional
Elided questions
The following questions have been elided from this summary of results since the answers might be
sensitive. If you’re interested in these results, please get in touch with the survey working group.