101
you are viewing a single comment's thread
view the rest of the comments
[-] TCB13@lemmy.world 4 points 1 year ago

JavaScript because you can do everything with it and long term all other languages will, most likely, gradually fade away (except for C/C++).

[-] MajorHavoc@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

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.

[-] frippa@lemmy.ml 1 points 1 year ago

In 20 years we'll be able to run Javascript on microcontrollers, that will be an interesting day.

[-] TCB13@lemmy.world 4 points 1 year ago

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.

[-] 0xC4aE1e5@lemmy.zip 0 points 1 year ago

Lol, I have a MEGA 2560 clone

[-] TCB13@lemmy.world 1 points 1 year ago

Well, me too. Still costs more than an ESP32 nowadays.

[-] dgriffith@aussie.zone 1 points 1 year ago* (last edited 1 year ago)

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.

this post was submitted on 13 Nov 2023
101 points (92.4% liked)

Programming

17691 readers
148 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 !webdev@programming.dev



founded 2 years ago
MODERATORS