5 ms·
What do you propose as an alternative? Something like Micronaut trades more compile time for stricter checks and faster runtime. Do you use something like tha
by wing-_-nuts 3y ago
What do you propose as an alternative? Something like Micronaut trades more compile time for stricter checks and faster runtime. Do you use something like that?
- sea-gold 3y agoI really like http4k. http4k[0] is a lightweight but fully-featured HTTP toolkit written in pure Kotlin that enables the serving and consuming of HTTP services in a functional and consistent way. http4k consists of a lightweight core library, http4k-core, providing a base HTTP implementation and Server/Client implementations based on the JDK classes. Further servers, clients, serverless, templating, websockets capabilities are then implemented in add-on modules. http4k apps can be simply mounted into a running Server, Serverless platform, or compiled to GraalVM and run as a super-lightweight binary. Apart the from Kotlin StdLib, http4k-core module has ZERO dependencies and weighs in at ~1mb. Add-on modules only have dependencies required for specific implementation. [0] https://www.http4k.org/documentation/ https://www.http4k.org/documentation/
- RamblingCTO 3y agoSounds nice, I'll have a look! Cheers
- RamblingCTO 3y agoI implemented a microservice with micronaut starting 3,5 years back. The fragility of krush/exposed is not very fun tho. we introduce another hurdle because we only use Kotlin. I'm open for ideas though. PS: we replaced/will replace all microservices with Go.
- wing-_-nuts 3y agoHah, yeah, we have a number of microservices implemented with golang. As 'clunky' as the language can feel sometimes the tooling is first class.
- RamblingCTO 3y agoAbsolutely! I love how fast it is and how easy it is to write stuff real fast. Not a lot of footguns, except the pointer-for-loop thing afaik. It does feel clunky and quite manual sometimes!
- kaba0 3y agoThe whole language is a footgun..
- hooverd 3y agoCasual Go user here, could you elaborate?
- wing-_-nuts 3y agoI wouldn't say it rises to the level of 'footgun' but golang's error handling feels kind of janky coming from other languages.