4 ms·
I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading J
by PaulHoule 3y ago
I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading Java is famous for. JAX-RS provides a Sinatra style framework that makes it easy to write JSON API back ends. JDK 21 is just about to come out as a long term supported version and it will be even better. .NET is similar in capabilities, I think C# is a better language but Java has a better open source ecosystem.
I do my side projects in Python with aiohttp and think it is a lot of fun even though people tell me it is suicide (I guess if you block the thread you are in trouble)
I think "Next.js" really wants a node.js backend which has the big advantage that you can share code with the front end and back end. It's basically single-threaded but I know people who are happy with it.
The system I'd most like to try is
https://www.phoenixframework.org/ https://www.phoenixframework.org/
which is just great if you want to do stuff with websockets that is more interactive than what most people are doing.
I think though that developing that many different front ends would drive you crazy: is there a real reason you can't just make it a web app?
- romikusumabakti 3y agoThanks for sharing your insights! For this project, I'm leaning towards more modern backend technologies. While Java and .NET offer scalability and reliability, I'm aiming for a tech stack that's perceived as more modern. Python, while fun, might not be the best fit due to potential performance concerns. This project is actually more of a hobby and learning experience. And I would of course start with the web first. I'm inspired by OpenAI's approach in gradually rolling out ChatGPT – starting with web, then mobile, and maybe finally desktop. Thanks for your suggestions! I might consider Node.js.
- deleted 3y ago[deleted]
- belmont_sup 3y ago.net and jvm are still very modern. Use kotlin for with spring or ktor. Or use c# or f# with aspnet. They come with everything included. The time to finish your project would be quicker with all-in-one solutions. Ditch the nextjs part and just return html. Add alpinejs and htmx and you won’t need to waste time creating a typical json api.