AnyAny
dyno
Our great sponsors
AnyAny | dyno | |
---|---|---|
22 | 11 | |
421 | 947 | |
- | - | |
6.2 | 0.0 | |
14 days ago | almost 3 years ago | |
C++ | C++ | |
Apache License 2.0 | Boost Software License 1.0 |
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.
AnyAny
- DynaMix 2.0.0 Released
-
rust-like traits on plain C++ with short macro (type erasure actually)
https://github.com/kelbon/AnyAny trait(add, void(int), self.add(args...));
-
Static Interfaces, concepts vs de-virtualisation?
i dont know what he means, but with this type erasure library you can have non virtual interface and still use dynamic polymorphism with those types, so you dont need choose *do i need to do this type polymorphic* etc
-
[C++23] constexpr std::function in 40 LOC (simplified) powered by constexpr std::unique_ptr
There are also invoking from tuple and curring (just an example of technique)https://github.com/kelbon/AnyAny/blob/main/examples/functional_paradigm.hpp
-
A call to action: Think seriously about “safety”; then do something sensible about it -> Bjarne Stroustrup
As for my example containers: https://github.com/kelbon/AnyAny/blob/main/include/data_parallel_vector.hpp
- C++ Polymorphism Without Inheritance Using Glaze
-
С++20 library for high-performance polymorphic types usage
variant_swarm - container which behaves as set of std::variant, but with much faster visit operation and operation for getting view to all values of type T. It short, it just stores all types separatelly and supports operations visit, view, also you can change underlying containers for Ts..., it is std::vector by default https://github.com/kelbon/AnyAny/blob/main/include/variant_swarm.hpp
-
I wrote multidispatching(runtime overload resolution) in C++ (and its not std::variant)
Its part of my library for working with polymorphic types.
-
I wrote a library that emulates dyn traits from Rust in C++
Good idea selling Rust from behind enemy lines soldier! My god, your readme doesn't even mention Rust, wonderful!
-
Using final in C++ to improve performance
https://github.com/kelbon/AnyAny here you can see how it implemented, for example
dyno
- DynaMix 2.0.0 Released
-
rust-like traits on plain C++ with short macro (type erasure actually)
Or dyno or Poly or Not-Actually-Boost.TE or ...
- C++ Polymorphism Without Inheritance Using Glaze
-
Potential C++ extension for type erasure as a language feature
Sean's tweet looks like something else from what I'm asking (not sure what to call it), as it evidently still uses inheritance (see int: IFace) and it needs an association between the two, but what I'm asking for is just pure uncoupled adaptation, no extra odd keywords like dyn and impl, no inheritance. Go interfaces and that dyno library look the most like it.
- Dyno: Runtime Polymorphism Done Right
-
C++20 library for modern dynamic polymorphism (virutal functions / std::any / std::proxy / and some std::variant current use cases replacement). AMA about it
Reminds me of Louis Dionne's Dyno
-
What is your C++?
If I need runtime polymorphism, I prefer to use something like Louis Dionne's Dyno (https://github.com/ldionne/dyno) when I can to maintain value semantics.
-
CppDyn: A simpler runtime polymorphism in C++
How does it compare to Louis Dionne's dyno? https://github.com/ldionne/dyno
- Experience C++ developers: do you enjoy using C++ (even for personal/hobby projects?)
-
vector of objects
Sounds similar to dyno.
What are some alternatives?
tolc - A bindings compiler for C++
te - C++17 Run-time polymorphism (type erasure) library
Kalman - Kalman Filter
modern-cpp-tutorial - 📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/
kelcoro - C++20 coroutine library
C++ Middleware Writer - The repo contains library code to support messaging and serialization. There are also two programs in the repo that are needed to use the CMW.
ReactivePlusPlus - Implementation of async observable/observer (Reactive Programming) in C++ with care about performance and templates in mind in ReactiveX approach
CppDyn - CppDyn is a library which aims to simplify use of polymorphism in C++20
tinyformat - Minimal, type safe printf replacement library for C++
hana - Your standard library for metaprogramming
scnlib - scanf for modern C++
EA Standard Template Library - EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.