Christian Hergert is a user on You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@hergertme What were the issues with running plugins in separate threads? Won't they block the UI or something else important on the main thread?

@YaLTeR We still use threads, but it's about where the API boundaries are placed. If you create and run plugins in threads, they 100% of code needs to be thread-safe.

If, instead, you create and call plugin API only from the main thread, then each plugin can determine where to thread and how to share state.

@hergertme oh, no! Looking educated! The lies he tells with his eyes! 😆

Welcome to the old folks club!