3 ms·
Pretty sure you need at least an operating system and memory allocation
by alexnewman 8y ago
Pretty sure you need at least an operating system and memory allocation
- steveklabnik 8y agoFutures have landed in libcore, and do not inherently allocate. You can write an executor with a fixed-size queue as well, and not require dynamic allocation at all. Being able to do this is a hard constraint on the design.
- Q6T46nT668w6i3m 8y agoIf I’m reading the proposal correctly, it’ll be possible and even straightforward because the standard library only provides the interface. You’ll be able to swap implementions by replacing the package with whatever fulfills the interface requirements.