awesome-hpp
mp-units
Our great sponsors
awesome-hpp | mp-units | |
---|---|---|
6 | 13 | |
3,183 | 946 | |
- | - | |
6.2 | 9.8 | |
4 months ago | 3 days ago | |
C++ | ||
The Unlicense | MIT License |
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.
awesome-hpp
-
Collecting the best C++ practices
awesome-hpp. A curated list of awesome header-only C++ libraries.
-
oof: real-time, full-color console output for C++
I sampled ten arbitrary projects from https://github.com/p-ranav/awesome-hpp, and not one of them used this pattern. Maybe it's more common in some circles than others?
-
Is C++ Still Worth Learning? Absolutely! Yes Rust And Go Are Awesome. There Is Still Work To Be Done In C++
If package managers seem intimidating, try header-only libraries that require no compilation or configuration.
- A curated list of header-only C++ libraries
-
Why is it preferred to declare functions in header files but not define them?
That doesn't mean there aren't any header-only libraries. Usually small libraries implement everything in a header file. Checkout this GitHub link. With such header-only-libraries, all you have to do is include the header, write code which uses them, compile and you are done. This also doesn't involve the headache of setting up complicated build systems.
-
CXXGraph Library
awesome-hpp
mp-units
-
Is it just mean, or is C# easier to learn than JavaScript or even PHP?
It's not the type system you're complaining about, though. It takes a bit of work but you can write types that include units information with no loss of performance.
-
I'm a beginner making a library for unit conversion, contributions are welcome
I recommend using this as reference https://github.com/mpusz/units it probably solves the same or similar problem.
-
Why is this piece of code compiling with char as c-tor argument?
Yep. And there are some libraries to provide strong-type int, depending on what you need: type_safe or even units.
-
C++'s smaller cleaner language
Indeed you cannot. Then again, you couldn't write a library like fmtlib in C in the first place. I mean why do you complain about C++ features which enable you to write libraries you otherwise couldn't? How would you expect to implement equivalent libraries to EVE or mp-units in C alone?
-
I got curious about units of measure in programming languages so I recreated xkcd/687.
How does it compare with https://github.com/mpusz/units ?
-
C++ for Mathematicians
I don't have a book to recommend, but I have a fantastic library: https://github.com/mpusz/units
- Cheatsheet for the C++ core guidelines (philosophy)
- Compile-time C++ library for compile-time dimensional analysis, units/quantities
-
Please Put Units in Names
Good C++ library for that topic is [0]. You can even go further and combine with something like [1] which is super helpful for kalman filters and other stuff where you have heterogeneous units in one vector.
[0] https://github.com/mpusz/units
-
C++ lib for handling SI units
This seems to be on a progress to standardisation for c++23/26: https://github.com/mpusz/units
What are some alternatives?
replxx - A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed.
quantity
eos - A lightweight 3D Morphable Face Model library in modern C++
UNITS - a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
CXXGraph - Header-Only C++ Library for Graph Representation and Algorithms
tinyobjloader - Tiny but powerful single file wavefront obj loader
cppbestpractices - Collaborative Collection of C++ Best Practices. This online resource is part of Jason Turner's collection of C++ Best Practices resources. See README.md for more information.
cpp-core-guidelines-cheatsheet - Cheatsheet for the C++ core guidelines, including a set of tried-and-true guidelines, rules, and best practices about coding in C++.
linenoise - A small self-contained alternative to readline and libedit
zen
oof - Convenient, high-performance RGB color and position control for console output