News for hackers. Stuff that matters.
Re:Which Programming Languages Use the Least Electricity? by ganzuul on Sunday October 18, 2020 @07:05AM (#24816968)
I love embedded and I love functional but never shall the two meet. :(
Re:Which Programming Languages Use the Least Electricity? by mhh__ on Sunday October 18, 2020 @08:02AM (#24817210)
It's not really functional as many would recognise it, but you can write fairly fast functional code in D - i.e. statically enforced purity, metaprogramming, transitive const, lazy evaluation etc.

There are more features on top of this but many require the GC or other memory allocation, which I would say disqualifies them from the most limited of embedded contexts.

Re:Which Programming Languages Use the Least Electricity? by pdimitar on Sunday October 18, 2020 @07:49AM (#24817153)
Not before there's a CPU that actually has FP instructions [that get translated to imperative microcode].