top | item 43015912

(no title)

techwizrd | 1 year ago

This is definitely surprising given they announced a KMP standalone IDE only a few months ago. For now, Flutter still seems to make more sense than KMP while the KMP world is still maturing.

discuss

order

vips7L|1 year ago

Dart is an amazing and underrated language too. It compiles to native assembly, has pattern matching, async/await, and null safety. The only thing it's missing in my opinion is some form of checked errors, currently they only have unchecked exceptions.

kiawe_fire|1 year ago

Oddly, I’m conflicted on Flutter so far, but I have loved working in Dart.

So much so that I ended up writing a queueing app for scheduling batches of sequential tasks on the server in Dart just to see how it could work as a NodeJS replacement, and thought the whole dev experience was great.

NeutralForest|1 year ago

I just don't trust Google with a programming language. I feel like Golang has escaped the orbit of Google and could survive without it (I might be wrong). But for Dart I'm pretty sure it would die fast and I don't want to invest time into it as a result.

geodel|1 year ago

> The only thing it's missing

I think biggest thing it is missing is any kind of Google commitment on its long term usage.

tadfisher|1 year ago

The modern language landscape is backing away from checked exceptions. Funnily enough Kotlin eschewed them as well, converting checked to unchecked exceptions on the JVM.

rizzaxc|1 year ago

i find its biggest problem is its json ecosystem; very clunky and boilerplate-y

robertlagrant|1 year ago

I always thought a really good use of KMP would be in writing shared non-visual code, e.g. a library that interacts with your API(s) and any non-visual like that. Then paint a dumbish, platform-specific frontend over the top and link together.

seanalltogether|1 year ago

As someone who has to manage native ios and android apps I thought this would be the perfect solution as well. I wanted to write all my data models, api calls, sql cache and business logic as a separate library written with kmp, but what i didn't like was that the ios framework that was generated was a black box with just objc headers. If it generated full swift code that i could inspect for correctness and tweak if needed, I would have jumped on using it right away.