News for hackers. Stuff that matters.
Re:Arduino-copilot makes it easy to use Haskell to program a... by droithomme on Saturday January 25, 2020 @09:46PM (#22150069)
> if Python can be used with it

Which Arduino models are people running Python on? Surely not the most common models?

Re:Arduino-copilot makes it easy to use Haskell to program a... by StavrosK on Saturday January 25, 2020 @10:11PM (#22150152)
No, the Uno has nowhere near enough RAM to be useful with Python. However, MicroPython runs beautifully on an ESP8266, which everyone should always use instead of an Uno, in my opinion.
Re:Arduino-copilot makes it easy to use Haskell to program a... by droithomme on Saturday January 25, 2020 @10:53PM (#22150288)
I run Lua and compile C on my ESP8266's. I'm sure MicroPython could fit there as well.

But even MicroPython doesn't run on a Arduino Uno, much less Haskell.

Re:Arduino-copilot makes it easy to use Haskell to program a... by naasking on Saturday January 25, 2020 @11:38PM (#22150410)
Copilot is an EDSL that generates a C program, so the Haskell runtime is not in the final binary running on the Arduino.
Re:Arduino-copilot makes it easy to use Haskell to program a... by exdsq on Sunday January 26, 2020 @01:07AM (#22150658)
I recently tried out uLisp which was trending on HN the other day on an Uno. It left me with ~500 bytes of memory and ~1000 bytes of storage. Unfortunately that’s not enough to do many interesting things!