i wonder how Erlang on a microcontroller would feel like
-
i wonder how Erlang on a microcontroller would feel like
-
i wonder how Erlang on a microcontroller would feel like
you get the same kind of real-time and correctness benefits as Rust (with a lot of hand-waving involved in the use of "same kind" here) but the language is way simpler
-
you get the same kind of real-time and correctness benefits as Rust (with a lot of hand-waving involved in the use of "same kind" here) but the language is way simpler
@whitequark ...am I having a stroke or did you post exactly that some time ago?..
-
@whitequark ...am I having a stroke or did you post exactly that some time ago?..
@lisyarus dissociative amnesia
-
you get the same kind of real-time and correctness benefits as Rust (with a lot of hand-waving involved in the use of "same kind" here) but the language is way simpler
@whitequark Guessing you've already run into it but https://nerves-project.org/ is a thing, and pretty nice to work with by all accounts
-
@whitequark Guessing you've already run into it but https://nerves-project.org/ is a thing, and pretty nice to work with by all accounts
@castanea_jo first time i've seen it but also if it runs Linux it's in the same class as PCs in my book
-
@lisyarus dissociative amnesia
@whitequark Must be it
-
@whitequark ...am I having a stroke or did you post exactly that some time ago?..
@lisyarus @whitequark don't worry, whitequark posts are idempotent.
-
i wonder how Erlang on a microcontroller would feel like
@whitequark probably uncomfortable because the microcontroller's pins would poke his butt
-
@lisyarus @whitequark don't worry, whitequark posts are idempotent.
-
@whitequark @artemist Would be funny if they were involutions
-
@castanea_jo first time i've seen it but also if it runs Linux it's in the same class as PCs in my book
@whitequark yeah I'm unsure how much the OTP binary it generates needs the linux bits, in theory it should be portable since its compiling the beam runtime into the binary but i dunno
-
@whitequark yeah I'm unsure how much the OTP binary it generates needs the linux bits, in theory it should be portable since its compiling the beam runtime into the binary but i dunno
@whitequark portable in the sense of being able to compile for other platforms, not in the sense of having the binary be droppable into other systems
-
i wonder how Erlang on a microcontroller would feel like
@whitequark there is AtomVM. I haven't tried it but it fits in moderately sized mcus it seems. https://atomvm.org
-
@whitequark there is AtomVM. I haven't tried it but it fits in moderately sized mcus it seems. https://atomvm.org
@cararemixed oh nice
-
i wonder how Erlang on a microcontroller would feel like
@whitequark implementing BEAM on a stm32h7 class micro seems pretty feasible!
I wish more projects would take the approach of high level runtime for app code on microcontrollers, like sifteo https://scanlime.org/2012/12/how-we-built-a-super-nintendo-out-of-a-wireless-keyboard/
-
i wonder how Erlang on a microcontroller would feel like
I imagine: great, right up until it suddenly isn't. Erlang has asynchronous message passing, which means that it must have message buffering. And that means that memory can easily accidentally balloon at unexpected times.
-
I imagine: great, right up until it suddenly isn't. Erlang has asynchronous message passing, which means that it must have message buffering. And that means that memory can easily accidentally balloon at unexpected times.
@david_chisnall only with unbounded queues
-
@david_chisnall only with unbounded queues
Erlang queues are unbounded.
-
R relay@relay.infosec.exchange shared this topic
-
Erlang queues are unbounded.
@david_chisnall right, but if you were working on an MCU dialect (and it would almost certainly have to be a dialect) you could change that