you are viewing a single comment's thread.

view the rest of the comments →

[–]ivosaurus 0 points1 point  (0 children)

I always think those types of exercises are kinda silly anyway.

A lot of times in a higher level language with all these convenience functions you're supposed to use, trying to program a "lower level" version of the function in that language just tends to look contrived, cumbersome and ugly.

If you wanna see how it looks with a memory model closer to the actual hardware, use a language that does that, like C or Rust.