I love the ESP32, was onboard with the ESP-8266 (might have the numbers wrong, it was the predecessor), but I thought the real difference between the ESP-32 and the Rpi was that the Rpi has an OS with a possible desktop even (and all that Libux has to offer basically), as the ESP is more of a uProcessor you program in C/C++?
Edit: Plesse disregard, I mixed up the posts and posted one levet too high too...