Live data from Hacker News

DeviceScript – TypeScript for Tiny IoT Devices

github.com

1–10 of 160 posts

Re: DeviceScript – TypeScript for Tiny IoT Devices

#6
This looks really promising and that's coming from someone who used to hand roll assembly for my hardware projects in uni. Since my day to day focus is elsewhere these days I need a setup that will hold my hand and hide away as many footguns as possible. I'm already familiar with Typescript so using the same language in a different environment is a win. Having that system be backed by a large company is a great boon as well, as it means there's a somewhat smaller chance of it disappearing from underneath me (Google's projects notwithstanding).

Re: DeviceScript – TypeScript for Tiny IoT Devices

#9
> == and != operators (other than == null/undefined); please use === and !===

That's a whole lot of equals signs.

Typos aside, this all looks really amazing!

Although by no means sound, the ergonomics of TypeScript's type system are phenomenal. Really glad to see additional use cases beyond traditional JS runtimes.

Post reply on HN