Re:CircuitPython: Programming Hardware in Python
by bmitc on Wednesday January 27, 2021 @01:25AM
(#25924964)
What I don’t understand is: what features of Python encourage its use in embedded systems in the first place? Why not F# or Elixir?
Re:CircuitPython: Programming Hardware in Python
by pjmlp on Wednesday January 27, 2021 @02:27AM
(#25925312)
Python is everywhere in education, F# and Elixir are niche languages.
If you want to use F#, you might get lucky with Meadow boards, yet their focus is mostly getting C# to run on their runtime.
Re:CircuitPython: Programming Hardware in Python
by schwartzworld on Wednesday January 27, 2021 @07:00AM
(#25927160)
Lots of developers already know python, and if you don't it's easy to get rolling.
Re:CircuitPython: Programming Hardware in Python
by fmakunbound on Wednesday January 27, 2021 @11:46AM
(#25930395)
For pyboard, it's STM32F4 with about 200Kb of RAM. AFAIK, F# and Elixir target VMs (CLR and BEAM) and it seems unlikely that those VMs plus your code will fit on such a chip.
Re:CircuitPython: Programming Hardware in Python
by dkjaudyeqooe on Wednesday January 27, 2021 @08:49AM
(#25928197)
Ease of use and familiarity to people who aren't principally interested in programming. These are people who want to make things work using microcontrollers.
It doesn't even support interrupts.
Better use Micropython.