cpp-vs-rust
inox2d
cpp-vs-rust | inox2d | |
---|---|---|
11 | 9 | |
15 | 175 | |
- | 1.1% | |
10.0 | 8.9 | |
over 1 year ago | 11 days ago | |
Rust | Rust | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
cpp-vs-rust
-
C++ vs. Rust Build Times
> They seem to have chosen to use mold for C++ and not for Rust after seeing that it gave little benefit for small projects, but I would expect that to change as the project scales.
The benchmarks show Mold for both Rust and C++. This wasn't explicitly stated in the article; sorry. https://github.com/quick-lint/cpp-vs-rust/blob/f8d31341f5cac...
-
Is coding in Rust as bad as in C++? A practical comparison
Very well-researched article (in my uninformed opinion because I've done virtually no benchmarking). I'd summarize it as, Rust doesn't significantly improve build times over C++ for a project where you need to frequently recompile to test the logic of the code. I gather that the Rust code is pretty idiosyncratic (using raw pointers rather than slices and custom owned and borrowed string containers with i32 length and capacity fields), but I don't know why more idiomatic Rust code would be faster to compile, and it could be very different, so a worse comparison. The results aren't relevant for me because I use Rust mainly for the language features and don't have a project with terrible compile times or the need to often rerun tests, but there might be other C++ projects in the same boat as quick-lint-js that would consider moving to Rust if it compiled faster than C++. Hopefully the efforts of people like u/nnethercote will make that happen.
inox2d
-
What are you rewriting in rust?
I'm writing Inox2D, which is kind of a rewrite of Inochi2D in Rust. The aim is to reach more use-cases such as web with WASM and even potentially embedded development, but at the very least an implementation in a low-level non-garbage-collected language.
-
What's everyone working on this week (27/2023)?
Inox2D, an experimental native Rust implementation of Inochi2D.
-
What type of projects do you use Rust for?
inox2d - official experimental reimplementation of Inochi2D, an open-source alternative of Live2D for animating 2D puppets in various contexts such as games or vtubing. inox2d isn't really meant to be a replacement over the current implementation, but more of a complementary one that extends it's use-cases, for example embedded devices and web integration with WASM.
-
OpenGL crates: gl vs glow vs glium
Hey, I'm working on inox2d which uses glow.
-
Splitting a big struct impl into multiple files?
For example, I wouldn't want to separate this into multiple files, would make it harder to see where all the deserialization logic is.
-
More on OOP: Polymorphism this time
For example, I'm working on Inox2D, a reimplementation of Inochi2D in Rust.
-
"My Reaction to Dr. Stroustrup’s Recent Memory Safety Comments"
I absolutely get that. It was actually very clear in a project of mine. I work on inox2d which is a native implementation of Inochi2D in Rust (Inochi2D being a FOSS puppet animation system, like Live2D which is used by vtubers and light novel engines notably).
-
Is coding in Rust as bad as in C++? A practical comparison
For example, on my Inox2D project, I was using serde to deserialize some JSON payload. But that came with some hacks I had to do, like have a temporary struct that gets converted to the final one because it wasn't possible to serialize it by itself, and add extra-dependencies to make the system extensible while also supporting external structures I used like Arena from the indextree crate.
-
Help getting started with open source
You can find it at https://github.com/Inochi2D/inox2d. If you know stuff about OpenGL and low-level rendering in general I'd really appreciate some help as I myself am very new to this stuff.
What are some alternatives?
rust - Empowering everyone to build reliable and efficient software.
inochi2d - Inochi2D reference implementation aimed at rendering 2D puppets that can be animated in real-time (using eg. facial capture).
rustybuzz - A complete harfbuzz's shaping algorithm port to Rust
halloy - IRC application written in Rust
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
prima - PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.
tiny-skia - A tiny Skia subset ported to Rust
signrs
swift-nonempty - 🎁 A compile-time guarantee that a collection contains a value.
tensorken - A fun, hackable, GPU-accelerated, neural network library in Rust, written by an idiot
v-mode - 🌻 An Emacs major mode for the V programming language.
dotfiles