[erlang-questions] [ANN] Sonic Pi 3.0 released

Fred Dushin fred@REDACTED
Fri Jul 21 17:22:54 CEST 2017


I have always been curious about how hard it would be to port a very small subset of Erlang to FreeRTOS, so that it could be run on cheap micro-controllers like the ESP8266 (or the ESP32, now that it is being produced in volume).

I've done a bit of hobbying with micropython on the ESP8266, and while it is a gas, trying to deal with concurrency (asyncio) in python is a nightmare [1].   Des anyone actually think coroutines are a sound idea?  (Likely I just don't get it)

Abstracting all the concurrency out the way with Erlang seem ideal for embedded systems, IMO, even if you are dealing with only one scheduler.

-Fred

[1] Grep for `yield` at https://github.com/fadushin/esp8266/blob/809360a9bd99ddbb920edf4f734d803036dec868/micropython/uhttpd/uhttpd.py <https://github.com/fadushin/esp8266/blob/809360a9bd99ddbb920edf4f734d803036dec868/micropython/uhttpd/uhttpd.py>, if you want your eyes to bleed.

> On Jul 19, 2017, at 6:45 AM, Joe Armstrong <erlang@REDACTED> wrote:
> 
> Sonic Pi V3 now includes a complete Erlang distribution.
> 
> Sonic Pi is a complete programmable music making machine,
> for teaching kids to program and for music experiments.
> 
> The Erlang is well hidden away - but it's there
> together with a complete Ruby and Supercollider (also hidden)
> 
> So far I've only tested this on my Mac - but I think Erlang
> is also included in the rasberry Pi, linux and windows distributions
> (or at least will be)
> 
> This is actually an amazing bit of engineering - in a single desktop app
> Sonic Pi includes complete stripped down  versions of Ruby and Erlang
> and the Supercollider. All these are isolated components talking
> together through OSC over UDP.
> 
> (See http://joearms.github.io/2016/01/28/A-Badass-Way-To-Connect-Programs-Together.html
> - for details of OSC)
> 
> Sonic Pi is programmed in Ruby+Erlang+C++ + Supercollider language
> and uses QT for the interface.
> 
> This is how systems should be built.
> 
> Sam has done a fantastic job job here - as a side effect of this
> Erlang will be in the standard Rasberry Pi distro - whether it stays there
> is up to YOU - Sam has done the ground work - this actually opens the
> SonicPi infrastructure to Erlang and Elixir Programmers
> 
> So what are you waiting for? -  Go write a drum machine in Erlang
> or an arpeggiator or a harmonizer - or write it in Elixir if that is
> your thing.
> 
> Have fun
> 
> /Joe
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170721/2825c5b0/attachment.htm>


More information about the erlang-questions mailing list