> I don't have any in-depth ESP experience, so forgive me if I'm asking a 
> stupid question, but what do you mean by " (and it's baked into Nim's stdlib 
> now!)" regarding FreeRTOS and nim?

Good question, the ESP32's use `FreeRTOS` which is a _real time_ operating 
system (RTOS). Nim's standard library has a `freertos` option now, so you can 
do `--os:freertos`. It also configures the stdlib's network code to use LwIP 
which is an embedded TCP/IP stack. What this means is that you can use Nim's 
nice set of networking libraries, like asyncnet, selectors, etc. It gives a 
nice modern high level API for networking on any device supporting FreeRTOS & 
LwIP.

FreeRTOS accounts for somewhere around 30-60% of the RTOS market share. Amazon 
purchased it a few years ago and re-licensed it under a more liberal MIT 
license (before it was either GPL/Commercial) and use it as the basis of their 
AWS IoT platforms. 

Reply via email to