Nachiappan KumarappanforDev Chroniclesdev-chronicle.hashnode.dev·Apr 18, 2024Tasks - more efficient that threadOverview of thread Drawback of threads We had seen that threads provide a way execute code parallelly. When we execute blocks of code using thread, there is some work done for creation of the thread and deletion of the thread by the OS. This work don...DiscussThreads - Tasks - Async/Awaittask
Nachiappan KumarappanforDev Chroniclesdev-chronicle.hashnode.dev·Apr 18, 2024Multi-threading with C# examplesWhat is thread? Program blocks are made of bunch of statements. These statements inside the program blocks are executed generally one after the other. With threads it is possible to execute 2 or more program blocks parallelly. As a programmer, it's i...DiscussThreads - Tasks - Async/AwaitThreads
Brett Rowberrybrettrowberry.com·Apr 17, 2024Concurrency and ParallelismI've been reading the 20th Anniversary Edition of the Pragmatic Programmer by Dave Thomas and Andy Hunt. Chapter 6 is on concurrency. Their definitions of concurrency and parallelism weren't new information, but I wouldn't have been able to state the...Discussparallelism
Amodamodmathapati.hashnode.dev·Apr 8, 2024Maximizing Performance with Node.js ThreadsWe all hav heard that Node.js is known for its single-threaded, asynchronous programming model but is this true? Lets dive into that deeper! Traditionally, Node.js has been single-threaded, meaning it operates on a single process. While this design i...DiscussNode.js
Harshith Sai Vblog.harshithsai.tech·Apr 4, 2024Thread Group in JAVATasks are a logical unit of work, we use threads so that these tasks can run asynchronously. We know that there are two policies for executing a particular task using threads- execute them sequentially in a single thread and execute each task in its ...DiscussJava
Kate Brownkateeliza29.hashnode.dev·Mar 23, 2024Optimise your Code! Multithreading in C#What is it? Multithreading is using separate threads to complete separate tasks. If you go too far down the ‘what is a thread’ rabbit hole, it all gets a bit philosophical, so as a basic definition, a thread is part of your program that can be execut...Discussmultithreading
Jyotiprakash Mishrablog.jyotiprakash.org·Mar 15, 2024Multithreading and SynchronizationA thread, often considered the smallest unit of processing that can be scheduled by an operating system, is a component of a process. Multiple threads can exist within the same process, sharing certain resources while operating independently in execu...Discuss·445 readsoperating system
Aahlad Kethineediaahlad-kethineedi.hashnode.dev·Feb 24, 2024Navigating Kotlin's "suspend" and "runBlocking": A Cautionary Tale.Similar to threads in Java, Kotlin uses coroutines to run the tasks in the background. In Kotlin, you can use coroutines in few predefined methods like : runBlocking launch suspend coroutineScope async Based on each keyword the usage and imple...DiscussKotlin
Rafal Jackiewiczjackiewicz.hashnode.dev·Feb 22, 2024The Evolution of Programming Languages: A Time-Traveling Tale of Syntax and SemanticsAh, programming languages, the magical incantations of our time, weaving the very fabric of the digital world we live in. Imagine, if you will, a world without them. A bleak, desolate landscape where humans and machines sit awkwardly at a table, unab...DiscussCodeCrafting
Sajal Raj Gautamblog.sajalrg.com·Feb 22, 2024Internals of HandlerThread in AndroidIn previous parts, we've delved into Handler, Looper and Message, understanding their roles in enabling code execution within a specified thread and facilitating safe communication between threads. The HandlerThread class combines these concepts, sim...Discuss·36 readsMultiThreading In AndroidAndroid