“I don’t just use Go’s scheduler. I wrote my own.”

If you’ve ever written go func() and wondered — “Who’s really in charge here?” — this article is for you.

Today, I’m sharing go-scheduler: a fully custom goroutine scheduler written from scratch — without using the go keyword to launch user tasks.

Yes, you read that right.

No go. No black box. Just pure control.


🔍 Why This Matters

Go’s runtime scheduler (GMP model) is one of the most elegant pieces of systems software ever written. It’s fast, fair, and mostly invisible — and that’s exactly the problem.

We treat goroutines like magic threads. We fire off go func() and trust Go to “do the right thing.”

But what if you don’t want to trust?

What if you need predictable scheduling?

What…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help