Hybrid Go/C scheduler with real OS threads, queues, and channels for running Go tasks concurrently
About this project
tunkI tunkI is a high-performance, experimental task scheduler that bridges the gap between Go's high-level abstractions and C's raw execution power. It allows you to offload Go functions to a pool of real OS threads (pthreads) managed in C, providing a unique environment for exploring custom scheduling, cross-language parallelism, and low-level runtime mechanics. 🚀 Why tunkI? While Go's standard goroutine model is incredibly efficient, it abstracts away many OS-level details. tunkI is designed for developers who want to: Offload work to real OS threads: Bypass the internal Go scheduler for specialized workloads. Experiment with C-orchestrated parallelism: Use pthreads directly for task execution. Understand the Go-C bridge: Learn how to safely pass data and functions between memory-managed and raw memory environments. 🏗️ Architecture tunkI uses a hybrid architecture: Go Layer: Handles task definition, scheduling logic, and high-level interface. C Layer: Implements a thread-safe circular task queue, worker thread pools (pthreads), and low-level synchronization primitives.
From the project README on
GitHub
- Stars
- 20
- Forks
- 0
- Last push
- 26 Feb 2026
Add this badge to your README
Show that your project is listed on Made in Algeria.
[](https://www.madeinalgeria.dev/projects/tunki)