Post #1957359
2026-05-03 18:52 UTC
Replies (4)
-
@arabine@piaille.fr 2026-05-03 20:12
@thejpster I stopped when they have indicated that the C version used heap because of a JSON library.
-
@luc0x61@mastodon.gamedev.place 2026-05-03 20:27
@thejpster Following any safety standard, and good sense elsewhere in embedded, nobody uses heap allocation in C.
-
@hyc@mastodon.social 2026-05-03 20:44
@thejpster pro tip: always link to the abstract, not the pdf, so that you get useful previews of the paper. https://arxiv.org/abs/2604.25679 Anyone interested can always get the pdf from the abstract page.
-
@jenesuispersonne@piaille.fr 2026-05-06 20:44
@thejpster@hachyderm.io Well I just get a graph from the PDF. And your affirmation looks.. weak. Rust take 10% more disk space: ok. Rust take 10% more RAM because not using heap may by more correct. Also, in paper they express the work done on optimizing rust binaries (that can be seen in the graph too). I'm quite sure if they did the same amount of work on C binaries to reduce heap usage, there will be no difference in RAM usage and much less heap peak consumption, putting the 2 solutions in the same ballpark.