News for hackers. Stuff that matters.
Re:MicroPython – Python for Microcontrollers by amelius on Wednesday June 08, 2022 @07:31AM (#31665824)
Nim, Zig, Julia, Rust, so many languages lately ... anyone else with language-choice anxiety?
Re:MicroPython – Python for Microcontrollers by StevePerkins on Wednesday June 08, 2022 @08:14AM (#31666132)
Not really. Probably only a single-digit percentage of software developers will ever get to use any of these professionally. Howl in protest if you will, but the truth is that all of these (and more) are mostly the domain of students and hobbyists.

If you are already in the industry, and part of the 90+% unwashed masses, then you already know this. If you are a student or hobbyist who hasn't clued into this reality yet, then there's no need for "language-choice anxiety". Play with whatever you want to play with, and once you graduate you should have no problem transferring that knowledge to whatever language your first real job actually pays you for (e.g. Java, Python, C#, etc).

Re:MicroPython – Python for Microcontrollers by UmbertoNoEco on Wednesday June 08, 2022 @09:13AM (#31666790)
This is mostly true, but (I cannot believe I am going to do this), Rust is in a different tier compared to the other languages in the list.

From the last who is hiring thread:

Zig =0 mentions

Nim = 0 mentions

Julia = 2 mentions

C# = 4 mentions

C++ = 12 mentions

Rust = 13 mentions

Java = 18 mentions

JavaScript = 30 mentions

Python = 50 mentions

The threads here are not indicative of the overall market and 1 mention != 1 job, but the numbers above are pretty much in line with the proportion of offers I am seeing elsewhere.

Re:MicroPython – Python for Microcontrollers by benibela on Thursday June 09, 2022 @10:15AM (#31681434)
I should not have chosen Pascal as my primary programming language.

It is not even mentioned when looking for uncommon language mentions

Re:MicroPython – Python for Microcontrollers by zoom6628 on Wednesday June 08, 2022 @09:39AM (#31667169)
While at it dont forget TinyGo. Im a hobbyist occasionally working on potentially commercial ideas. ARduino is great to start learning. PlatformIO i found very supportive with tools for everything I needed and wide board support. Used to code a lot in Python. My next project i will use TinyGo to see the degree of correspondence with full desktop Go and beyond that im inclined to try Ada next as for bare metal code the idea of using Ada just seems to make a whole lot of sense given its application to control systems over the decades.

My 2c

Re:MicroPython – Python for Microcontrollers by nimmer on Wednesday June 08, 2022 @11:09AM (#31668472)
Nim is a very good choice because it generates tiny binaries while having a very expressive syntax.

It's the closest language to a static typed Python.

Also it uses GCC, which supports most microcontrollers.

Re:MicroPython – Python for Microcontrollers by turbinerneiter on Wednesday June 08, 2022 @08:16AM (#31666151)
For micro-controllers having a choice in language is very new and there is still very few languages to pick from. Chip vendors only support C/C++, sometimes only barely.

Many languages (if it is AOT compiled and uses LVVM you can probably get it running on a uC) have POCs for running on an a uC, but often lack the HAL (libraries to use all the peripherals).