threadx
entt
threadx | entt | |
---|---|---|
13 | 79 | |
2,431 | 9,469 | |
- | - | |
0.0 | 9.8 | |
4 months ago | 9 days ago | |
C | C++ | |
GNU General Public License v3.0 or later | 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.
threadx
- Bill Lamie: Story of a man and his real-time operating systems
-
Microsoft opens sources ThreadX RTOS used in Raspberry Pis
It is not open source. The source code is open but with an evaluation, i.e. proprietary license:
https://github.com/azure-rtos/threadx/blob/master/LICENSE.tx...
-
Eclipse ThreadX
License looked alright, until I came across this: https://github.com/azure-rtos/threadx/blob/a8e5d0946c31385ff...
-
PlatformIO and Zephyr is a bad idea
Portability, mainly. Zephyr runs on a wide variety of architectures and 450+ variations of popular boards are already supported upstream (adding more often being pretty easy). In your particular example, your own preferences with regards to building on top of open-source software may play a role too. For example, Azure RTOS is not open source, and its license will, among other things, prevent you to use it in production on other hardware than what's listed herehere. So easily moving from one hardware vendor / SoC to the other might be a problem, should this be a requirement (and it kind of becomes one for a lot of people in these times if silicon shortage)
-
Linux vs. QNX/VxWorks for a climate control system - Education
Honestly as long as you use one of the supported MCU families ThreadX is probably a better choice these days given how much better NetX is over FreeRTOS’ TCP implementation.
-
As a guess, what percentage of embedded projects actually need the R in RTOS?
Azure RTOS/ThreadX is only free on approved pre-licensed uCs, but with that said, there's a ton of devices covered by it so it's an option for a lot of projects.
- Using FreeRTOS Compatibility Kit with AZURE RTOS on STM32F7
-
What are some cool modern libraries you enjoy using?
I'm interested in something equivalent to tx_byte_pool but for non-embedded usage where I want a custom allocator for defined pools. Do you know if mimalloc can do this? I see it has custom heaps, but I didn't see any functions to create one from raw memory.
- FreeRTos with SMP and the Zynq processor
-
Thoughts? They look great though!
source is apparently available but no idea what licensing it uses
entt
-
Using Jolt with flecs & Dear ImGui: Game Physics Introspection
EnTT is a popular alternative to flecs for C++, which has different performance/memory characteristics.
-
Focus: A simple and fast text editor written in Jai
https://pastebin.com/VPypiitk This is a very small experiment i did to learn the metaprogramming features. its an ECS library using the same model as entt (https://github.com/skypjack/entt). In 200 lines or so it does the equivalent of a few thousand lines of template heavy Cpp while compiling instantly and generating good debug code.
Some walkthrough:
Line 8 declares a SparseSet type as a fairly typical template. its just a struct with arrays of type T inside. Next lines implement getters/setters for this data structure
Line 46 Base_Registry things get interesting. This is a struct that holds a bunch of SparseSet of different types, and providers getters/setters for them by type. It uses code generation to do this. The initial #insert at the start of the class injects codegen that creates structure members from the type list the struct gets on its declaration. Note also how type-lists are a native structure in the lang, no need for variadics.
Line 99 i decide to do variadic style tail templates anyway for fun. I implement a function that takes a typelist and returns the tail, and the struct is created through recursion as one would do in cpp. Getters and setters for the View struct are also implemented through recursion
Line 143 has the for expansion. This is how you overload the for loop functionality to create custom iterators.
The rest of the code is just some basic test code that runs the thing.
- Crash Course: entity component system
-
Introducing Ecsact
Since we wanted a common game simulation that would be on both the server and the client we looked into a few libraries that would fit our ECS needs. It was decided we were going to write this common part of our game in C++, but rust was considered. C++ was a familiar language for us so naturally EnTT and flecs came up right away. I had used EnTT before, writing some small demo projects, so our choice was made based on familiarity. In order to integrate with Unity we created a small C interface to communicate between our simulation code and Unity’s C#. Here’s close to what it looked like. I removed some parts for brevity sake.
-
Sharing Saturday #472
Are you sure you don't want to use a C++ package manager? Libtcod is on Vcpkg and with that setup you could add the fmt library or EnTT. fmt fixes C++'s string handling and EnTT fixes everything wrong with the entities of the previous tutorials.
- Where can I find the juiciest, most complex and modern c++ code?
-
What are the limits of blueprints?
There's also a performance question. While we can now use Blueprint nativization to convert Blueprints to C++ the result will be a fairly naive version, fast enough for most purposes but not if you're trying to push every bit of performance. This is where you're looking at making sure you're hitting things such as using the CPU cache as well as possible for an ECS system (Look at ENTT or Flecs if you want to see what they're about and why you'd want one), or a system needing to process massive amounts of data quickly such as the Voxel Plugin.
-
any resources for expanding on ECS?
For a modern engine you’re probably best looking at Unity’s DOTS. You may also want to check out some of the different open source ECS libraries such as flecs and EnTT are two popular ones for C++, but there’s lots of them. Largely you’ll see lots of different approaches taken, all with their own pros and cons. Not all of them will be performant (some focus more on the design benefits) while others will be optimised for certain use cases. What you should prioritise will depend on your specific needs.
-
DynaMix 2.0.0 Released
You can think of DynaMix as combining one of these libraries with an ECS like entt(https://github.com/skypjack/entt)
- Flecs – A fast entity component system for C and C++