this post was submitted on 13 Nov 2023
101 points (92.4% liked)
Programming
17504 readers
31 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In 20 years we'll be able to run Javascript on microcontrollers, that will be an interesting day.
20 years? Ahahah
https://github.com/espruino/Espruino
Before anyone says that an ESP32 isn't actually a microcontroller let me just point out that it doesn't really matter. A few years ago a board with an ATmega 2560, lets say an Arduino, would cost around 30€, today you can get ESP32 boards with WiFi and way better performance for 3€ making the Arduino 2560 mostly useless / not cost effective.
In just 5 years with all those new RISC and ARM chips will most like triple their performance and take over what is now done by high end AVR and PIC microcontrollers. Costs will go even further into cents and microcontrollers as we know them will become irrelevant. With the extra performance JS will become the most popular language simply because developer time is more expensive than hardware.
Lol, I have a MEGA 2560 clone
Well, me too. Still costs more than an ESP32 nowadays.
15 years ago I was running multi-tasking BASIC programs on a controller that had 2MB of storage. We should have been there by now.
Holy shit, they're still kicking around:
https://wilke.de/en/embedded-computer/details/zurueck/computer-module/products/tiny-tiger-multitasking-computer.html
I used a few for high speed logging of a quadrature rotary encoder to measure the speed of a hydraulic sampling arm. Battery powered , had a 4 line LCD and keypad with a simple menu interface to take samples, as well as a serial export function to get .CSV files via hyperterminal.