ZigTea GC Allocator (opens in new tab)

What’s cool we can make in a language with manual memory management? Of course a GC, never let ’em know your next move! As a big fan of Go, I really like the new GC called “Green Tea”. Inspired by ideas from that GC and some C allocators I’ve seen before, I made a simple allocator with a GC for Zig. It’s no code blocks in the post, link for the complete project is at the end.

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help