unreal-rust
rustc-perf
Our great sponsors
unreal-rust | rustc-perf | |
---|---|---|
5 | 26 | |
2,003 | 590 | |
- | 2.4% | |
0.0 | 9.6 | |
about 1 year ago | 2 days ago | |
Rust | Rust | |
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.
unreal-rust
-
Rust – Are We Game Yet?
https://github.com/MaikKlein/unreal-rust
Unlikely to ever be as supported as what Epic themselves maintain though. Same for Godot. If you want to use something that will for sure support Rust, you better use a Rust project for the games.
-
In which circumstances is C++ better than Rust?
- Unreal https://github.com/MaikKlein/unreal-rust and if you look inside the FFI part (called workspace in Rust) at what libs it uses https://github.com/MaikKlein/unreal-rust/blob/main/unreal-ffi/Cargo.toml is cbindgen which is a FFI generator tool
-
Rust Course Holiday giveaway! Learn Rust, make games, have an adventure.
- The unreal-rust project on GitHub
-
and my career ended before it could start
You’re probably right that Epic sure as hell won’t rewrite the whole engine… but devs ARE making support and have been for a while: https://github.com/MaikKlein/unreal-rust
-
Do you feel it's a waste of time programming in C++/Rust for 3d graphics or game programming in 2022 ? Every others fields of programming seem to pay more like JS/React webdev ?
If you like Rust there are (immature) bindings for Unreal and Godot. Or you might like to use a pure Rust engine like Bevy, Fyrox etc.
rustc-perf
-
Adding runtime benchmarks to the Rust compiler benchmark suite
> what do people use to run benchmarks on CI?
Typically, you purchase/rent a server that does nothing but sequentially run queued benchmarks (and the size/performance of this server doesn't really matter, as long as the performance is consistent), then sends the report somewhere for hosting and processing. Of course, this could be triggered by something running in CI, and the CI job could wait for the results, if benchmarking is an important part of your workflow.
But CI and benchmarks really shouldn't be run on the same host.
> What does the rust project use?
It's not clear exactly where the Rust benchmark "perf-runner" is hosted, but here are the specifications of the machine at least: https://github.com/rust-lang/rustc-perf/blob/414230abc695bd7...
> What do other projects use?
Essentially what I described above, a dedicated machine that runs benchmarks. The Rust project seems to do it via GitHub comments (as I understand https://github.com/rust-lang/rustc-perf/tree/master/collecto...), others have API servers that respond to HTTP requests done from CI/chat, others have remote GUIs that triggers the runs. I don't think there is a single solution that everyone/most are using.
- [rustc-perf] Runtime benchmarks got finally merged
-
Ask HN: Was programming more interesting when memory usage was a concern?
A lot of effort is spent to reduce the size of structs in the Rust compiler
https://nnethercote.github.io/2023/03/24/how-to-speed-up-the...
3% and 6% of improvement doesn't seem like much, but at the level of rustc those big wins
Performance of Rustc must be continously tracked (here https://perf.rust-lang.org/) because if you don't proactively fight against bloat, the tendency is that the code will become slower over time (due to new features etc)
-
Can Rust's compile time match its runtime performance?
hmm really really hard to answer :'), it's tradeoffs I think, no matter what you think Rust (cmiiw, I'm not qualified to say this) has (and probably in the future will adds more with guards on compiler metrics https://perf.rust-lang.org/) several phases that given the diffs to other language, might not available to any language compiler out there, if it's available I think rustc already did their best in here (some already being parallized etc etc, might be wrong since I can't refs any reference MRs, but it does exists though labels regarding this)
-
How to catch performance regressions in Rust
About a year ago I was looking for a tool like Rust perf for my application code. I did some research and found a lot of prior art. However, nothing checked all the boxes I was looking for, so I built Bencher!
- Rust – Are We Game Yet?
-
Next Rust Compiler
https://www.pingcap.com/blog/rust-compilation-model-calamity... is a good overview. In general it varies depending on the crate but we track the performance at https://perf.rust-lang.org/ - if you look at cargo, for example, over 60% of the time is spent in codegen through LLVM: https://perf.rust-lang.org/detailed-query.html?commit=222d1f...
- Data-driven performance optimization with Rust and Miri
-
Generic associated types to be stable in Rust 1.65
Something like https://perf.rust-lang.org/?
-
This Week in Rust #463
The performance full-report link is dead: https://github.com/rust-lang/rustc-perf/blob/master/triage/2022-10-04.md
What are some alternatives?
bevy - A refreshingly simple data-driven game engine built in Rust
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
wg - Coordination repository of the Game Development Working Group
glTF-Sample-Models - glTF Sample Models
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
rusty-dos - A Rust skeleton for an MS-DOS program for IBM compatibles and the PC-98, including some PC-98-specific functionality
gdextension - Rust bindings for Godot 4 [Moved to: https://github.com/godot-rust/gdext]
RustPython - A Python Interpreter written in Rust
JoltPhysics - A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications.
nanoserde - Serialisation library with zero dependencies
arewegameyet - The repository for https://arewegameyet.rs
Cargo - The Rust package manager