SwePub
Sök i LIBRIS databas

  Extended search

WFRF:(Lindnér Per)
 

Search: WFRF:(Lindnér Per) > (2015-2019) > Heapless :

Heapless : Dynamic Data Structures without Dynamic Heap Allocator for Rust

Aparicio Rivera, Jorge (author)
Luleå tekniska universitet,Datavetenskap
Lindner, Marcus (author)
Luleå tekniska universitet,EISLAB,Datavetenskap
Lindgren, Per (author)
Luleå tekniska universitet,EISLAB,Datavetenskap
 (creator_code:org_t)
Piscataway, NJ : IEEE, 2018
2018
English.
In: 2018 IEEE 16TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN). - Piscataway, NJ : IEEE. - 9781538648292 ; , s. 87-94
  • Conference paper (peer-reviewed)
Abstract Subject headings
Close  
  • Dynamic memory management is typically implemented using a global memory allocator, which may negatively impact the performance, reliability, and predictability of a program; in effect standards around safety-critical applications often discourage or even disallow dynamic memory management. This paper presents heapless, a collection of dynamic data structures (for vectors, strings, and circular buffers) that can be either stack or statically allocated, thus free of global allocator dependencies. The proposed data structures for vectors and strings closely mimic the Rust standard library implementations while adding support to gracefully handling cases of capacity exceedance. Our circular buffers act as queues and allowing channel like usage (by splitting). The Rust memory model together with the ability of local reasoning on memory requirements (brought by heapless) facilitates establishing robustness/safety guarantees and minimize attack surfaces of (industrial) IoT systems. We show that the heapless data structures are highly efficient and have predictable performance, thus suitable for hard real-time applications. Moreover, in our implementation heapless data structures are non-relocatable allowing mapping to hardware, useful, e.g., to DMA transfers. The feasibility, performance, and advantages of heapless are demonstrated by implementing a JSON serialization and de-serialization library for an ARM Cortex-M based IoT platform.

Subject headings

NATURVETENSKAP  -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Computer Sciences (hsv//eng)

Keyword

Dependable Communication and Computation Systems
Kommunikations- och beräkningssystem

Publication and Content Type

ref (subject category)
kon (subject category)

Find in a library

To the university's database

Find more in SwePub

By the author/editor
Aparicio Rivera, ...
Lindner, Marcus
Lindgren, Per
About the subject
NATURAL SCIENCES
NATURAL SCIENCES
and Computer and Inf ...
and Computer Science ...
Articles in the publication
2018 IEEE 16TH I ...
By the university
Luleå University of Technology

Search outside SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Close

Copy and save the link in order to return to this view