PlexSheep

joined 2 years ago
[–] PlexSheep 4 points 2 weeks ago

Its one of the two hard problems of computer science after all

[–] PlexSheep 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I found the study: https://doi.org/10.1145/3551349.3559494

It's open access, short, and really well written. Was a primary source of my bachelor's thesis.

Figure 2 for the lazy people:

The results of this study suggest that rust programs can be a bit slower, or nearly match the performance of C programs on x86-64, and that the runtime checks play a big role in this dynamic.

[–] PlexSheep 1 points 2 weeks ago

It's things like out of bounds checking. I'll go look for the paper and make another reply.

[–] PlexSheep 5 points 2 weeks ago (4 children)

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.

[–] PlexSheep 2 points 2 weeks ago (1 children)

Maybe not that. But the silent generation onwards.

[–] PlexSheep 2 points 2 weeks ago (9 children)

Those generations are common like that at least in Germany too. It's not as specific as you think. And even if it was then it's made up regardless so who cares. It's a useful concept.

[–] PlexSheep 7 points 2 weeks ago

This is true, but still: Ukraine is losing ground and we, the NATO member states and Europe, don't do enough to help them defend themselves and us by extension.

[–] PlexSheep 4 points 2 weeks ago
[–] PlexSheep 2 points 2 weeks ago (2 children)
[–] PlexSheep 2 points 3 weeks ago (1 children)

I think calling trumpists just right wing is an insult to sane right leaning people around the world.

[–] PlexSheep 6 points 3 weeks ago (4 children)

Nah just use Unix time

[–] PlexSheep 1 points 3 weeks ago
view more: ‹ prev next ›