libretro-common icon indicating copy to clipboard operation
libretro-common copied to clipboard

Libco alternatives.

Open ghost opened this issue 6 years ago • 3 comments

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.

ghost avatar Dec 01 '18 07:12 ghost

One of the SNES Mini guys says he has some homegrown better-than-libco cothread library, as well, which I am skeptical about, but it would be good to try the Tencent one and libaco, at least, I would think.

hizzlekizzle avatar Dec 01 '18 15:12 hizzlekizzle

I'm fine with libco alternatives being available in libretro-common.

inactive123 avatar Dec 01 '18 15:12 inactive123

One of the SNES Mini guys says he has some homegrown better-than-libco cothread library

I'd like to see some proof about that.

ghost avatar Dec 01 '18 17:12 ghost