this post was submitted on 04 Mar 2025
35 points (100.0% liked)

Programming

18539 readers
471 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

I'm curious what kind of project you are working on? I'm working on a procedural terrain generation open world game! Now it's your turn to tell me!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 18 hours ago* (last edited 18 hours ago)

It means that I made changes to code, so that it can work with any multi-threading strategy. G'MIC is a interpretative language with JIT support, and you don't have any control over automated multi-threading strategy. It can be thread 0 to thread N linearly, or even interleaved. So, the workaround is to make a image of size equal to cpus count, and do the multithreading there.

Yeah, I love image processing, I worked on it for 8+ years now.