3 ms·
How about lightweight threads, or are they there already? Going to Go with its LWT goroutines was awesome. Would never want to go back to async, which is reall
by api 8y ago
How about lightweight threads, or are they there already?
Going to Go with its LWT goroutines was awesome. Would never want to go back to async, which is really just a manual way of implementing LWT.
- steveklabnik 8y agoYou can sort of think of tasks as green threads. It just really depends on exactly how you define your terms; this area has a ton of similar sounding terms that different people define differently. The downside of Go’s approach is the overhead of calling into C; Rust can’t afford this. Go can. IMHO both languages are making the correct choices with regards to their constraints.