ACM Transactions on Software Engineering and Methodology· 2026Q1
Güvenli Olmayan Rust'ın Birlikte Çalışabilirlik, Kapsülleme ve Araçlar Üzerindeki Etkileri Üzerine Karma Yöntemler Çalışması
A Mixed Methods Study on the Implications of Unsafe Rust for Interoperation, Encapsulation, and Tooling
- 8atıf
- Q1SCImago
- 2026yıl
Kısa özet
Geliştiriciler, alternatif olmadığında Rust'ın 'güvenli olmayan' özelliklerini kullanıyor, ancak yabancı fonksiyon çağrıları için sınırlı araçlar belirsizlik yaratıyor ve güvenli olmayan kodu kapsüllemeyi zorlaştırıyor, bu da çok dilli uygulamalar için daha iyi analiz araçları gerektiriyor.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- Geliştiriciler, başka alternatif olmadığını düşündüklerinde Rust'ın 'güvenli olmayan' özelliklerini kullanıyor.
- Yabancı fonksiyon çağrıları için sınırlı araç desteği, geliştiricilerin tasarım seçimleri konusunda belirsizliğe neden oluyor.
- Güvenli olmayan Rust kodunda belirli yabancı aliasing ve eşzamanlılık kalıplarını kapsüllemek zordur.
- Çok dilli uygulamalarda Rust'a özgü tanımsız davranışları tespit edebilen analiz araçlarına ihtiyaç vardır.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
The Rust programming language restricts aliasing to provide static safety guarantees. However, in certain situations, developers need to bypass these guarantees by using a set of “unsafe” features. When these features are used incorrectly, they can reintroduce the types of safety issues that Rust was designed to prevent. We seek to understand how current development tools can be improved to better assist developers who find it necessary to interact with unsafe code. To that end, we study how developers reason about foreign function calls, the limitations of the tools that they currently use, their motivations for using unsafe code, and how they reason about encapsulating it. We conducted a mixed methods investigation consisting of semi-structured interviews with 19 developers, followed by a survey that reached an additional 160 developers. Our participants were motivated to use unsafe code when they perceived that there was no alternative, and most claimed that they would avoid using it. However, limited tooling support for foreign function calls made participants uncertain about their design choices, and certain foreign aliasing and concurrency patterns were difficult to encapsulate. To overcome these challenges, developers will need analysis tools that can find Rust-specific forms of undefined behavior within multilanguage applications.
Yazarların özeti; kaynağından alınmıştır. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗
Ücretsiz hesapla devam et
Makaleye Sor ile bu makaleye günde 5 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.
Web'de ücretsiz devam etGoogle ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.
Telefonda:
Alan: Yazılım
SoftwareComputer Science