CASTLE 2.0 - A modern CPP template library for embedded systems

Hello everyone,

I would like to introduce you to my recent development C++ library, the CASTLE - Compliant Automotive Safety Template Library for Embedded.

https://nguyenchiemminhvu.github.io/castle/

CASTLE is a lightweight, header-only CPP17-based template library built for safety-critical embedded systems where every byte of RAM, every millisecond of jitter, and every allocation counts.

It is inspired by the ETL (Embedded Template Library) and take advantage of modern C++ language features and design techniques to make embedded software more comfortable, expressive, and productive to develop, while keeping deterministic behavior and resource usage as first-class concerns; making common C++ jobs easier without bringing the runtime costs that are often unwanted on small targets.

CASTLE 2.0 focuses on:

  • deterministic, fixed-capacity behavior where practical
  • no mandatory heap allocation
  • no mandatory RTTI
  • no mandatory exceptions
  • no virtual functions in the core data structures
  • no dependency on the C++ STL
  • C++17 and lower language levels
  • GCC, Clang, and ARM compiler families

CASTLE is a good fit for firmware, device drivers, control software, protocol stacks, communication buffers, sensor pipelines, schedulers, and other code where memory and timing are important.

Check it out and feel free to share your opinion.

This post was flagged by the community and is temporarily hidden.

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?