libCat
arewegameyet
Our great sponsors
libCat | arewegameyet | |
---|---|---|
21 | 95 | |
51 | 625 | |
- | 0.8% | |
8.8 | 5.3 | |
about 1 month ago | 10 days ago | |
C++ | SCSS | |
GNU Affero General Public License v3.0 | Creative Commons Attribution 4.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.
libCat
-
I hate almost all software
That's awesome! I'm working on something that sounds similar. https://github.com/cons-cat/libcat
I'd love to see your work if you're willing to share it here!
- Manticore 6.0.0 – a faster alternative to Elasticsearch in C++
-
Chromium accepting Rust in a clear move to copy what Mozilla have done, replace C++ source code
It's worse in the standard library than it has to be. When I refactored my traits to minimize template instantiations and lean on concepts as much as possible, I measured over 30% improvement to clean build compile times. It's not possible for the standard to do this, because it would subtly change the API. For instance, you can't instantiate or take the address of a concept, but you can for a type-trait class. No reason you'd want to do that, but you can, so they can't "break" the standard library by optimizing this.
-
C++'s smaller cleaner language
This doesn't have to be true. Over the past year I've made progress towards demonstrating how even non-freestanding C++ can be written without any C or C++ standard library headers or DLLs (with large benefits). There are a few names which the compilers require to be in the std:: namespace, though, but they're very special features like source_location and construct_at with semantics that can't be expressed otherwise.
-
Is bloat in std::unexpected expected?
It isn't that hard to put a predicate into a type. We have lambdas in an unevaluated context, CTAD, and templated type aliases. https://github.com/Cons-Cat/libCat/blob/main/src/libraries/scaredy/cat/scaredy https://github.com/Cons-Cat/libCat/blob/main/src/global_includes.hpp#L70 https://github.com/Cons-Cat/libCat/blob/main/src/libraries/linux/cat/linux#L289 You do it like this.
- Software disenchantment - why does modern programming seem to lack of care for efficiency, simplicity, and excellence
- tiny::optional – a C++ optional that does not waste memory
-
Rust analyzer/clippy alternative for C++?
I use clang-tidy. These are my current linting rules.
-
John "God" Carmack: C++ with a C flavor is still the best (also: Python performance "keeps hitting me in the face")
I'm working on this! https://github.com/Cons-Cat/LibCat
- “Hello world” is slower in C++ than in C (Linux)
arewegameyet
-
Struggling to find practical uses for Rust
For practical uses of Rust? Whatever you want to program. People use Rust for game development, GUIs, web dev, and more. Anything where abstraction, speed, concurrency, memory safety, etc. are important, Rust will probably be a good fit.
-
Latest Zen Kernel......
Are we game yet? "Almost. We have the blocks, bring your own glue"
-
Really frustrated. [Warning: Bit of a negative rant]
Not seeing anything else that's close to photo realistic. I'm hitting the tough bugs first all too often. More than half my time has been spent on ecosystem problems.
-
What are some stuff that Rust isn't good at?
I also know of https://arewegameyet.rs/
-
Chrome ships WebGPU, a sort-of successor to WebGL. How soon do you see this being adopted by the game dev community?
Yes — and in fact, Firefox's implementation has been the go-to graphics API for folks trying to make Rust gamedev happen for a long time now. Bevy Engine's renderer is built on it, for example.
-
Are We <Thing> Yet?
They're all/mostly websites about the state of the Rust language ecosystem. For example, can you write games in Rust (https://arewegameyet.rs/) or what's the state of the async (https://areweasyncyet.rs/)
-
Drew a triangle by following Vulkan tutorial, but I understand almost nothing. Where do I go from here?
Now comes the most controversial part of my answer: learn Rust. I cannot convey in works how insanely unfriendly the C/C++ world is to inexperienced programmers. This may sound counterintuitive, because the same can be said about Rust, but not really. It's much easier to get started with Rust and finish your first project than it is to learn how to manage, build, and maintain even the smallest of C++ projects. But this isn't why I'm asking you to migrate to rustland. My reason for suggesting so is WebGPU. WebGPU is probably the best modern graphics API that's also incredibly well-documented and beginner-friendly. For this reason I believe it to be the #1 API for beginners going forward. Rust has an increasingly great WebGPU story and graphics ecosystem. If this doesn't convince you, that's also ok. There's a beginner-friendly wrapper course for the Vulkan tutorial that you're following so you can go on with your Vulkan journey after you've done some exploring. Note that this course is incomplete and kinda in the middle of a hiatus, but what's there is more than enough to get you started.
- Rust – Are We Game Yet?
-
I wanna be a crab.
rust-learning (A broader listing that includes links to sites like Are we game yet? among other things)
-
Allowing execution of other languages inside a completed Rust project
There's also the Scripting Languages section of Are we game yet?, though I'm not sure which of those are suitable for restricted execution.
What are some alternatives?
Godot - Godot Engine – Multi-platform 2D and 3D game engine
RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]
detonator - 2D game engine and editor 💥💣
GameDev-Resources - :video_game: :game_die: A wonderful list of Game Development resources.
rust-rdkafka - A fully asynchronous, futures-based Kafka client library for Rust based on librdkafka
bevy - A refreshingly simple data-driven game engine built in Rust
gdnative - Rust bindings for Godot 3
awesome-bevy - A collection of Bevy assets, plugins, learning resources, and apps made by the community
macroquad - Cross-platform game engine in Rust.
ggez - Rust library to create a Good Game Easily
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
love - LÖVE is an awesome 2D game framework for Lua.