4 ms·
Why would you assume that all software is written for servers in datacenters? Rust tends to be used in embedded devices, WASM, and other weird contexts where th
by woah 4y ago
Why would you assume that all software is written for servers in datacenters? Rust tends to be used in embedded devices, WASM, and other weird contexts where there might not be as many resources available.
If you're writing a CRUD app, sure, do it in PHP and spin up a thread per request.
- rat9988 4y agoBecause he is talking about massive concurrency, not embedded or wasm or other contexts where there not be as many resources available.
- rad_gruchalski 4y agoSince when is 50k threads massive?
- int_19h 4y agoEmbedded is much less likely to need async in the first place at all.
- woah 4y agoHaving written wifi router firmware in rust, I would disagree
- hgomersall 4y agoI use async extensively in my embedded application. The design is a joy to extend and maintain.
- baq 4y agocooperative multitasking sounds way more embedded than preemptive...
- Matthias247 4y agoNot necessarily. A lot of embedded projects use realtime operating systems (RTOS). And those make use of preemptive schedulers in order to actually provide realtime guarantees. There's obviously also some projects which just use a bare-metal loop to do everything - that probably counts as cooperative.