Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
nieceandtows ( nieceandtows@programming.dev )  to Programming@programming.dev · 3 years ago

As a python developer, what language is the easiest and closest when it comes to building mobile apps?

message-square
message-square
27
link
fedilink
22
message-square

As a python developer, what language is the easiest and closest when it comes to building mobile apps?

nieceandtows ( nieceandtows@programming.dev )  to Programming@programming.dev · 3 years ago
message-square
27
link
fedilink
alert-triangle
You must log in or # to comment.
  • catculation ( catculation@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 years ago

    Kotlin

  • MrGG ( MrGG@lemmy.ca ) 
    link
    fedilink
    arrow-up
    10
    ·
    3 years ago

    There’s actually a Python-based framework that can make mobile apps called Kivy, but as you might expect it would not be terribly performant.

    • Truck_kun ( Truck_kun@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      And there’s also KivyMD after you learn base Kivy, that adds more widgets with the intent of following Google’s Material Design spec.

      I’m not going to vouch for the project, or link, just mentioning it exists.

  • Fermiverse ( Fermiverse@feddit.de ) 
    link
    fedilink
    arrow-up
    10
    ·
    3 years ago

    I know I won`t make friends with this but check out B4A.

    Its a “BASIC like” syntax (no its not basic spaghetti code) in a RAD environment that outputs native java code apk.

    Its free and a good support forum. You could even put your app on the store

    Edit: you could also compile to java for pc and ios software

    • jadero ( jadero@programming.dev ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      You had me at “BASIC”! I’m going to check it out.

      I think that BASIC has historically been my most productive language. My favourite implementation was something called “Z-Basic”, a compiled BASIC with device-independent graphics that could run on and target Apple//, Mac, and PC.

      • Fermiverse ( Fermiverse@feddit.de ) 
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        3 years ago

        I made some apps for my own use.

        One is a food score browser. It connects to an offline database supplied with the apk and shows search results in a scrollable list as well as details on select. You can search in english and german the same time.

        • jadero ( jadero@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          It looks like I need a Windows machine (or VM or wine). Is that correct?

          • Fermiverse ( Fermiverse@feddit.de ) 
            link
            fedilink
            arrow-up
            4
            ·
            3 years ago

            VM should work. For B4i (ios) you need also a mac for compile afaik.

            The output runs on win, linux, server, mac, ios, android or arduino. Depending on what you used b4a, b4i, b4j or b4r. The syntax is the same eveywhere.

            The crossplatform libary b4x pages makes sure that the same program look and feel can be compiled to various platforms without to much hassle.

            • jadero ( jadero@programming.dev ) 
              link
              fedilink
              arrow-up
              3
              ·
              3 years ago

              Thanks!

    • nieceandtows ( nieceandtows@programming.dev ) OP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      This is interesting, thank you!

  • tammo ( tammo@programming.dev ) 
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

    I am following BeeWare for some time now. From the website:

    Write your apps in Python and release them on iOS, Android, Windows, MacOS, Linux, Web, and tvOS using rich, native user interfaces.

    Never tried it, though.

    • nieceandtows ( nieceandtows@programming.dev ) OP
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 years ago

      Interesting, thank you!

  • eveninghere ( eveninghere@beehaw.org ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    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.

    • ebits21 ( ebits21@lemmy.ca ) 
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 years 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.

      • eveninghere ( eveninghere@beehaw.org ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        I didn’t say it’s an old-school app development language…

      • nieceandtows ( nieceandtows@programming.dev ) OP
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 years ago

        Thanks. Yeah, I wasn’t looking for python based frameworks, but rather other languages that are at least somewhat similar and easier to learn/transition to.

      • Rusty Shackleford ( RustyShackleford@programming.dev ) 
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 years ago

        I know I should just look this up, but I’ll ask anyway.

        Back in 2013, in grad school, I remember we used Objective C for iOS and Java for Android. Can I still build compatible apk’s and iOS packages using these older language choices respectively for modern mobile OS’s or am I a dinosaur and need to get with the times (swift and kotlin)?

        • roanutil_ ( roanutil_@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          For iOS you can still use Objective C, but there are additions to platform frameworks and whole new frameworks that are Swift first. I don’t really know how hard it would be to use those APIs from Objective C. Swift is certainly the default going forward.

          I don’t work on Android but my understanding is that Java hasn’t and isn’t going anywhere on Android. Kotlin is supposed to be great but I haven’t heard mention of Java being dropped.

          • Hammerheart ( Hammerheart@programming.dev ) 
            link
            fedilink
            arrow-up
            3
            ·
            3 years ago

            Not dropped, but google has suggested all new android projects be done with Kotlin instead

        • ebits21 ( ebits21@lemmy.ca ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 years ago

          You can still use either.

    • Rimu ( rimu@piefed.social ) 
      link
      fedilink
      arrow-up
      7
      ·
      3 years ago

      Python is the number 1 programming language and has been for years. All of these sources use different methods to calculate their rankings and come to the same conclusion:

      • https://www.tiobe.com/tiobe-index/
      • https://spectrum.ieee.org/top-programming-languages-2022
      • https://github.blog/2023-03-02-why-python-keeps-growing-explained/
      • https://www.statista.com/chart/21017/most-popular-programming-languages/
      • eveninghere ( eveninghere@beehaw.org ) 
        link
        fedilink
        arrow-up
        5
        ·
        3 years ago

        I didn’t say it’s not the no. 1 programming language.

  • peanutbutter_gas ( peanutbutter_gas@lemm.ee ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    I pretty much agree with everyone else said. I just want to say that I don’t recommend xamarin. I had to work with it at a job and it’s a massive headache imo.

  • blue_struct ( blue_struct@feddit.de ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    You could use React Native, so the language would be Javascript / Typescript.

    • YIj54yALOJxEsY20eU ( YIj54yALOJxEsY20eU@lemm.ee ) 
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      deleted by creator

      • snowe ( snowe@programming.dev ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        You can write cross platform mobile (and desktop and even browser) apps with Kotlin.

  • lolcatnip ( lolcatnip@reddthat.com ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 years ago

    I’ve never made a native mobile app. I’ve made a couple of web apps designed for mobile devices, and for those I used HTML+JS when it was really simple and React with Typescript for anything more complex. I choose those options mostly because they’re what I’m already familiar with from work.

    • nieceandtows ( nieceandtows@programming.dev ) OP
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      That makes sense, thanks

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

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 !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 78 users / day
  • 624 users / week
  • 1.75K users / month
  • 4.28K users / 6 months
  • 449 local subscribers
  • 28.6K subscribers
  • 2.91K Posts
  • 22.8K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code