Subscribe to Muriel Hansen
Subscribe to Muriel Hansen
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
The Gnoland project is positioned as a smart contract platform and is based on Go, a more trade-off friendly language in every respect, to implement smart
Multithreading is when multiple threads are executed in parallel within a single process. It can be your browser that simultaneously plays music and launches a search engine, or a word processing program that displays the text you entered and simultaneously checks grammar. The problem with multithreading is that it requires context switching when the OS scheduler manages switching between processes and threads. This often causes overhead and consumes an excessive amount of resources. Goroutine, on the other hand, takes the burden off the OS by implementing Go Scheduler, a built-in scheduler at runtime. Creating and destroying Goroutine consumes significantly less memory (only 0.2% of threads) and fully uses all hardware cores.
The Gnoland project is positioned as a smart contract platform and is based on Go, a more trade-off friendly language in every respect, to implement smart
Multithreading is when multiple threads are executed in parallel within a single process. It can be your browser that simultaneously plays music and launches a search engine, or a word processing program that displays the text you entered and simultaneously checks grammar. The problem with multithreading is that it requires context switching when the OS scheduler manages switching between processes and threads. This often causes overhead and consumes an excessive amount of resources. Goroutine, on the other hand, takes the burden off the OS by implementing Go Scheduler, a built-in scheduler at runtime. Creating and destroying Goroutine consumes significantly less memory (only 0.2% of threads) and fully uses all hardware cores.
No activity yet