Embedded is a fuzzy category, specs range from <1kb Ram to the low megabytes. Some people even extend it till low end smartphones and things like raspberry pies which are like gaming PCs by mid 2000s standards.
Lua is extremely lightweight and portable. The interpreter doesn't exceed 500 kb in the fattest build, and the used dialect is a strict subset of ANSI C that is equally comfortable running on mainframes as on Nintendo consoles.
In short : If it has a C compiler and can spare 300 kb ram, it can run Lua. So people sometimes use it there.
>Embedded is a fuzzy category, specs range from <1kb Ram to the low megabytes.
After a career in embedded software, I'd have to say that I've only worked on a couple of products that had less oomph than a high-end PC of the same era.
Indeed (see also "embedded Linux" being a thing), people insisting if something doesn't run on a tiny PIC it can't be useful for "embedded" is a pet peeve of mine.
Depending on the context, "embedded systems" go even larger, although usually people stop calling it "embedded programming" at some point. Obviously many problems in large embedded systems are different from small ones, but others remain similar.
I imagine they are annoyed because it used to be more clear, easier to google, etc. The discussion and search space was polluted for them as the meaning of the term changed, and no new term filled the void.
My counterpoints would be e.g. QNX and vxWorks, famous embedded OSes, both being active in the 90s (roots go to the 80s, but in both cases afaik they really came into being and found a market in the 90s). Plenty 90s embedded hardware with x86 CPUs in it.
What's probably different today is that you have more options also on MCUs (not just assembly and maybe C), because MCUs have grown.
Lua is extremely lightweight and portable. The interpreter doesn't exceed 500 kb in the fattest build, and the used dialect is a strict subset of ANSI C that is equally comfortable running on mainframes as on Nintendo consoles.
In short : If it has a C compiler and can spare 300 kb ram, it can run Lua. So people sometimes use it there.