All Projects → ETLCPP → Etl

ETLCPP / Etl

Licence: mit
Embedded Template Library

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Etl

Gena
Generic pseudo-templated containers for C. Written entirely in C89 with design inspired by the C++ STL. /// DOCS ARE SLIGHTLY OUTDATED, PROJECT IS STABLE AND STILL IN ACTIVE DEVELOPMENT
Stars: ✭ 61 (-92.21%)
Mutual labels:  library, templates, containers
Phobos
The standard library of the D programming language
Stars: ✭ 1,038 (+32.57%)
Mutual labels:  algorithms, containers
Lib9wada
Wonderful library with lots of useful functions, algorithms and data structures in C, link it with -l9wada
Stars: ✭ 35 (-95.53%)
Mutual labels:  algorithms, library
Image Comparison
Published on Maven Central and jCenter Java Library that compares 2 images with the same sizes and shows the differences visually by drawing rectangles. Some parts of the image can be excluded from the comparison. Can be used for automation qa tests.
Stars: ✭ 145 (-81.48%)
Mutual labels:  algorithms, library
Cdcontainers
Library of data containers and data structures for C programming language.
Stars: ✭ 57 (-92.72%)
Mutual labels:  library, containers
Tanya
GC-free, high-performance D library: Containers, networking, metaprogramming, memory management, utilities
Stars: ✭ 70 (-91.06%)
Mutual labels:  library, containers
Functionalplus
Functional Programming Library for C++. Write concise and readable C++ code.
Stars: ✭ 1,286 (+64.24%)
Mutual labels:  algorithms, library
Litiv
C++ implementation pool for computer vision R&D projects.
Stars: ✭ 82 (-89.53%)
Mutual labels:  algorithms, library
Collections C
A library of generic data structures.
Stars: ✭ 2,297 (+193.36%)
Mutual labels:  algorithms, library
Openlib.cs
📚 A Collection of Free & Open Resources for University Coursework in Computer Science.
Stars: ✭ 198 (-74.71%)
Mutual labels:  algorithms, library
Cgal
The public CGAL repository, see the README below
Stars: ✭ 2,825 (+260.79%)
Mutual labels:  algorithms, library
Self Hosted Docker Server Templates
Just some templates to get someone started with hosting various servers in Docker
Stars: ✭ 237 (-69.73%)
Mutual labels:  templates, containers
Competitiveprogramming
A collection of algorithms, data structures and other useful information for competitive programming.
Stars: ✭ 475 (-39.34%)
Mutual labels:  algorithms, library
C Macro Collections
Easy to use, header only, macro generated, generic and type-safe Data Structures in C
Stars: ✭ 192 (-75.48%)
Mutual labels:  library, containers
Sc
Common libraries and data structures for C.
Stars: ✭ 161 (-79.44%)
Mutual labels:  algorithms, library
Towel
Throw in the towel.
Stars: ✭ 333 (-57.47%)
Mutual labels:  algorithms, library
Ascii art
Real-Time ASCII Art Rendering Library
Stars: ✭ 599 (-23.5%)
Mutual labels:  algorithms, library
Slug Generator
Slug Generator Library for PHP, based on Unicode’s CLDR data
Stars: ✭ 740 (-5.49%)
Mutual labels:  library
Textfieldboxes
Material Design text field that comes in a box, based on (OLD) Google Material Design guidelines.
Stars: ✭ 760 (-2.94%)
Mutual labels:  library
Android Notes
Android开发核心知识点笔记(不断更新中🔥)
Stars: ✭ 737 (-5.87%)
Mutual labels:  algorithms

Embedded Template Library (ETL)

GitHub release (latest by date) License CI CI CI Codacy Badge

Motivation

C++ is a great language to use for embedded applications and templates are a powerful aspect. The standard library can offer a great deal of well tested functionality, but there are some parts of the standard library that do not fit well with deterministic behaviour and limited resource requirements. These limitations usually preclude the use of dynamically allocated memory and containers with open ended sizes.

What is needed is a template library where the user can declare the size, or maximum size of any object upfront. Most embedded compilers do not currently support the standard beyond C++ 03, therefore excluding the programmer from using the enhanced features of the later library.

This is what the ETL attempts to achieve.

Summary

The ETL is not designed to completely replace the STL, but complement it. Its design objective covers three areas.

  • Create a set of containers where the size or maximum size is determined at compile time. These containers are direct equivalents of those supplied in the STL.
  • Be compatible with C++ 03 but implement as many of the C++ 11 additions as possible.
  • Add other useful components that are not present in the standard library.

The embedded template library has been designed for lower resource embedded applications. It contains a set of containers, algorithms and utilities, some of which emulate parts of the STL. There is no dynamic memory allocation. The library makes no use of the heap. All of the containers have a fixed capacity allowing all memory allocation to be determined at compile time. The library is intended for any compiler that supports C++ 03.

Main features:

  • Cross platform. This library is not specific to any processor type.
  • No dynamic memory allocation
  • No RTTI required
  • Very little use of virtual functions. They are used only when they are absolutely necessary for the required functionality
  • A set of fixed capacity containers. (array, bitset, deque, forward_list, list, queue, stack, vector, map, set, etc.)
  • As the storage for all of the container types is allocated as a contiguous block, they are extremely cache friendly
  • Templated compile time constants
  • Templated design pattern base classes (Visitor, Observer)
  • Reverse engineered C++ 0x11 features (type traits, algorithms, containers etc.)
  • Type-safe enumerations
  • Type-safe typedefs
  • 8, 16, 32 & 64 bit CRC calculations
  • Checksums & hash functions
  • Variants (a type that can store many types in a type-safe interface)
  • Choice of asserts, exceptions, error handler or no checks on errors
  • Many utilities for template support.
  • Easy to read and documented source.
  • Free email support

Any help porting the library to work under different platforms and compilers would be gratefully received. I am especially interested in people who are using Keil, IAR, Green Hills, TI Code Composer etc, bare metal or RTOS, and DSPs.

See (https://www.etlcpp.com) for up-to-date information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].