libretro / libretro/libretro-common

Libco alternatives.

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

Nobody has claimed this yet.

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

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.

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.