Skip to content

feature/process pool executor support#1328

Open
antlobach wants to merge 2 commits intobasilisp-lang:mainfrom
antlobach:feature/process-pool-executor-support
Open

feature/process pool executor support#1328
antlobach wants to merge 2 commits intobasilisp-lang:mainfrom
antlobach:feature/process-pool-executor-support

Conversation

@antlobach
Copy link
Copy Markdown

With the help of Claude code and Codex, I've managed to implemented support for ProcessPoolExecutor using cloudpickle. It passes all tests locally on Python 3.14, but I wasn’t able to run tests on other Python versions.

I asked Codex to write a detailed overview of the implementation, which is in dev-notes/process-pool-executor-support.md

Please feel free to reject this if it’s not a fit, but I thought it might be of interest to review.

Implemented ProcessPoolExecutor support with cloudpickle-based serialization so Basilisp futures can run in subprocesses, including closures and dynamic bindings. Added robust handling for low FD limits and lifecycle cleanup to avoid 'too many open files' errors, and ensured pools created via binding shut down automatically to prevent resource leaks.

Also added a clean-cache Makefile target and expanded .gitignore for editor/temp files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant