4 ms·
>Maybe not "new Thread() {}" but if you use ForkJoinPool, executors, etc then it should mostly all just work. Ah that's a nice way to do it. But then what happ
by fnord123 7y ago
>Maybe not "new Thread() {}" but if you use ForkJoinPool, executors, etc then it should mostly all just work.
Ah that's a nice way to do it. But then what happens to Channels? Are they cast aside so we go back to InputStream which blocks the fiber?
> You don't do a whole lot of scalable blocking IO on phones.
No but you can save a lot of memory, a lot of context switches, and CPU depending on the scenario.
- thu2111 7y agoI'm not sure but yeah, in theory you don't need more than Input/OutputStreams if you can block at will.