book
nether
book | nether | |
---|---|---|
11 | 9 | |
1,021 | 6 | |
1.3% | - | |
4.8 | 6.2 | |
6 days ago | 9 months ago | |
Rust | ||
Apache License 2.0 | BSD 2-clause "Simplified" License |
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.
book
-
C++ is everywhere, but noone really talks about it. What are people's thoughts?
Are you saying that this book is a hallucination? And this? And all of this?
- What is your favorite IDE?
-
[Serious] Is it possible to get into software engineering role after 10 years? Your advice will be greatly appreciated.
4) C++: it’s often overly complicated for many projects. Use with caution, although it’s definitely useful in very large projects. But there’s a reason Rust is increasingly popular for embedded — here’s an engineer’s view.
- Embedded Startup kits for a C programmer?
-
Could I get some ideas for practice projects? I’m coming from C for embedded applications and I liked many pets of rust especially the efficiency and speed that is similar to C. I want to learn it and I am reading but nothing teaches like doing.
If you come from the embedded C community then maybe something like Phil Oppermann's writing an OS in Rust series. There's also the embedded Rust book and the embedded Rust working group github that has a lot of resources.
- IOT Rust as final project
-
what in the gods name
I genuinely don't know why you would say that and I know you were talking about microcontrollers
-
Getting into systems programming
The rust embedded book: https://docs.rust-embedded.org/book/
-
Ask HN: How to move from traditional tech into game dev?
It’s not a job, but I’m guessing you would like this book: https://docs.rust-embedded.org/book/
-
I want to try migrating my motorized camera slider
There's a page on the Rust website on embedded systems. Given that you are already familiar with embedded programming, you can probably start with the embedded rust book.
nether
-
[Rust]: Need help optimizing a triangle rasterizer
As for what I'm working on, it's nothing special at the moment, but you can see it here.
-
How do I prevent the compiler from optimizing away benchmark code?
I've published the benchmark code just in case someone would like to take a look. Its code is a hammered version of the original code, so you are likely to find things that don't make a lot of sense in the benchmark version, like my use of atomics which are there to allow multiple iterators to coexist and work in parallel.
-
Are multiple copies of a mutable pointer to a shared region of memory always considered undefined behavior?
I've been rewriting both the math and rasterization code that I'm using in this project for quite some time, because the original (published) code is very naive and slow, consuming 9% of CPU time of the 4 Raspberry Pi cores at 1800MHz to display a single perspective-correct triangle on the screen at 60fps. The problem is that, while rewriting the code, I noticed that my new version will not work with my work-stealing async executor because I require tasks to have the Send trait, and just like in the original code, I'm sharing a mutable frame buffer between all the tasks which is accessed through a mutable pointer, a problem which I accidentally worked around by implementing the Send and Sync traits for the video driver's type which wraps the pointer, potentially hiding undefined behavior in the process.
-
[AArch64/RPI4]: Unexpected low cache performance
I'm working on a bare metal project for the Raspberry Pi 4 that is not exactly an operating system but has a lot in common with a traditional kernel. At the moment this project is nothing more than a graphics library stub and is already pretty slow, so following advice that I got on the Raspberry Pi forums I benchmarked it and was negatively impressed by the numbers, especially the fill rate numbers, where I didn't expect any problems since that's just writing to a small tile in memory and at least in theory I should be hitting the L1 cache all the time.
-
Could I get some ideas for practice projects? I’m coming from C for embedded applications and I liked many pets of rust especially the efficiency and speed that is similar to C. I want to learn it and I am reading but nothing teaches like doing.
I'm trying to build a bare metal game completely from scratch and without third-party crates on a Raspberry Pi, which although not a perfect platform because many things aren't properly documented, is good enough for me since at least when the documentation falters there's always the officially supported Linux kernel to source information from. If I was starting today I'd just be building a kernel though, because I'm not sure I'll be able to complete this project for performance reasons, but I'm still enjoying the challenge of squeezing out as much performance as I can out of the Pi.
-
Anyone else make games for raspberry pi?
I'm actually trying to make a bare metal game for the Pi 4 from scratch without acceleration. I'm not sure I'm going to succeed considering that ARMv8A doesn't have vectorized floating point or even commodities like non-vectorized floating point modulo or trigonometric functions, but on the other hand people made full 3D games with no acceleration targeting 100MHz Pentium machines, so if I fail that's going to be because I'm not good enough for this. So far I'm successfully rendering at 60fps at the official touchscreen's standard resolution, but that's just a single perspective correct untextured triangle without any lighting applied to it.
-
How is everyone doing?
Feeling quite accomplished at the moment, since I've just finished pushing to GitHub an initial implementation of a 3D graphics renderer as part of a very ambitious personal project despite my total blindness, when half a decade ago I never even thought I was capable of coding blind.
-
Let's inspire others
A public version of this project is available on GitHub, though that's missing the math library, graphics renderer, and scene tree that I've been working on for the last month, a huge commit that will essentially double the number of lines of code of the project as it lays the foundation for building the game engine.
-
[Math]: Can anyone help a blind guy learn matrix inversion using the LU decomposition method?
I'm building a very ambitious and equally useless project because I have nothing else to do. My project is a mix of a kind of operating system kernel, game engine, and ultimately a game itself targeting a bare metal Raspberry Pi 4. The kernel part is pretty much done, with only an audio driver missing, so now I'm working on a huge milestone which will be adding some gesture recognizers (already implemented in my local repository), building a simple 3D software renderer (working on it now), implementing a basic 3D scene tree (to be done), and laying the foundation for an Entity Component System architecture (also to be done). Since part of the reason why I'm doing this is learning, I'm implementing everything from scratch in Rust and assembly without any third-party code, so please do not suggest using libraries.
What are some alternatives?
dnsguide - A guide to writing a DNS Server from scratch in Rust
Unofficial-Godot-Engine-Raspberry-Pi - Unofficial Godot Engine binaries for the Raspberry Pi.
awesome-embedded-rust - Curated list of resources for Embedded and Low-level development in the Rust programming language
love - LÖVE is an awesome 2D game framework for Lua.
mega65-core - MEGA65 FPGA core
GameDemo - A multiplayer card game based on the mini-game Triple Triad from FF8.
openqnx - mirror of git://git.code.sf.net/p/monartis/openqnx
nether-gfx
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
frt - A Godot "platform" targeting single board computers.
this-week-in-rust - Data for this-week-in-rust.org
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!