~dokomix/dokomix/+git/taisei-koishi:emscripten-fibers-alt

Last commit made on 2019-12-10
Get this branch:
git clone -b emscripten-fibers-alt https://git.launchpad.net/~dokomix/dokomix/+git/taisei-koishi

Branch merges

Branch information

Name:
emscripten-fibers-alt
Repository:
lp:~dokomix/dokomix/+git/taisei-koishi

Recent commits

15017b4... by Andrei Alexeyev <email address hidden>

compat with emscripten fibers-alt branch

8666f45... by Andrei Alexeyev <email address hidden>

Reimplement emscripten backend on top of new fibers API

See emscripten-core/emscripten#9859

ed4c440... by Andrei Alexeyev <email address hidden>

Refine koishi_kill interface and semantics

24371f6... by Andrei Alexeyev <email address hidden>

unbreak fcontext

b16c82f... by Andrei Alexeyev <email address hidden>

Add Asyncify backend for emscripten (#1)

Unlike the 'emscripten' backend, this one doesn't use the emscripten
coroutines API (which is currently broken) and instead implements a
minimal context-switching "fiber" API as a JS library on top of
Asyncify. See emscripten-core/emscripten#8979 for more details.

`_koishi_impl_fiber_swap` must be manually added to `ASYNCIFY_IMPORTS`
by the user of the library, because emcc does not provide a way to
append to the imports array without completely overwriting it yet.

ed7a5c3... by Andrei Alexeyev <email address hidden>

fix warnings

70f0768... by Andrei Alexeyev <email address hidden>

Refactor and generalize the "fiber-like" backends

01ed9eb... by Andrei Alexeyev <email address hidden>

cleanup ucontext

edab4d5... by Andrei Alexeyev <email address hidden>

add a basic benchmark

cd0ebc4... by Andrei Alexeyev <email address hidden>

ucontext: fix missing jump after entrypoint returns