samedi 10 avril 2021

Good stack for a Web App Compiled into a single Binary?

I am looking for a good stack for a simple web app that I am planning to build as a side project. I would like to find an option that would allow me to build the app as a single binary that can run as a server, serve my app, and also run the API for it.

Basically think Transmission or Resilio Sync, both of which are written in C. I am pretty good with C, but would rather try something new while working on this side project.

My priorities are:

  1. Small Compiled binary size. 5-20mb is reasonable, larger is NOT.

  2. Dependency free binary, statically linked and self contained.

  3. Low memory footprint.

  4. Scalable to large number of clients.

I would love to work either in Swift or TypeScript, but those don't appear to be viable options. Please correct me if I am wrong, especially when it comes to Swift.

Go and Rust are my top contenders at the moment. Any other languages I should consider? Any specific stacks that you liked in the past?




Aucun commentaire:

Enregistrer un commentaire