DEV Community

Discussion on: Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries

Collapse
 
qm3ster profile image
Mihail Malo

Why have an executable for a static site?
Is it not static, just server-rendered with dynamic data?

Collapse
 
deciduously profile image
Ben Lovy

Mostly for educational purposes, but yes, it's more accurately server-rendered with potentially dynamic data. Right now nothing is dynamic, but I'm looking at this project as a sort of "playground", and this doesn't close any doors should I want to do something fancy in the future.

Collapse
 
qm3ster profile image
Mihail Malo

Ah, makes sense.
I just don't see a lot of advantages to server "rendering" vs an API.
The only thing that comes to mind is reduced complexity for very small projects.
But education is education!