• @[email protected]
    link
    fedilink
    11 year ago

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

    • @TCB13
      link
      English
      41 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.

    • Dave.
      link
      fedilink
      1
      edit-2
      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.