Rahul SinghforVoltry8bitstar.hashnode.net·Nov 6, 2020Python's Multithreading dream trueSuppose you're writing some CPU-intensive Python code and really trying to find ways out of single-threaded prison. Introduction At this moment, you might be using forked processes with multiprocessing or Numba's nopython parallel, or writing own CPy...Discuss·67 likes·52 readsmultithreading
Mike Alfafor@alphamiklealphamikle.hashnode.net·Mar 15, 2021Why should you use isolates in Flutter?There are many ways to manage state in Flutter, but most of them are built in such a way that all the logic is executed in the main isolate of your application. Execution of network requests, working with WebSocket, potentially heavy synchronous oper...Discuss·47 likes·2.6K readsFlutter
Fayemi BoluwatifeforBovage's Blogbovage.hashnode.net·May 10, 2022What Exactly is Multithreading?Overview Multithreading is an important concept in Computer Architecture and Programming. It is one of the most common processing techniques used to increase the amount of processes that the computer can perform in a given period of time and to incre...Discuss·43 likes·1.1K readsMultitasking in ProgrammingTHW Web Apps
Amit kumarforEmbracing Tech Evolutiontechthoughtsexplorer.hashnode.net·Apr 16, 2023Mastering Multithreading in Java for Enhanced PerformanceIntroduction to Multithreading Multithreading is a powerful concept in computer programming that allows multiple threads of execution to run concurrently within a single program. This can significantly improve the performance of applications, as thre...Discuss·1 likeJava Uncovered: Exploring the Infinite PossibilitiesJava
Karl BolingerforKode Khronicleskbolinger.hashnode.net·Apr 13, 2023Common Challenges and Solutions with Python ProgrammingPython is an incredibly powerful, popular, and versatile programming language. It's used for everything from web development and data science to machine learning and automation. Despite its many benefits, however, programmers may encounter certain ch...DiscussPython
Stan ShforMaki Sushimakisushi.hashnode.net·Apr 13, 2023Understanding and preventing race conditons in RubyRace conditions are a common issue in concurrent programming that can lead to unexpected behavior and bugs in applications. In this article, we will explore race conditions in Ruby, illustrate them with code samples, and discuss techniques to prevent...DiscussRuby
Bikash MainaliforBikash Mainalibikash8848.hashnode.net·Apr 9, 2023shutdownHook() in JavaA common real-life example of a shutdown hook in Java is when a server application needs to gracefully shut down and release resources when it receives a signal to terminate. For instance, let's say a web server application is running and listening f...Discussmultithreading
Bikash MainaliforBikash Mainalibikash8848.hashnode.net·Apr 9, 2023Types of thread poolFixedThreadPool: uses a blocking queue to store tasks CachedThreadPool: uses a synchronous queue of size 1 ScheduledThreadPool: uses a delay queue SingleThreadedExecuter (sequential execution of tasks): uses a blocking queue. The size of the...Discussmultithreading
Nayan Dasformrpalindrome.hashnode.net·Apr 8, 2023Multithreading to Memory leak! Why?Everything has its own pros and cons! Even your favourite programming language like Python. One of the most known features of Python is GIL which stands for "Global Interpreter Lock". It is a mechanism that is used in the CPython interpreter to synch...Discuss·39 readsPython
Shai AlmogforDebugging, Java, JVM and Open Sourcecodenameone.hashnode.net·Apr 4, 2023Relearning Java Thread PrimitivesI’ve coded in Java since the first beta, even back then threads were at the top of my list of favorite features. Java was the first language to introduce thread support in the language itself, it was a controversial decision back then. In the past de...Discuss·26 likes·277 readsmultithreading
Ritu ThakurforRitu Thakurrituthakur.hashnode.net·Apr 2, 2023<- Multithreading ->What is Multithreading? Multithreading is a process of executing small units of tasks simultaneously. It is similar to multitasking in which we do more than one task at the same time. In multithreading, multiple threads are executed simultaneously, a...Discuss·1 likemultithreading
Nasirfornasirmomin.hashnode.net·Mar 24, 2023Quick introduction of Android Coroutine to iOS developersIn one sentence Coroutine is similar as Structure Concurrency (async/await) in Swift & GCD/OperationQueues in Objective-C. In Simple definition Coroutines are a concurrency feature introduced in Kotlin, they are used to perform long-running operation...Discussmultithreading
Shiva Prasad GurramforShiva Prasad Gurramshivaprasadgurram.hashnode.net·Mar 18, 2023Java: Understanding the Concept of Daemon ThreadJava offers two types of threads User thread Daemon thread User Thread User threads are high-priority threads. The JVM will wait for any user thread to complete its task before terminating it. Daemon Thread A Daemon thread is a type of thread tha...Discuss·245 readsJavaScript