Hacker News new | past | comments | ask | show | jobs | submit | more skinnyasianboi's comments login

Kotlin:

numbers.sumBy { it / 3 - 2 }


I love the software part in the article. Basic GTK apps just need a few changes and they start working seamless on both Desktop and smaller displays.


I have so much hope in this project. Linux apps adding support for libhandy is so full filling to see. A long time dream seems to become true.

My thinking might be way to posetive but the fact that the post gets a lot of attention on HN might even help the project instead of letting it die.


I have great success using Kotlin Multiplatform to share code between iOS and Android. Have a look at my Android Jetpack Compose and iOS SwiftUI project sharing the common logic for a game https://github.com/SimonSchubert/Braincup


It's worth to mention that it also supports native Linux, Windows and macOS buildings. Plus web via JavaScript and server via jvm.


This is really cool. Care to share some resources from which others can learn to get started?


This is the official docs

https://kotlinlang.org/docs/reference/multiplatform.html

I've also done multi platform recently.

I've taken a contract first approach. Swagger / openapi for rest clients. Outside of that I use vertx which has bindings for almost every platform. With those two I can account for interoperability across all platforms.

Big hitches

* No ts.d defintions at this time. But: https://github.com/vojtechhabarta/typescript-generator

* Dukat for automatic typescript definition importing (beta) https://github.com/Kotlin/dukat

* I've not done LLVM iOS. But I've read of some generic issues.

They are improving dependency management to handle multi platform. I can't find a link but it was on their blog


Just self host and there is no thing like "can be shut down"


Another neither answer:

Kotlin Multiplatform with Jetpack Compose and SwiftUI.

Jetpack Compsoe might even become platform independent in the future.


Mobile developer myself and I'm scared that this will happen to me, too. I have a >600k downloads open source app on the Play Store and I got 2 warnings for other apps within the last 8 years on the store without any explanation or what so ever. The non existent communication from Google really stinks.


Using Thunderbird for a few weeks now, after a ~10 year break, and I'm quite happy. But I which it would be a bit more slicker without the Chat integration/Tabs on top/2 search inputs/lots of buttons and other UI elements. Maybe there is a way to customize it but I couldn't find it, yet.


Right click on menu/tool bar, Customise…


Thanks a lot! Now it's perfect. I was able to hide mostly all of the UI elements I will never use.


Switched from 1Password to Bitwarden half a year ago and I couldn't be happier.


I have to correct you.

If you want to do android development, Kotlin

If you want to do multi platform development, Kotlin multi platform

Kotlin mpp is still in beta but it works pretty amazing. I have 1 app in production that shares models/API/database. The UI on Android and iOS is native and platform specific. I highly recommend it.


Not naysaying you but i learnt kotlin and flutter this past year(from january). flutter has an AMAZING experience for the things that are "done", kotlin multi platform only does one thing well - kotlin.

it's basically like xamarin with C# swapped out with kotlin(and that sucks as much as kotlin mp does right now even after 3 years of ms acquisition time).


The development experience with flutter is great, that's right. But I don't like the end result. It feels very close to a native app but still not 100%. And I think it will always be a step behind.

One benefit of kotlin mpp compared to xmarine is, that kotlin mpp is not limited to iOS/Android. You can have a shared code base between web frontend/Backend/iOS/android and even macos/windows/linux and all native. One language to rule them all.


Flutter is on its way there, too. Already native on iOS, Android, and Fuchsia, with the web build in technical preview and desktop OSes under development.


You should check all platforms where you can run C#. It runs everywhere.


I didn't think that through, you are actually right. With project Blazor I guess also in the browser.


I use C# almost on a daily base in Unity3D and have a little experience in Xamarine but I have no idea how a android/iOS/desktop/web project would be build up. Would be interesting to compare it with kotlin mpp.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: