Percorrer por autor "SILVA, HUGO MARTINS COELHO DA"
A mostrar 1 - 1 de 1
Resultados por página
Opções de ordenação
- Real-Time Parallel Programming in RustPublication . SILVA, HUGO MARTINS COELHO DA; Carvalho, Tiago Diogo Ribeiro de; Pinho, Luís Miguel Rosário da SilvaThe development of real-time systems has gained increasing relevance in recent years, driven by the growing presence of critical applications in areas like robotics, automotive systems, and the Internet of Things. These systems require correctness and strict timing guarantees, which the increased complexity of modern systems has made more difficult. One common solution to increase performance has been the use of multi-core processors. However, the limits of sequential programming soon became clear, making parallelism a necessary step forward. This thesis presents the design, implementation, and evaluation of a custom framework for realtime parallelism. After an initial comparison between Rust and the OpenMP model in C, Rust was selected for its safety features, low-level control, and growing ecosystem. The goal was to test whether real-time behaviour could be reliably achieved in a Rust-based environment by taking control over thread and job management. A custom library was built and tested measuring metrics such as execution time, dispatch latency, and task distribution. Results show that, with careful design, efficient and predictable performance is possible even on a non-real-time OS like Linux. Future improvements include deeper scheduler integration, integration with real-time operating system, and deployment on embedded platforms such as RISC-V.
