If you had to choose one programming language that you had to use for the rest of your life, what would it be?
If you had to choose one programming language that you had to use for the rest of your life, what would it be?
If you had to choose one programming language that you had to use for the rest of your life, what would it be?
You're viewing a single thread.
JavaScript because you can do everything with it and long term all other languages will, most likely, gradually fade away (except for C/C++).
Yeah, if I really took this question seriously, I would say JavaScript. It runs everywhere, it does everything, and it's honestly pretty fun to work with, when it's not being awful.
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
Espruino is a JavaScript interpreter for microcontrollers. It is designed for devices with as little as 128kB Flash and 8kB RAM.
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:
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.