

[2110.01098] Does the Bronze Garbage Collector Make Rust Easier to Use? A Contro...
source link: https://arxiv.org/abs/2110.01098
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[Submitted on 3 Oct 2021]
Does the Bronze Garbage Collector Make Rust Easier to Use? A Controlled Experiment
Rust is a general-purpose programming language that is both type- and memory-safe. Rust does not use a garbage collector, but rather achieves these properties through a sophisticated, but complex, type system. Doing so makes Rust very efficient, but makes Rust relatively hard to learn and use. We designed Bronze, an optional, library-based garbage collector for Rust. To see whether Bronze could make Rust more usable, we conducted a randomized controlled trial with volunteers from a 633-person class, collecting data from 428 students in total. We found that for a task that required managing complex aliasing, Bronze users were more likely to complete the task in the time available, and those who did so required only about a third as much time (4 hours vs. 12 hours). We found no significant difference in total time, even though Bronze users re-did the task without Bronze afterward. Surveys indicated that ownership, borrowing, and lifetimes were primary causes of the challenges that users faced when using Rust.
Recommend
-
128
ZGC large-heap Java garbage collector may go open source Votes are due by November 8 to approve the project request, which could compete with Red Hat’s S...
-
83
ZGC - Oracle’s Large-Heap Garbage Collector Nov 14, 2017...
-
68
[EXPERIMENT] Emacs with the SpiderMonkey garbage collector emacs-devel
-
76
-
60
-
57
In JavaScript, the memory taken by the values held by the variables is automatically freed when they are not used anymore. This is done by the garbage collector to free up space. How can we benefit from knowing how it wor...
-
44
-
55
Java 11 has recently been feature frozen and contains some really great features, one in particular we’d like to highlight. The release contains a brand new Garbage Collector, ZGC, which is being developed by Oracle that...
-
41
Presenter: Eben Freeman Liveblogger: Beyang Liu Summary A whirlwind tour of the Go m...
-
58
Java 11 features a new Garbage Collector, the Z Garbage Collector (ZGC), which is designed for very low pause times on huge multi-terabyte heaps. In this article we'll cover the motivation for a new GC, a technical overview and some of the reall...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK