Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Lobste.rsEnglish · 5 hours ago

Understand the Temporary Allocator; Understand arenas

zylinski.se

external-link
message-square
0
fedilink
2
external-link

Understand the Temporary Allocator; Understand arenas

zylinski.se

RSS BotMB to Lobste.rsEnglish · 5 hours ago
message-square
0
fedilink
Odin is a manually memory managed language. Beginners of such languages are often afraid of memory leaks, meaning that you forget to deallocate memory. The first remedy for this is to use the tracking allocator. It will warn you about memory you forgot to deallocate. Nifty! But you can also think along these lines: Can I simplify things a bit, so I don’t have to think about the deallocation? What you can do is to try to use the temporary allocator whenever possible.

Comments

alert-triangle
You must log in or register to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 19 users / day
  • 87 users / week
  • 375 users / month
  • 1.25K users / 6 months
  • 2 local subscribers
  • 245 subscribers
  • 7.29K Posts
  • 357 Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org