Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Libco alternatives.

Open
#97 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c

Research direction

Start by comparing libaco, Tencent's libco v1.0, and hev-task-system against the existing libco usage in the repository. Profile the alternatives in the bsnes-mercury context, including the stated MMX/SSE/AVX preservation behavior, and document whether one should replace the current implementation.

Written by the indexing model from the issue text.

Description

I found a potential replacement for libco though I am not 100% sure as to the veracity of its claims:
https://github.com/hnes/libaco
Also found another library by Tencent:
https://github.com/Tencent/libco/tree/v1.0
and this:
https://github.com/heiher/hev-task-system

libaco claims to be the fastest cothread library, while also having support for saving/restoring MMX/SSE/AVX state on x86/x64, which iirc byuu's libco doesn't have. The changes compared to libco on resulting cores haven't been profiled, though personally I am quite intrigued in seeing if on bsnes-mercury it helps, if even minutely.

Dominant language
C
Stars
180
Forks
99
Avg merge
7h 16m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libretro/libretro-common

All issues in libretro/libretro-common

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.