Subscribe to bdrb
Subscribe to bdrb
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
The Gnoland! Smart contract platforms act as decentralized virtual machines run by untrusted nodes that are financially incentivized to validate transactions or run open source applications called smart contracts. While leading blockchains have deployed thousands of applications serving millions of users, the development environment and user experience has yet to be optimized.
Gnoland uses a new language called Gnolang, which is an offshoot of Golang. Golang has a clear advantage over other languages when it comes to handling concurrency. While most programming languages such as C++ or Java use multithreading to run concurrent programs, Go uses Goroutines.
Multithreading is running multiple threads in parallel in a single process. This could be your browser playing music and running a search engine at the same time, or your word processing software displaying your input while checking syntax. The problem with multithreading is that it requires context switching, where the operating system scheduler manages the switch between processes and threads. This usually leads to overhead and consumes excessive resources. Goroutine, on the other hand, eases the burden on the operating system by implementing a runtime native scheduler, Go Scheduler. Goroutines seem to consume less memory for creation and destruction (down to 0.2% of threads) and take advantage of all the cores of the hardware.
The Gnoland! Smart contract platforms act as decentralized virtual machines run by untrusted nodes that are financially incentivized to validate transactions or run open source applications called smart contracts. While leading blockchains have deployed thousands of applications serving millions of users, the development environment and user experience has yet to be optimized.
Gnoland uses a new language called Gnolang, which is an offshoot of Golang. Golang has a clear advantage over other languages when it comes to handling concurrency. While most programming languages such as C++ or Java use multithreading to run concurrent programs, Go uses Goroutines.
Multithreading is running multiple threads in parallel in a single process. This could be your browser playing music and running a search engine at the same time, or your word processing software displaying your input while checking syntax. The problem with multithreading is that it requires context switching, where the operating system scheduler manages the switch between processes and threads. This usually leads to overhead and consumes excessive resources. Goroutine, on the other hand, eases the burden on the operating system by implementing a runtime native scheduler, Go Scheduler. Goroutines seem to consume less memory for creation and destruction (down to 0.2% of threads) and take advantage of all the cores of the hardware.
No activity yet