• 0 Posts
  • 114 Comments
Joined 1 year ago
cake
Cake day: April 9th, 2024

help-circle
  • I have read papers for my bachelor’s thesis that compared rust and c on x86-64 in terms of performance. It showed that C is a little or significantly faster, depending on the type of workload.

    This is likely due to some runtime checks the rust compiler adds, and modified rust compilers that added less runtime checks led to about the same performance.

    However, the performance is still very good for both languages (native machine code being executed), and in the same order of magnitude.

    My own measurements for the armv6m architecture with an STM-32 showed that rust may even be faster in some cases, since the optimizing of the rust compiler was better, at least for that setup and for the CRC-32 algorithm.

















  • I have a lot of projects, many OSS and some private. I self host forgejo for my private stuff and also have a lot of my oss there.

    Still, I currently use GitHub as my main git service, since it’s the most polished code forge and their ci servers are free and fast as fuck. The only other thing keeping me there is the network effect in the sense that I like my projects to be more discoverable, not that anyone gives a shit about my code besides a few friends and randos.

    If they get annoying, it’s trivial to move. I got the infrastructure set up, and forgejo federation is coming.