Skip to content

Show HN: Libgoc – Go-like CSP-style HTTP client/server library for C

github.com/divs1210
1 pointdivs1210discuss
On HN

Hi! I'm the author of libgoc.

libgoc provides a Go - like runtime in portable C.

It is basically C + GC + threadpools + goroutines + channels + goroutine-aware-mutexes.

It's built on top of:

- Boehm GC

- libuv for async I/O and cross-platform threading primitives

- minicoro for cross-platform coroutines

- picohttp as the HTTP parser for goc_http

The API is stable at this point.

Prebuilt static binaries are available for Linux / Mac / Windows.

I plan to make typesafe C++ / Rust wrappers for this at some point.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.