1,020 karma · joined November 4, 2019
I wonder how's the performance vs. C (for both, C# and Rust).
Edit: It's my understanding that the 6502 is extremely stack-limited, so a well-versed assembler would use the stack very little and allocate mostly on the heap. In C, you can replicate this with global variables, and I believe (and I would be very happy if someone related to the 6502 rust port could chime in here) on Rust you can do the same with `static mut` on Rust 2021 and `Unsafecell` on Rust 2024.
Yeah, I don't think so
I wonder what are the applications for which that statement is true. So far I've found nothing apart from obscure/proprietary architectures for which Rust doesn't have a compiler (and that's not a problem of the language itself)
I ask becasue I wonder what's the real culprit here and whether it can be solved or if it's due to the language.
> C mostly doesn't suffer from this problem though, since C header typically are only a couple dozen or hundred lines of API declarations.
But then, there's no reason why Rust couldn't be like C. The issue comes from the dependencies and libraries bundled, which is not an issue per se of the language.
What do you mean exactly here?
And why is the std_library less performant than, let's say, C's counterpart?
The main advantage of APUs would be the costs (theoretically). If it ends up being 95% of the cost of a more traditional architecture, what would be the point?