freeatlantis.com is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

199
active users

#threading

1 post1 participant1 post today

I’ve been needing something akin to, what I now know to be Java’s ExecutorService, but in my language of choice - D! So I decided to go about it and implement it.

I’ve written it in such a manner such that is is extendable and new providers (job runners, think “pooled threads”, “serial runners” and so on) can be plugged in easily. For the initial proof of concept I created a SequentialProvider which just consumes tasks and executes them on a single thread in serial, next up is the thread pool version which I will get around to soon enough.

It’s really been fun to actually play with meta-programming more in D - I had to this time as I had to be able to make using this library as pleasant as possible as I require it for a project of mine - and I don’t want any hassles.

So there ya go!

https://deavmi.assigned.network/blog/guillotine/

deavmi.assigned.networkGuillotine - A modern executor framework with pluggable backends | Tristan B. Kildaire

Has there been any talk about making threads more organized on Mastodon? Or is this again a question of which server you are on or which app is being used? I’m talking about making it more clear who is responding to who in convos. Maybe also keeping interesting tangential convos organized so they are easier to follow? I’m not a programmer so I’m assuming this may be a challenge. Or it’s easy to do and I’m just clueless 🙂 #newbie question #threading #threads #mastodon #TwitterMigration