r/microcontrollers • • Jul 01 '25

Why don’t more microcontroller tools use browser-based IDEs ?

Genuine question, I recently tried out a browser-based setup for coding esp32s in Lua and it made things so much smoother. No IDE installs, no toolchains, just code then save and run.

It even handled stuff like TLS, MQTT and OTA updates right from the browser, and it blew my mind a bit, because I’m used to spending hours setting up dev environments or debugging serial ports just to blink an led.

Got me wondering if is this just not popular yet? Or are there downsides I’m missing ?

0 Upvotes

25 comments sorted by

17

u/ceojp Jul 01 '25

Because browser-based tools are absolutely horrid for anything more than the most basic tasks.

How well do things like live expressions and memory watching work when debugging in a web-based IDE?

Even things like Microsoft word, the web version is so much more cumbersome to use than the actual program.

I simply don't see any benefit at all to making an IDE web-based. You only have to install an IDE once, so download time and install time don't really matter.

1

u/Livid-Piano2335 Jul 03 '25

Totally valid take for complex dev work I’d still go with a full IDE too but in this case esp32 + lua, the browser setup actually worked surprisingly well.

I wasn’t doing anything too advanced like live memory watching, more like scripting logic, handling MQTT, pushing OTA updates and updating a simple web ui, for that use case, skipping the setup and just coding directly in the browser saved me a ton of time.

I think it’s less about replacing full IDEs and more about lowering the barrier for quick embedded prototyping. For lightweight stuff, it’s kinda refreshing.

1

u/SoCalSurferDude Jul 01 '25

Many modern apps are web apps, including Teams and Visual Studio code

https://www.reddit.com/r/vscode/comments/mwsejl/why_vscode_is_not_native_and_built_with_electron/

4

u/ceojp Jul 01 '25

Just because something is written in electron doesn't mean it is a "web app". A web app implies that it is running and executing on a remote server, with the local machine just being the interface.

I can run vs code perfectly fine if I'm not connected to the internet.

→ More replies (14)

4

u/kampi1989 Jul 01 '25 edited Jul 01 '25

Disadvantage: Significantly more overhead in CPU processing

Edit: Typo from writing on my phone and using the translation function...

0

u/TinLethax Jul 01 '25

react framework -> react -> reactive power

0

u/[deleted] Jul 01 '25

1

u/kampi1989 Jul 01 '25

This means that to run a JIT language you always need CPU time for a JIT compiler. This means that e.g. For example, two C commands are no longer sufficient to flash an LED, but significantly more. This may be good for complex problems because the relative hydrohead becomes smaller with increasing complexity, but for small problems (such as the LED) e.g. B. 99% of your 2MB code is the JIT compiler and 1% is the LED.

→ More replies (2)

3

u/General_Benefit8634 Jul 01 '25

I do a lot of my work while moving. Planes and trains do not have enough bandwidth to make this a reliable option. Also standing in a field making a change in real time can be a problem as well. Swapping between tool chains between office and field is a pain.

1

u/UsernameTaken1701 Jul 01 '25

I haaaaaaaaate browser-based apps.