Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Go benchmark #2

Open
mavam opened this issue Nov 8, 2012 · 1 comment
Open

Add Go benchmark #2

mavam opened this issue Nov 8, 2012 · 1 comment
Labels

Comments

@mavam
Copy link
Collaborator

mavam commented Nov 8, 2012

Go qualifies as another benchmark candidate: Goroutines are the equivalent of actors. They become non-blocking when used with buffered channels (though only until the buffer is full). Pattern matching occurs with the switch statement on a value read from a channel:

val := <- someChannel
switch val.(type) {
      case int: // some code
      case float32: // some code
}
@ivaxer
Copy link
Contributor

ivaxer commented Jan 28, 2013

Related: #5

@Neverlord Neverlord added the idea label Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants