3 ms·
I can’t speak for other apis but i’ve used Ktor and I thought it was good. JetBrains is invested in it, there are a lot of docs and even a compiler plugin / web
by armchairhacker 5y ago
I can’t speak for other apis but i’ve used Ktor and I thought it was good. JetBrains is invested in it, there are a lot of docs and even a compiler plugin / website to generate starter code.
Generally I recommend using Ktor if you’re familiar with Kotlin or want to use Kotlin for some reason. Elixir or Go might be easier for a beginner, but if you have to learn a new language / paradigm this difference cancels out.
- nassimsoftware 5y agoWhat do you think of the developer experience? Does it scale? Is it easy to deploy?
- armchairhacker 5y agoDeveloper experience is top-notch because it’s JetBrains. Nothing else compares. It’s supposed to be scalable but idk because i don’t have a big app. It uses coroutines so it can serve multiple requests simultaneously. Deployment is easy although idk what to compare to. I created a jar and ran it in linode and i got a working server. You can also create a docker app.
- nassimsoftware 5y agoNice, last question : do you use JDBC to connect to a postgres database or are there specific libraries in Kotlin?
- armchairhacker 5y agoA bit late but I use this which is a wrapper over JDBC: https://github.com/JetBrains/Exposed https://github.com/JetBrains/Exposed