|
|
|
|
|
by steveklabnik
2502 days ago
|
|
The difference with reference counting is that you only get it when you actually use it, but a runtime included by default does not have this property. And having an "opt-out runtime" doesn't fit the bill either; we tried that too. (I'd also be very skeptical of the 2% figure; where did you get that from?) Remember, "zero cost" means "zero additional cost", everything has a cost. |
|
Now that rust has async, couldn't they make fibers an opt-in replacement for threads? Your libraries use async, but you can handle those calls with fibers. Fiber support is compiled into your code but not the libraries