Open main menu

CDOT Wiki β

Changes

GPU621/Go Kimchi

23 bytes added, 03:22, 4 August 2021
Parallel Programming in GO & Java
diagram cited by Pithikos in [https://stackoverflow.com/questions/1050222/what-is-the-difference-between-concurrency-and-parallelism Stack Overflow]
 
'''Implementation'''
Go language focuses on concurrency and parallelism by implementing its own Goroutine instead of regular threading. Goroutines uses the built-in scheduler to conduct the threads in behind and hide many complexity of thread management from the user to specify which function to run and execute them with “Go” command.
Java version 5.0 and later provides concurrency to simplify thread creation and processing. The "[https://docs.oracle.com/javase/tutorial/essential/concurrency/executors.html Executor]" that implement by java.util.concurrent provides APIs for creating and processing new threads using reusable threads.
 
===General Implementation Info===
----
58
edits