Lurker News
Specifically the backend. I'd love to hear your reasons. Do you keep one eye on what the stack would be post MVP?

1. Old schoolish (VPS - Maybe DO, Django/Flask/Rails/Remix/Next with postgres)
2. Supabase etc with JS/TS on either side of the network
3. Lambda/Cloud functions with Firebase/Dyanamo DB/Cosmos DB etc
4..n. What else and why?

Comments (723) 347 threads

Earlier comments
Taek1 reply#
Plain js on the frontend. Complex logic handled in rust-wasm. Backed handled in Rust using the Actix Web http server, using websockets, proxied through a very basic nginx instance with TLS.

My own servers for the entire cloud, maybe with CloudFlare as a CDN.
Avoid anything else as much as possible. If you need AI/ML, you're going to have to pull in some difficult extra stuff, so make sure the value is there.
Owing both to the unreasonableness of the modern javascript stack (node/eslint/jest/react/typescript/webpack) and also to the considerable improvement of vanilla js over the past 10 years, I really don't feel like all the extra frameworks are worth the overhead and dependency risk on the frontend. Vanilla js is really good these days! And when you need a boost, rust wasm is also really good.
I've found that it's a lot faster - and also a lot safer! - to build in vanilla js than I ever would have expected. Typescript still adds value, but imo not nearly enough value to earn a place in the stack.

crummy#
What's the advantage of doing complex logic in rust-wasm? I assume you mean in the frontend?
ibejohn818#
It depends .. (frameworks/libs/langs) for enterprise stuff at work, we have our tech stack worked out, for freelance, it'll be what the customer wants or what I'd feel would be most maintainable. For infra, for both I'd use docker to run my apps and supporting services ... I've been really into the hashicorp stack, nomad + consul .. docker gives you a solid dev env and portability when going production
ryanwaggoner#
Laravel. I don’t have time to fuck around with whatever the latest hotness is.

Load more comments