Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is actually similar to how it's done in Go Imagine you define a function:

   func hello(value string) {
      // compute heavy stuff
   }
To run it sync

    hello("World")
To run it async, just add 'go'

    go hello("World")
IMO when it has generics, it'll be the best language I have worked with.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: