threadx
compile-time-regular-expressions
threadx | compile-time-regular-expressions | |
---|---|---|
13 | 26 | |
2,431 | 3,163 | |
- | - | |
0.0 | 7.0 | |
4 months ago | 10 days ago | |
C | C++ | |
GNU General Public License v3.0 or later | Apache License 2.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.
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
compile-time-regular-expressions
-
Why are strings and IO so complicated?
CTRE (https://github.com/hanickadot/compile-time-regular-expressions) ranges::views (filter, transform, etc.) (C++20) str.find() + str.substr() freopen to stdin + cin >> extraction Parser libraries
- Compile time regular expression in C++
-
What are thoughts on removing regular expression from the standard library?
There are suggestions that should be replaced by the high performance ctre implementation: https://github.com/hanickadot/compile-time-regular-expressions
-
What's the most hilarious use of operator overloading you've seen?
operator"" can be used in a similar way to expression templates (DSLs), where the type of the resulting expression is dependent on the string contents. For example ctre makes use of this to build efficient regular expression parsers, and kumi uses this in conjunction with operator[] to make tuple indexing quite elegant
-
It's easy, I swear! Once you learn a bit about it, you'll be amazed!
Check out https://github.com/hanickadot/compile-time-regular-expressions anything is possible 😂
-
Verify all characters are same except a few
Yes to regex, no to std::regex. Better to use CTRE. Something like "^Hello [0-9]+ how are you" should allow checking if there's a match
-
Constexpr regex parser!
You could compare your implementation with https://github.com/hanickadot/compile-time-regular-expressions and see if there are any ideas you can copy.
- Regex is comically slow. High performance alternatives? (Pattern matching for validation)
-
Regex shootout updated - hyperscan 1st, Rust 2nd, std::regex dead last
std::compile_time_regex would be a nice addition. Something similar to ctre https://github.com/hanickadot/compile-time-regular-expressions Simply letting the compiler generate all the regex parsing machinery at compile time.... And benefitting from compiler optimizations, vectorization, etc...
-
What are some cool modern libraries you enjoy using?
ctre
What are some alternatives?
x-cube-azrtos-h7 - X-CUBE-AZRTOS-H7 (Azure RTOS Software Expansion for STM32Cube) provides a full integration of Microsoft Azure RTOS in the STM32Cube environment for the STM32H7 series of microcontrollers.
RE2 - RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.
mtkernel_3 - micro T-Kernel 3.0
consteval-huffman - Compile-time Huffman coding compression using C++20
platformio-docs - PlatformIO Documentation
xorstr - heavily vectorized c++17 compile time string encryption.
dotfiles - My dotfiles
neo-fun - Some library components that didn't quite fit anywhere else...
guix - Azure RTOS GUIX Studio provides a complete, embedded graphical user interface (GUI) library and design environment, facilitating the creation and maintenance of all graphical elements needed by your device.
C++ Format - A modern formatting library
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
uninttp - A universal type for non-type template parameters for C++20 or later.