Skip to content

kabu1204/joblib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ version of python module 'joblib'

Build

CMake

Generate and build:

chmod +x cmake-build.sh
./cmake-build.sh debug  # or release/reldeb

shared libraries and executable files is in cmake-build-debug

xmake

Generate and build:

xmake f -m debug    # or release/reldeb
xmake

shared libraries and executable files is in xmake-build

Parallel/async_stackless

stackless::co: Stackless coroutine

stackless::async_task: Async task with standalone user stack (implemented with assembly). use a root coroutine to create an async_task.

stackless::event_loop: Wrapped by several async_tasks. Switching between stackless::co do not need to switch stack, which is Asymmetric. Switching between stackless::async_task will save the context(necessary registers and stack pointer) and switch to a new stack, which is Symmetrical.

Below shows the flow of main::test_for_co_stkless() eg

About

c++ implementation of joblib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors