OOP-in-C VS modern-cpp-features

Compare OOP-in-C vs modern-cpp-features and see what are their differences.

OOP-in-C

Simple and efficient implementation of OOP in C suitable for real-time embedded systems. (by QuantumLeaps)

modern-cpp-features

A cheatsheet of modern C++ language and library features. (by AnthonyCalandra)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • Zigi - Delete the most useless function ever: context switching.
OOP-in-C modern-cpp-features
2 29
77 15,288
- -
4.2 3.1
about 2 months ago 18 days ago
C Python
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

OOP-in-C

Posts with mentions or reviews of OOP-in-C. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-05.
  • path of learning the arm cortex-m embedded c programming?
    3 projects | reddit.com/r/embedded | 5 Jun 2021
    There is also a small OOP-in-C project (Object-Oriented Programming in C) introduced in the segment about Object-Oriented Programming. This project is also available on GitHub in the OOP-in-C repository.
  • Ask HN: What are relevant books as of C++20?
    2 projects | news.ycombinator.com | 13 Feb 2021
    > "... my coding in C++ still feels like doing C with classes and some STL containers like 2005. I want to progress from this state. ..."

    What's wrong with these?:

    - C++: The Core Language by Gregory Satir and Doug Brown

    - https://github.com/QuantumLeaps/OOP-in-C

    - C++ Concurrency in Action

    - C++ Templates the Complete Guide 2e

    The first is particularly geared towards C programmers, and I prefer the second one to "Inside the C++ Object Model". (There's also another popular book by a German author who covers OOP in C.)

    For the time being, I will be an "opportunist" who is waiting for the right time to switch to another language[1] - Rust:

    "To me using C++ means you are ready to give up a lot of time and energy in order to gain a complete control over certain aspects of your program. I was very much into that at the start of my career and gradually started drifting away to more immediate productivity while reserving the right to poke under the hood when necessary. This has led me to Rust and I find it to be the better natively compiled strongly & statically typed language, but YMMV of course."

    (No, the concepts I learn in C++11 and beyond won't go into waste even when C++ becomes less and less relevant in a couple of decades.)

    [1] https://news.ycombinator.com/item?id=24805717

modern-cpp-features

Posts with mentions or reviews of modern-cpp-features. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-03.

What are some alternatives?

When comparing OOP-in-C and modern-cpp-features you can also consider the following projects:

serenity - The Serenity Operating System 🐞

vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)

MiROS - MiROS (Minimal Real-Time Operating System) for ARM Cortex-M

modern-embedded-programming-course - Companion repository to the "Modern Embedded Systems Programming" video course.

doctest - The fastest feature-rich C++11/14/17/20 single-header testing framework

Thrust - The C++ parallel algorithms library.

cpp20_in_TTs - C++20 features described in Before/After tables ("Tony Tables")

functools - Functional tools in Go 1.18 using newly introduced generics

cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler