8 ms·
async/await does not result in bloated code that is hard to maintain and debug. It's a strange thing to say - async/await is now built in to most major program
by andrewstuart 4y ago
async/await does not result in bloated code that is hard to maintain and debug.
It's a strange thing to say - async/await is now built in to most major programming languages - strange that Arduino would dismiss it so easily.
They are correct in that async/await does not solve multicore utilisation, but it's the most important and easiest way to implement parallelism on a single core.
- hamandcheese 4y agoTFA makes no mention of async/await, only asynchronous programming. Specifically, it says: > The traditional way to do this is to write non-blocking code so that the loop() function can run as fast as possible, updating state variables and calling the millis() function to ensure proper timing Indeed, that style of programming is nothing at all like async/await in, say, Javascript.