Microsoft DeviceScript – TypeScript for Tiny IoT Devices

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • devicescript

    TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)

  • Prototype cloud service with device management, firmware deployment and message queues.

    https://microsoft.github.io/devicescript/

  • IntelliJ-Luanalysis

    Type-safe Lua IDE — IntelliJ IDEA plugin

  • Because of compile-time type safety / static analysis. And I say this as the author of an IDE that bolts those features onto Lua: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ts2c

    Convert Javascript/TypeScript to C

  • These are far from perfect, but still something:

    https://github.com/andrei-markeev/ts2c/

    https://github.com/evanw/thinscript

    If you aim for 32 bit microcontrollers then you can go with assemblyscript to wasm and then with wasm to C transpiller

  • thinscript

    A low-level programming language inspired by TypeScript

  • These are far from perfect, but still something:

    https://github.com/andrei-markeev/ts2c/

    https://github.com/evanw/thinscript

    If you aim for 32 bit microcontrollers then you can go with assemblyscript to wasm and then with wasm to C transpiller

  • lowjs

    A port of Node.JS with far lower system requirements. Community version for POSIX systems such as Linux, uClinux or Mac OS X.

  • Agree 100%

    That was my point - the ESP32 is so versatile and cheap, it's my go-to these days for pretty much everything.

    Being about to have an easy and reasonably powerful js runtime for that sounds great.

    Apparently node-red also has something for esp32?

    And I haven't tried it, but low.js looks cool too [1]

    [1] https://github.com/neonious/lowjs

  • nesper

    Program the ESP32 with Nim! Wrappers around ESP-IDF API's.

  • I use Nim on embedded precisely for that reason: https://github.com/elcritch/nesper

    I wtapped much of zephyr as well but that ones less used: https://github.com/embeddednim/nephyr

  • nephyr

    Nim wrapper for Zephyr

  • I use Nim on embedded precisely for that reason: https://github.com/elcritch/nesper

    I wtapped much of zephyr as well but that ones less used: https://github.com/embeddednim/nephyr

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts