TypeScript For Embedded Programming??

preview_player
Показать описание
Recorded live on twitch, GET IN

Written by: Peli de Halleux, Michał Moskal, Tom Ball

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Рекомендации по теме
Комментарии
Автор

That's how you end up needing more CPU resources to turn on a LED than it took to land on the moon in the late 60s.

NicolasSerafini
Автор

i'm enjoying this channel becoming "man reads increasingly cursed articles"

jesse
Автор

When I finally need a pacemaker, I want it written in JS. Don't worry, TypeScript will make it safe.

JamesJansson
Автор

It's perfect combination for embedded system with spec :
1 core CPU ( 6GHz ) and 1TB of ram

JosifovGjorgi
Автор

This is so cursed that's it's effectively now destined to take over the embedded world

SyamaMishra
Автор

I program embedded systems for the German automotive industry and I have a hard time finding words to describe how uncomfortable I feel now knowing that something like this exists.

deadlymagecz
Автор

As someone who works with Embedded Systems, this just broke something in me

cryptic_daemon_
Автор

Seriously love reading people getting butt hurt because an insanely popular language is being used in some blessed environment that it apparently has no business running in.

The amount of folks that might get their feet wet with embedded with something like this is the real win. Who cares if someones fun embedded typescript program creates a shit tonne of memory that needs to be garbage collected.

JT-mrdb
Автор

JavaScript always shoves it's nose in c business

ug
Автор

All I can say to this: Tom is a genius

Yotanido
Автор

Exactly what I needed to cure my anxiety of flying: Now I have to think that maybe, MAYBE, some of the embedded systems of the plane are written in JavaScript with lipstick.

JackDespero
Автор

The runtime is configurable but uses 32kb of memory by default. This is very much _not_ simply JavaScript on an embedded device -- this is more akin to compiling TypeScript to a small form of embedded Java.

kkiller
Автор

I predict there will be a label on embedded devices in 2026 saying "Typescript free device"

vitiok
Автор

As an embedded C developer (mainly STM32) who's an advokat for using no heap at all (if possible) i am completely terrified by this language.

markusradike
Автор

No one wants to admit it but we are on a race to the first OS written in TS 😂

DanielJustavino
Автор

Could somebody invent MCU programming with react? They probably feel excluded cause it does not feature JSX

deado
Автор

As someone, who has played around with Microcontrollers in the past, reading this, I can feel how my soul wants to leave my body and jump into the next cozy fire. 😖

AScribblingTurtle
Автор

Aw man, reminds me of the time someone wrote a 3d printer driver in javascript to use on a conference. And as one of the presenters with them, i had to find a bug that was causing stuff to print over itself, because of a promise/exection order bug.
Fun times

rodolphov.santoro
Автор

JavaScript, I love it. Of course you need an async service to toggle a bit in memory. I feel like this has to be a very elaborate practical joke and I'm all for it.

BogdanTheGeek
Автор

I think you missed the concept on this. Typescript is more used to define the logic that DeviceScript will use to programmatically create the C code that will be then flashed into flash memory. So although I can’t say exactly say I’d want to write any complex logic in this way, being blind to (and not understanding) the C code that DeviceScript creates and flashes to the chip just sounds…bad…like driving your car with a blindfold on while someone tells you what’s ahead of you. Possible? Sure. Advisable? NOPE.

axd