this post was submitted on 12 Mar 2024
1 points (100.0% liked)

Programming

19656 readers
255 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

These days, you have several options. You could use JavaScript/Typescript via React Native which builds both iOS and Android.

You could use Kotlin Multi-Platform, builds both iOS and Android, vut I believe you will need to know some Kotlin for Android and Swift for iOS.

You could use Flutter, which uses the Dart programming language, also builds both iOS and Android.

Then there is MAUI using C#, builds both iOS and Android.

Finally, you could resort to native for each platform.

As you can see, there are plenty of options. Picking one comes down to what you need and which language works for you. Keep in mind, most of the languages aren't really close to Python.

Good luck.

[–] [email protected] 0 points 1 year ago

Flutter with Dart

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

When it comes to mobile apps, I generally recommend native (swift/kotlin) or Flutter, they all have good tooling and have good performance

In this case though, they are all curly braces languages and don't have much in common with python.

If you don't want to learn at least 1 new language, there are some python libraries/frameworks which can be used for mobile dev. Like Kivy or Beeware. I've never used any of these though so I can't tell you how good/bad they are.

[–] [email protected] 0 points 1 year ago (1 children)

Just out of curiosity: which do you think is closer to Python? Kotlin or Swift?

Not knowing wither, my hunch would be to say Kotlin. But I am curious.

[–] [email protected] 2 points 1 year ago

Kotlin and Swift have similar syntax and neither are like Python to be honest. If I were to pick one, Kotlin all the way. You can do a fair amount of back-end work with itas well.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Hmm... A bit personal, but Python's old school at this point, and so Javascript might feel like the closest.

Modern-er languages for mobile devs have more language support for building apps in my personal opinion.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Python has never been a big language for app development… no idea why you would call it old school.

To answer op, Swift for iOS; Kotlin on Android.