We're partnering with @84codes to improve Crystal's concurrency model for multi-threading. This is going to be a lengthy process, but it's already bearing some early fruits.
#CrystalLang #Multithreading
Leslie Lamport, of LaTeX fame, is a very accomplished mathematician and computer scientist with a Turing award for his work on “fundamental contributions to the theory and
practice of distributed and concurrent systems”. He just published a draft of his new book:
"A science of concurrent programs"
https://lamport.azurewebsites.net/tla/science.pdf
True to his pedagogic approach to everything he does, "The book assumes only that you know the math one learns before entering a university." Even the appendices are fantastic. Can only wish I'll remain this lucid at his 82 years old.
making fresh #Introduction since I've been on Mastodon a year & tons of new folks have joined since
I'm a #programmer
for many decades
fave lang now is #Golang but also strong in & willing to work in #C #Java or #Python and ideally on #Linux or another #UNIX like
strengths/interests:
#parallelism #concurrency & #multithreading
#distributed systems
solving legacy #Heisenbugs
R&D. #innovation
tech #leadership, esp for small teams or startups
At what point does setting more threads for OpenBLAS actually help?
For example, I have an SVD operation in #RStats on largish matrices (6000 rows and 6000 columns; doing an inverse), where default BLAS on Ubuntu is ~ 20 min.
OpenBLAS with 1 or 4 threads takes ~ 2 min (10X speedup!). With 4 threads, I can see the additional usage of cores, but overall time is the same as 1 thread.
Is there some magic size where using more threads for SVD will actually help?
Hmmm... I'm trying to implement multithreaded software rendering but no matter how many threads I throw at it, the result is always the same... why?
Concurency Profiler shows there is no redundancy or blocking, and they're all render their proper share of sprites.
Help!
Processes, Threads, and… Fibers? - You’ve probably heard of multithreaded programs where a single process can have mu... - https://hackaday.com/2023/09/25/processes-threads-and-fibers/ #softwaredevelopment #multithreading #windows #fibers #c