Skip to content

yruslan/channel_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Channel - a port of GoLang channels to Java

Build

Go channels provide synchronization and messaging, 'select' provides multi-way concurrent control.

Rob Pike - Concurrency is not parallelism / another link with better slide view

This is one of Java ports of Go channels. The idea of this particular port is to match as much as possible the features provided by GoLang so channels can be used for concurrency coordination. The library uses locks, conditional variables and semaphores as underlying concurrency primitives so the performance is not expected to match applications written in Go.

There is also a sibling project - channels for Scala: https://github.com/yruslan/channel_scala

Link

The project hasn't been released yet.

Motivation

GoLang channels are based on CSP model by Tony Hoare (1978). CSP channels provide an extremely simple and uniform building block for designing concurrent applications.

About

Java implementation of the concurrency primitive similar to GoLang channels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages