1. X
  2. Anton Zhiyanov
Log inSign up
Anton Zhiyanov
2,680 posts
Anton Zhiyanov profile banner
user avatar

Anton Zhiyanov

@ohmypy
Maintainer at github.com/nalgeon. Author at antonz.org
antonz.org
Joined March 2013
38
Following
8,098
Followers
RepliesRepliesMediaMedia
  • Pinned
    user avatar
    Anton Zhiyanov
    @ohmypy
    Mar 21
    Could Go be a better C? I think so! Meet Solod — a strict subset of Go that translates to C, without hidden memory allocations and with source-level interop.
    Image
    Solod: Go can be a better C
    From antonz.org
  • user avatar
    Anton Zhiyanov
    @ohmypy
    6h
    Building a freestanding standard library isn't something you can do in one afternoon, but it's still quite feasible. Here's the approach I used:
    Image
    Going freestanding
    From antonz.org
  • user avatar
    Anton Zhiyanov
    @ohmypy
    Aug 17
    The goroutine leak detector will become generally available in Go 1.27. But did you know you can also use synctest (Go 1.25+) to catch goroutine leaks in tests? See how the two approaches compare:
    Image
    Detecting goroutine leaks with synctest/pprof
    From antonz.org
  • user avatar
    Anton Zhiyanov
    @ohmypy
    Aug 14
    For a systems programming language, it's important to have a decent freestanding mode — not just at the language level, but in the standard library as well. In Solod (a subset of Go that translates to C) most stdlib packages are available as freestanding, ranging from bytes and
    Image
  • user avatar
    Anton Zhiyanov
    @ohmypy
    Aug 13
    Running the full Solod stdlib test suite takes 5 seconds (Clang on macOS). It's not as fast as a Go test suite of roughly the same size, but it's still fast enough to provide useful feedback while making changes. Enabling the address and undefined-behavior sanitizers increases
    Image

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Advertisement
Advertisement