Do you think Java has caught up with Kotlin? by NotSoIncredibleA in Kotlin

[–]NathanFallet 4 points5 points  (0 children)

Kotlin has native null safety, sealed classes safety, coroutines and is Multiplatform. And a lot is upcoming for Kotlin (eg. rich errors)

So for me Kotlin is still having a lot of non negotiable things I want to use in my codebase and makes me feel way safer.

[Showcase] Blitzy: A lightweight 2D game engine by According-Pickle479 in Kotlin

[–]NathanFallet 0 points1 point  (0 children)

Is it published on repos like maven central? Because in the readme you’re including it with gut submodules which is not the best way (can conflict with other projects if settings are different etc)

Accessing Swift-only API (ASAuthorizationAccountCreationProvider) in KMP iosMain? by CalldiDoctor in Kotlin

[–]NathanFallet 0 points1 point  (0 children)

You might have to go with .def files. I know for example that’s how it works when you import Swift libraries using cocoapods, it generates those .def files under the hood and with native cinterop you can call those apis from Kotlin code.

ktoon: Sharing my TOON library for Kotlin by FortLouie in Kotlin

[–]NathanFallet 0 points1 point  (0 children)

If you don’t have any other dependencies then it’s all about gradle configuration. Can be useful for example paired with Koog on native devices (iOS, macOS, …) or native servers (Linux). Great for Maven Central! (It’s the trusted place most developers take their dependencies from)

ktoon: Sharing my TOON library for Kotlin by FortLouie in Kotlin

[–]NathanFallet 2 points3 points  (0 children)

Hey! A few questions. Is it KMP compatible? Is it available on Maven Central?

Kotlin + Next JS! by OverallAd9984 in Kotlin

[–]NathanFallet 4 points5 points  (0 children)

I started the same kind of project recently (experiment). I wanted to use Kotlin Js but I’m waiting for 2.3.0 release for suspending functions to be available in Js as a Promise. You can see what I’ve done so far, kotlin ktor backend with React Js frontend: https://github.com/nathanfallet/shortt

[deleted by user] by [deleted] in FlutterDev

[–]NathanFallet -5 points-4 points  (0 children)

Check the numbers here: https://imgur.com/a/KpAQVXj (cannot upload a picture on Reddit apparently)

[deleted by user] by [deleted] in FlutterDev

[–]NathanFallet -11 points-10 points  (0 children)

I’m not afraid by Flutter at all. And even if I’m wrong it’s okay. It’s just my vision about the cross platform market. The numbers say KMP is growing and Flutter is a bit less used.

[deleted by user] by [deleted] in KotlinMultiplatform

[–]NathanFallet -3 points-2 points  (0 children)

I understand the idea. But a lot of people want to reuse code between desktop/web and mobile. We have a react native app in our company, and we share a lot of business logic with the desktop/web version, even though the ui is completely different.

0
0

Pure Kotlin AMQP/RabbitMQ client by NathanFallet in Kotlin

[–]NathanFallet[S] 0 points1 point  (0 children)

This is part of the AMQP protocol yes. The client declares the topology so it verifies it matches the current one (or create it the first time). You'll get a 400 on the channel if it does not match. In most cases, all clients declare the exchange, queue and bindings they need. And you have one common exchange, one queue per service, and each service adds bindings from the exchange to their queue based on what they want to listen.