TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Running TypeScript on ESP8266/ESP32 Devices

31 pointsby skittlesonabout 3 years ago

3 comments

connicpuabout 3 years ago
I&#x27;m curious and couldn&#x27;t find the info from a quick search of the repo, how much flash space does the JS virtual machine take up? And how much space is left to include libraries you may need?<p>Between the Arduino runtime, wifi library, mqtt library, libraries for talking to peripherals, and my C++ application code I&#x27;m already getting pretty close to the 512KiB limit for an ESP8266-based thermostat I&#x27;ve been working on. Hard to imagine JS being small enough to fit on that, but perhaps it&#x27;s designed for embedded chips with a bit more flash space available
评论 #30547514 未加载
评论 #30547490 未加载
评论 #30548571 未加载
评论 #30548224 未加载
评论 #30548905 未加载
CharlesWabout 3 years ago
&gt; <i>Transpile TypeScript to Espruino flavor of JavaScript</i><p>What are the benefits of doing this vs. using a runtime (like Moddable&#x27;s XS) that supports ECMAScript 2018?
评论 #30547831 未加载
ge96about 3 years ago
Coming from web I do find it brutal transitioning to C++ so it sounds interesting
评论 #30548494 未加载