Hacker News new | ask | show | jobs
by rstuart4133 959 days ago
> I wondered why in the heck a static web site running in a resource limited environment would even attempt to run https.

Err, I don't think it is. This is in the response headers:

    Server: nginx/1.18.0 (Ubuntu)
Getting nginx (let alone Ubuntu) running on a ESP32 would be a seriously impressive achievement.

The web site also says:

    Once it is running, you can access your website by entering your ESP32's IP address in a web browser. For example, if your ESP32's IP address is 192.168.1.100, input http://192.168.1.100 in your browser.
The site works for me now, and I'd suspect it to be able to support a minimal HTTP (not HTTPS) server if it ran natively, but then we also have this:

    You need to download micropython.py file and place it in the root directory of esp32.
So it's written in Python and a chip with the compute power of a potato. It would be interesting to compare it to the same thing done in C or Rust.
1 comments

The potato chip is more powerful than a Amstrad PC1512.

https://en.wikipedia.org/wiki/PC1512

While any serious game development was done in Assembly, languages like Python were a plenty to chose from.

So instead of looking down on the project for having chosen Python, as someone that used to play Defender of the Crown at the high school computing club, I marvel to what an ESP32 is capable of.