From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: New IEEE Language Popularity Ratings Date: Wed, 10 Aug 2016 17:04:25 -0700 Organization: A noiseless patient Spider Message-ID: <878tw4188m.fsf@jester.gateway.pace.com> References: <31c22983-150c-4dab-abba-588e15f75914@googlegroups.com> <87y44514hl.fsf@jester.gateway.pace.com> <87twes1v4l.fsf@jester.gateway.pace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="590ea01354cf4bcbcd857d7ebbd88128"; logging-data="26248"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PoawJ3DgMK0+8Q3lQTiIJ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:GpThu+5X9YZVDxW0K/pt0QM/LE8= sha1:NO0S32K+DAkIZvZBDmsiEdiatd8= Xref: news.eternal-september.org comp.lang.ada:31375 Date: 2016-08-10T17:04:25-07:00 List-Id: "G.B." writes: >> level realtime stuff in the devices too (RF protocols etc) > Still the low level stuff's structure and dynamics had better be > understood by the glue coders building it into this electric kettle? If you mean the RF stuff, no they don't need any clue about it. I don't have much clue about it myself. I'm making an internet teakettle and I'm suppposed to understand Viterbi encoding or whatever the radio uses? I've probably never even heard of it. It's just a peripheral that bits go into and come out of, that looks to the software like a network adapter. If you mean something like a temperature control PID, then maybe I have to understand what PID is, but again there's not much issue of realtime. I can write it in Python and it there's a few msec of GC pause now and then, it won't affect the kettle temperature detectably at all. > I'm reminded of The Market's effect on clean Diesel in non-vans: can > we use a single core 16 bit µController, not a quad-core ARM, please? Do they even design new 16-bit stuff any more? There's cheap 8-bit stuff and powerful 32-bit stuff, and then the MSP430 is dying on the vine. The typical IOT gizmo has an ESP8266, which is comparable to a Cortex M3 without the ARM royalties (different instruction set inspired by MIPS). It runs at 80 mhz and has 128k or so of on-chip ram and there's usually a megabyte or so of SPI flash on the module. The wi-fi RF stuff is on the chip too so there's a few tiny analog parts and a PCB trace antenna on the board, besides the 8266 itself. Type ESP8266 into ebay to see how ridicuously cheap this stuff is (around 3 dollars in hobbyist quantity). Quite a powerful 32-bit cpu that can run Micropython (micropython.org), Lua (NodeMCU.com), or Javascript (espruino.com) nicely. It's nothing like a quad core ARM. Although with the Raspberry Pi Zero at $5 retail, maybe that's coming. > https://www.youtube.com/watch?v=Oym7B7YidKs Nice! That's the best one of those I've seen so far.