I ported my solver to Swift some time ago and refactored it in the last few days. Now I want to implement a reasonable threading, so that you can use several cores and solve a cipher in parallel (for my solver written in C# I have realized this already). Unfortunately I find almost exclusively the GCD concept (Grand Central Dispatch) regarding Swift and parallel programming. This doesn’t really help to move solver instances to different cores. It would be even more ideal to outsource the whole thing to the GPU. But I don’t have any experience with this yet.
Why do I post this in this forum and not on stackoverflow or a general Swift forum? Well, I hope that people who develop in Swift and understand the concept of how nGram-based solvers work will read this. In this case we could work on it together (with github or something like that).
Is there anyone who has perhaps only read passively so far and is interested in making a pretty good solver even better?
Translated with www.DeepL.com/Translator