Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
apatheticonion
on June 16, 2019
|
parent
|
context
|
favorite
| on:
When to use web workers
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: