Worker Threads in Node.js: A Complete Guide for Multithreading in JavaScript, by @nodesource.bsky.social:
https://nodesource.com/blog/worker-threads-nodejs-multithreading-in-javascript
Worker Threads in Node.js: A Complete Guide for Multithreading in JavaScript, by @nodesource.bsky.social:
https://nodesource.com/blog/worker-threads-nodejs-multithreading-in-javascript
Как обобрать дерево в несколько потоков?
Всем привет, меня зовут Антон, я Java‑разработчик в Сбере, подразделение SberWorks. Я разрабатываю Giga IDE — новую IDE на основе IntelliJ IDEA. В ходе работы столкнулся с тем, что при открытии проектов происходит сканирование всех папок для поиска тех или иных файлов. Если обобщить, то задача сводится к обходу дерева. Я решил подробнее рассмотреть эту тему, причём с прицелом на многопоточность. Задача обхода деревьев далеко не нова, существуют два основных подхода: обход в ширину и глубину. В первом случае удобно применять рекурсивный алгоритм, а во втором — понадобится дополнительная коллекция, в которую будут складываться узлы дерева, но всё это в один поток, а я решил рассмотреть эту задачу в многопоточной интерпретации.
https://habr.com/ru/companies/sberbank/articles/921528/
#java #обход_дерева #multithreading #forkjoinpool #forkjointask #performance #производительность
Position: Freelance Trainer – Advanced C++
Location: Remote | Duration: Project-Based / Part-Time
Experience: 10+ years in C++ development and software architecture
📩 Email: amritk1@overturerede.com
📞 Call/WhatsApp: +91 9289118667
Apply NOW to train the next generation of expert C++ developers! ⚙️💡
🔖 #CPPTraining #AdvancedCPlusPlus #HiringNow #FreelanceTrainer #RemoteTraining #TechJobs #ModernCpp #SystemProgramming #Multithreading
Link: https://mediatum.ub.tum.de/?id=601795 (It took digging to find this from the Wikipedia article [1] and the unsecured HTTP homepage for "BMDFM".)
```bibtex
@phdthesis{dissertation,
author = {Pochayevets, Oleksandr},
title = {BMDFM: A Hybrid Dataflow Runtime Parallelization Environment for Shared Memory Multiprocessors},
year = {2006},
school = {Technische Universität München},
pages = {170},
language = {en},
abstract = {To complement existing compiler-optimization methods we propose a programming model and a runtime system called BMDFM (Binary Modular DataFlow Machine), a novel hybrid parallel environment for SMP (Shared Memory Symmetric Multiprocessors), that creates a data-dependence graph and exploits parallelism of user application programs at run time. This thesis describes the design and provides a detailed analysis of BMDFM, which uses a dataflow runtime engine instead of a plain fork-join runtime library, thus providing transparent dataflow semantics on the top virtual machine level. Our hybrid approach eliminates disadvantages of the parallelization at compile-time, the directive based paradigm and the dataflow computational model. BMDFM is portable and is already implemented on a set of available SMP platforms. The transparent dataflow paradigm does not require parallelization and synchronization directives. The BMDFM runtime system shields the end-users from these details.},
keywords = {Parallel computing;Shared memory multiprocessors;Dataflow;Automatic Parallelization},
note = {},
url = {https://mediatum.ub.tum.de/601795},
}
```
[1]: https://en.wikipedia.org/wiki/Binary_Modular_Dataflow_Machine
#SMP #Parallelization #Multithreading #DependenceGraph #RunTime #DataFlow #VirtualMachine #VM #ParallelComputing #SharedMemoryMultiprocessors #AutomaticParallelization #CrossPlatform #Virtualization #Configware #Transputer
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?
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, by @honeybadger:
https://www.honeybadger.io/blog/javascript-web-workers-multithreading/
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
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
Samchika – A Java Library for Fast, Multithreaded File Processing
https://github.com/MayankPratap/Samchika
#HackerNews #Java #Multithreading #FileProcessing #Samchika #Library #OpenSource #TechNews
Advanced Java Multithreading Patterns for High-Performance Applications
☠️ 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
#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?
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;
}
Параллельный цикл на worker. Многопоточность JS
Как применить worker для ускорения параллельных вычислений на JS. Постарался подробно и понятно разобрать как работают worker, как общаться с ними. Показал пример многопоточного вычисления значений массива и сравнил производительность различных методов обработки массивов.
Fixed cancelling a thread job in #poser's #threadpool. Using a semaphore to do this seems reliable 😎
Oh my. #Multithreading, #synchronization, async #Unix #signals, this is pure "fun" ... 🙈
https://github.com/Zirias/poser/commit/aa4e02b728a549f0e3c4687750b90749d48fcfdc
🚀 Hold on to your single-threaded hats, folks! This article serves a piping-hot cup of "multithreading is the worst" ☕, with a side of Node.js bashing for flavor. Who needs parallel processing 🤖 when you can be blissfully ignorant of how #CPUs actually work? 🙃
https://unetworkingab.medium.com/multi-threading-is-always-the-wrong-design-a227be57f107 #multithreading #Nodejs #softwaredevelopment #programming #HackerNews #ngated
Multi-threading is always the wrong design
https://unetworkingab.medium.com/multi-threading-is-always-the-wrong-design-a227be57f107
#HackerNews #MultiThreading #Design #WrongDesign #SoftwareEngineering #Programming #BestPractices
Exploring Ruby Ractors – I paid for for 10 cores I'm gonna use 10 cores
https://jpterry.com/posts/2025/03/exploring-ruby-ractors/
#HackerNews #ExploringRubyRactors #RubyCores #Multithreading #PerformanceOptimization #HackerNews
The case of the critical section that let multiple threads enter a block of code
https://devblogs.microsoft.com/oldnewthing/20250321-00/?p=110984
#HackerNews #criticalsection #multithreading #concurrency #coding #bestpractices #devblogs