[HN Gopher] Drogue Device - An async, no-alloc actor framework f...
___________________________________________________________________
Drogue Device - An async, no-alloc actor framework for embedded
devices
Author : LaSombra
Score : 26 points
Date : 2021-02-03 09:48 UTC (1 days ago)
(HTM) web link (blog.drogue.io)
(TXT) w3m dump (blog.drogue.io)
| Nullabillity wrote:
| This looks pretty unsound.. :/
|
| Getting a &'static mut T means that you're allowed to keep the
| reference around forever, beyond the scope of the call. To be
| sound that means that the calling function is _never_ allowed to
| use the reference again, not even to drop it.
|
| The only sound way to even _get_ a &'static mut T would be to
| leak a heap allocation (which this library explicitly forbids
| itself from).
| amsha wrote:
| This looks pretty interesting. Besides telephony and other
| message-passing applications, what are the hero use cases for an
| actor system on an embedded device?
___________________________________________________________________
(page generated 2021-02-04 23:01 UTC)