{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/312151"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/312151","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"The Benefits and Limitations of Rust for Implementing Concurrent Data Structures - Comparing Concurrent Skip Lists in Rust to C","abstract":"The Rust programming language has become increasingly relevant to the software industry for its memory safety and performance, especially since memory safety issues have been seen as a prevalent source of security vulnerabilities in recent years. Rust has also been praised for its \"Fearless Concurrency\", with concurrency being essential for achieving better performance in modern computers. The \"Fearless Concurrency\" of Rust has been shown to primarily help with regular parallelism as opposed to the parallelism needed by complex concurrent data structures with intricate access patterns. This leaves many open questions of how Rust handles these access patterns. This thesis will investigate the validity of the claims of \"Fearless Concurrency\" in Rust for implementing complex concurrent data structures, and see how this compares to languages like C. In particular, skip lists will be investigated since they are important for many concurrent systems and make use of many intricate concurrent programming techniques. We implemented several state-of-the-art skip lists in Rust, and created a comprehensive benchmarking framework used for comparing our implementations against existing Rust and C implementations. We also qualitatively analysed the experience of implementing performant concurrent data structures in Rust. Our findings show that skip lists in Rust performed comparably well to those in C and sometimes even outperforming them depending on workload. We also found that many of the existing implementations in Rust had problems or did not work. Lastly, while Rust provides many safety guarantees, Unsafe Rust may be needed for many complex concurrent data structures limiting these guarantees such as in our lock-free skip list implementations. In these cases, the safety guarantees of Rust are not applicable to the entire application, but rather for the parts of the application where safe Rust is used.","abstract_html":"The Rust programming language has become increasingly relevant to the software industry for its memory safety and performance, especially since memory safety issues have been seen as a prevalent source of security vulnerabilities in recent years. Rust has also been praised for its &quot;Fearless Concurrency&quot;, with concurrency being essential for achieving better performance in modern computers. The &quot;Fearless Concurrency&quot; of Rust has been shown to primarily help with regular parallelism as opposed to the parallelism needed by complex concurrent data structures with intricate access patterns. This leaves many open questions of how Rust handles these access patterns. This thesis will investigate the validity of the claims of &quot;Fearless Concurrency&quot; in Rust for implementing complex concurrent data structures, and see how this compares to languages like C. In particular, skip lists will be investigated since they are important for many concurrent systems and make use of many intricate concurrent programming techniques. We implemented several state-of-the-art skip lists in Rust, and created a comprehensive benchmarking framework used for comparing our implementations against existing Rust and C implementations. We also qualitatively analysed the experience of implementing performant concurrent data structures in Rust. Our findings show that skip lists in Rust performed comparably well to those in C and sometimes even outperforming them depending on workload. We also found that many of the existing implementations in Rust had problems or did not work. Lastly, while Rust provides many safety guarantees, Unsafe Rust may be needed for many complex concurrent data structures limiting these guarantees such as in our lock-free skip list implementations. In these cases, the safety guarantees of Rust are not applicable to the entire application, but rather for the parts of the application where safe Rust is used.","abstract_has_math":false,"creators":["Hultgren, Elliot","Vallin Ek, Max"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data och informationsteknik","school":null,"contributors":[],"advisors":["von Geijer, Kåre"],"committee_chairs":[],"committee_members":["Tsigas, Philippas"],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T03:03:55Z","subjects":["Rust, Unsafe Rust, Benchmarking, Concurrency, Data Structures, Skip Lists, Lock-free."],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["DATX05"],"render_values":[{"text":"DATX05","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/312151","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/312151","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F312151","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F312151","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Tsigas, Philippas"]},{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["von Geijer, Kåre"]},{"key":"dc:creator","label":"Author","values":["Hultgren, Elliot","Vallin Ek, Max"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-13T12:47:04Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Computer systems and networks (MPCSN), MSc"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen","Master's Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Rust, Unsafe Rust, Benchmarking, Concurrency, Data Structures, Skip Lists, Lock-free."]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["DATX05"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/312151"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The Rust programming language has become increasingly relevant to the software industry for its memory safety and performance, especially since memory safety issues have been seen as a prevalent source of security vulnerabilities in recent years. Rust has also been praised for its \"Fearless Concurrency\", with concurrency being essential for achieving better performance in modern computers. The \"Fearless Concurrency\" of Rust has been shown to primarily help with regular parallelism as opposed to the parallelism needed by complex concurrent data structures with intricate access patterns. This leaves many open questions of how Rust handles these access patterns. This thesis will investigate the validity of the claims of \"Fearless Concurrency\" in Rust for implementing complex concurrent data structures, and see how this compares to languages like C. In particular, skip lists will be investigated since they are important for many concurrent systems and make use of many intricate concurrent programming techniques. We implemented several state-of-the-art skip lists in Rust, and created a comprehensive benchmarking framework used for comparing our implementations against existing Rust and C implementations. We also qualitatively analysed the experience of implementing performant concurrent data structures in Rust. Our findings show that skip lists in Rust performed comparably well to those in C and sometimes even outperforming them depending on workload. We also found that many of the existing implementations in Rust had problems or did not work. Lastly, while Rust provides many safety guarantees, Unsafe Rust may be needed for many complex concurrent data structures limiting these guarantees such as in our lock-free skip list implementations. In these cases, the safety guarantees of Rust are not applicable to the entire application, but rather for the parts of the application where safe Rust is used."]},{"key":"dc:title","label":"Title","values":["The Benefits and Limitations of Rust for Implementing Concurrent Data Structures - Comparing Concurrent Skip Lists in Rust to C"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Tsigas, Philippas"],"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"],"dc:contributor.supervisor":["von Geijer, Kåre"],"dc:creator":["Hultgren, Elliot","Vallin Ek, Max"],"dc:date.accessioned":["2026-08-13T12:47:04Z"],"dc:date.issued":["2026"],"dc:description.abstract":["The Rust programming language has become increasingly relevant to the software industry for its memory safety and performance, especially since memory safety issues have been seen as a prevalent source of security vulnerabilities in recent years. Rust has also been praised for its \"Fearless Concurrency\", with concurrency being essential for achieving better performance in modern computers. The \"Fearless Concurrency\" of Rust has been shown to primarily help with regular parallelism as opposed to the parallelism needed by complex concurrent data structures with intricate access patterns. This leaves many open questions of how Rust handles these access patterns. This thesis will investigate the validity of the claims of \"Fearless Concurrency\" in Rust for implementing complex concurrent data structures, and see how this compares to languages like C. In particular, skip lists will be investigated since they are important for many concurrent systems and make use of many intricate concurrent programming techniques. We implemented several state-of-the-art skip lists in Rust, and created a comprehensive benchmarking framework used for comparing our implementations against existing Rust and C implementations. We also qualitatively analysed the experience of implementing performant concurrent data structures in Rust. Our findings show that skip lists in Rust performed comparably well to those in C and sometimes even outperforming them depending on workload. We also found that many of the existing implementations in Rust had problems or did not work. Lastly, while Rust provides many safety guarantees, Unsafe Rust may be needed for many complex concurrent data structures limiting these guarantees such as in our lock-free skip list implementations. In these cases, the safety guarantees of Rust are not applicable to the entire application, but rather for the parts of the application where safe Rust is used."],"dc:identifier.coursecode":["DATX05"],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/312151"],"dc:language.iso":["eng"],"dc:publisher.program":["Computer systems and networks (MPCSN), MSc"],"dc:subject":["Rust, Unsafe Rust, Benchmarking, Concurrency, Data Structures, Skip Lists, Lock-free."],"dc:subject.uppsok":["Technology"],"dc:title":["The Benefits and Limitations of Rust for Implementing Concurrent Data Structures - Comparing Concurrent Skip Lists in Rust to C"],"dc:type.degree":["Examensarbete för masterexamen","Master's Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T03:03:55Z"}