I'm putting a talk together about #programming Mandelbrot image generator with insight into profiling and optimisation. Main part will be normal optimisations, #simd, #multithreading, and possibly gpu acceleration.

I'll also show micro benchmarking, hotspot/perf, intel advisor, and also inspecting assembly code.

Any other interesting bits I should look into putting into my talk?

#cpp #cplusplus

Async to run background function or task in C# Tip #40 Using async and Task in C# to run a background function while the main method continues executing a counter until the background task completes. #CSharp #AsyncAwait #Multithreading #Task #DotNet #BackgroundProcessing
Multithreading in JavaScript with Web Workers

JavaScript is single-threaded, but did you know you can simulate multithreading in JavaScript? Learn how to use web workers to perform operations in parallel.

Honeybadger Developer Blog
Mettiamo a confronto varie tecniche di programmazione per scoprire qual è la più performante. Il classico algoritmo che approssima Pi greco con il metodo di Montecarlo viene implementato con un singolo thread, con le SIMD AVX2, multithreaded sulla CPU e, poi, su una GPU Nvidia sfuttando CUDA. Quali performance otterremo? #clanguage #cuda #multithreading #mandelbrot #cplusplus #visualstudio #programming https://www.youtube.com/watch?v=NyaGaUeDckM
Calcolo Parallelo in C++ / Programmazione

YouTube
Vediamo le funzionalità del Fortran introdotte nel 2008, con i CoArray, e nel 2018 per scoprire come si possono sfruttare tutti i core delle nostre CPU abbreviando i tempi di calcoli scientifici complessi. #fortran #parallelcomputing #multithreading
https://www.youtube.com/watch?v=78_12a89MWQ
Il Fortran e il multithreading / Programmazione

YouTube
GitHub - MayankPratap/Samchika: A fast and light-weight multithreaded file processing library for Java.

A fast and light-weight multithreaded file processing library for Java. - GitHub - MayankPratap/Samchika: A fast and light-weight multithreaded file processing library for Java.

GitHub
Advanced Java Multithreading Patterns for High-Performance Applications

Learn advanced Java multithreading techniques to build high-performance applications. Discover executor services, CompletableFuture, Fork/Join framework, and concurrent collections for efficient resource utilization and responsiveness. #JavaConcurrency

DEV Community
☠️ Oh joy, yet another tale of how #SQLite3 becomes a sardine can when you try to cram in #multitenancy with Rails! 🐟 Apparently, the author's groundbreaking revelation is that ignoring #multithreading makes your app collapse faster than my interest in reading this. 🚀
https://blog.julik.nl/2025/04/a-can-of-shardines #Rails #Issues #SardineCan #HackerNews #ngated
A Can of Shardines: SQLite Multitenancy With Rails

There is a pattern I am very fond of - “one database per tenant” in web applications with multiple, isolated users. Recently, I needed to fix an application I had for a long time where this database-per-tenant multitenancy utterly broke down, because I was doing connection management wrong. Which begat the question: how do you even approach doing it right? And it turns out I was not alone in this. The most popular gem for multitenancy - Apartment - which I have even used in my failed startup back in the day - has the issue too. The culprit of does not handle multithreading very well is actually deeper. Way deeper. Doing runtime-defined multiple databases with Rails has only recently become less haphazard, and there are no tools either via gems or built-in that facilitate these flows. It has also accrued a ton of complexity, and also changes with every major Rails revision. TL;DR If you need to do database-per-tenant multitenancy with Rails or ActiveRecord right now - grab the middleware from this gist and move on. If you are curious about the genesis of this solution, strap in - we are going on a tour of a sizeable problem, and of an API of stature - the ActiveRecord connection management. Read on and join me on the ride! Many thanks to Kir Shatrov and Stephen Margheim for their help in this.

Julik Tarkhanov

#StructuredConcurrency brings order to the chaos of concurrent code. But the current #API may not survive. @ronveen reviews what works, what’s fragile - and what’s next. Is your concurrency model future-proof?

Read: https://javapro.io/2025/04/18/structured-concurrency/

#Multithreading #ProjectLoom @openjdk

Structured concurrency - JAVAPRO International

Structured Concurrency was the second delivery that came out of Project Loom. It was first introduced in Java…

JAVAPRO International

Java exception of the day: FileAlreadyExistsException on

Files.copy(body, requestedFile, StandardCopyOption.REPLACE_EXISTING);

🤷 It is not as weird if we take into account multiple threads. From the JDK code of Files.copy after deleting the requestedFile first:

} catch (FileAlreadyExistsException x) {
... other stuff deleted ...
// someone else won the race and created the file
throw x;
}

#Java #programming #multithreading