EA Standard Template Library
xtensor
Our great sponsors
EA Standard Template Library | xtensor | |
---|---|---|
40 | 8 | |
7,628 | 3,182 | |
1.0% | 1.6% | |
2.9 | 7.9 | |
2 days ago | 10 days ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
EA Standard Template Library
-
Sane C++ Libraries
> you can still use it with smart pointers provided by any other library
Is the point of having a kitchen-sink library like this not that you dont have to reach for a 3rdparty library for things that you need 'all the time'?
Certainly, not everyone needs it.
...but, not everyone needs threads either. Not everyone needs an http server; and yet, if you have an application framework that provides them, when you do need them, it saves you reaching for yet-another-dependency.
Was that no the point from the beginning?
unique_ptr is a fundamental primitive for many, as you see from some other frameworks (1), and implementation is not always either a) trivial, or b) as simple as 'just use std::unique_ptr'.
This does seem like a very opinionated decision with reasonably unclear justification.
[1] - eg. https://github.com/EpicGames/UnrealEngine/blob/release/Engin..., https://github.com/electronicarts/EASTL/blob/master/include/...
-
The joys of writing my own standard library
Can I introduce you to EASTL
-
I want to start computer graphics programming
C++, but generally treat it as C. STL is pretty slow while debugging so we avoid it and write our own replacements. If you don't want to drive that deep use something like EASTL: https://github.com/electronicarts/EASTL
-
A container with set interface based on std::vector
In my opinion, you should also benchmark it against something like boost::container::flat_set or eastl::vector_set and you should expect the same performance as with your ordered functionality. Another interesting idea for organization of such flat and sorted container can be found here.
-
What are the hallmarks of well written and high quality C++ code?
check it out: https://github.com/electronicarts/EASTL
-
Where to read about std library implementation?
EASTL might also be worth a look, the code is relatively readable and well-documented.
I just took a look at their atomic.h and wow, "well-documented" is an understatement !
-
should I just use C++ STL alternatives?
I recently read this benchmark series about hashing and hashmaps, which includes EA STL. It performs fairly decently overall in that regard. EA STL also has benchmarks in its source repo. But I would also expect that some of its perfomance improvements are almost self evident, such as containers like tuple_vector, intrusive containers, and fixed-size containers that don't have an analogous feature in the STL, all of which are integrated into its own polymorphic allocators and arenas (different from and more flexible than std::pmr) along with its other algorithms. It would be interesting to see them benchmarked against Boost, which has similar features but written in the STL style.
-
EASTL atomic macro not implemented
I'm currently trying to add EASTL to my project, but when I try to build it using CMake (either as a subdirectory, or directly in the EASTL subdirectory), I get the error message EASTL\include\EASTL\internal\atomic\atomic_integral.h(330,2): error C2338: static_assert failed: 'eastl::atomic atomic macro not implemented!'. Does anyone have any clue why this could be happening?
-
Ouroboros - A Neovim plugin for quickly switching between header and implementation files in C/C++
I haven't, but that's a great idea! I did test it against the EASTL and that worked well and is still fast enough it appears instant.
xtensor
- Does anyone know any good open source project to optimize?
-
Which is the best way to work with matrices and linear algebra using c++?
I use xtensor: https://github.com/xtensor-stack/xtensor
-
Can you give an example of well-designed C++ code, and explain why you think it is so?
Currently, one of my current favorites is xtensor.
-
Eigen: A C++ template library for linear algebra
I wonder how Eigen compares to xtensor, which was inspired by Numpy and has support for views, slicing, and broadcasting?
-
When researching and developing new algorithms to be used in the real-world production environment, what is your workflow and how do you usually do it? Do I have to prototype in Python, and then rewrite all code in C++/Rust?
You can try eigen (http://eigen.tuxfamily.org/), armadillo (http://arma.sourceforge.net/) which is based on LAPACK which is what numpy is based on and xtensor (https://github.com/QuantStack/xtensor) which I think is the closest thing to numpy you’re gonna find in c++
What are some alternatives?
STL - MSVC's implementation of the C++ Standard Library.
Fastor - A lightweight high performance tensor algebra framework for modern C++
etl - Embedded Template Library
uSTL - A size-optimized STL implementation.
linkedin-skill-assessments-quizzes - Full reference of LinkedIn answers 2023 for skill assessments (aws-lambda, rest-api, javascript, react, git, html, jquery, mongodb, java, Go, python, machine-learning, power-point) linkedin excel test lösungen, linkedin machine learning test LinkedIn test questions and answers
winapi - Windows API declarations without <windows.h>, for internal Boost use.
BDE - Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.
dyno - Runtime polymorphism done right
dynarray - A header-only library, VLA for C++ (≥C++14). Extended version of std::experimental::dynarray
opentrack - Head tracking software for MS Windows, Linux, and Apple OSX
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
nativejson-benchmark - C/C++ JSON parser/generator benchmark