const_fixedp
static-assertions
const_fixedp | static-assertions | |
---|---|---|
1 | 2 | |
0 | 554 | |
- | - | |
5.0 | 0.0 | |
over 2 years ago | 6 months ago | |
Rust | Rust | |
Apache License 2.0 | 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.
const_fixedp
-
how do I "fail" in const fn?
https://github.com/unleashed/const_fixedp/blob/main/src/const_panic.rs provides a few macros to panic in const contexts
static-assertions
-
"My Reaction to Dr. Stroustrup’s Recent Memory Safety Comments"
The static-assertions crate tries to handle similar use cases but const generics are still problematic.
-
Const generics MVP hits beta!
For that, I've used static-assertions in the past.
What are some alternatives?
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
kernel - FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
alacritty - A cross-platform, OpenGL terminal emulator. [Moved to: https://github.com/alacritty/alacritty]
assertnever - Syntactical sugar for assert never
compile-time-ray-tracer-in-rust - Compile-Time Ray Tracer in Rust ported from C++
inox2d - Native Rust reimplementation of Inochi2D
alacritty - A cross-platform, OpenGL terminal emulator.
current_platform - Find out what platform your code is running on from Rust
utoipa - Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
gcc-ia16 - Fork of Lambertsen & Jenner (& al.)'s IA-16 (Intel 16-bit x86) port of GNU compilers ― added far pointers & more • use https://github.com/tkchia/build-ia16 to build • Ubuntu binaries at https://launchpad.net/%7Etkchia/+archive/ubuntu/build-ia16/ • DJGPP/MS-DOS binaries at https://gitlab.com/tkchia/build-ia16/-/releases • mirror of https://gitlab.com/tkchia/gcc-ia16
ntest - Testing framework for rust enhancing the built-in library with some useful features.