omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Performance

    Pythonista
    3
    4
    3292
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tizzy
      Tizzy last edited by

      An interesting article which addresses whether having a fast programming language matters. Perhaps we could use this as a jumping off point to address the real-world capabilities and limitations of Pythonista and template as an iOS development environment.

      Pushing a view controller onto a navigation controller takes the time it takes. Your text fields won’t draw their strings any faster just because you’re using Swift instead of Python.
      

      http://inessential.com/2016/04/21/performance_these_days

      1 Reply Last reply Reply Quote 1
      • MartinPacker
        MartinPacker last edited by

        As a guy who does (mainframe) Performance for a living I'd say that if a language is scripting some underlying capabilities you have to think about two things:

        • The capabilities' being scripted speeds. For example Java's JNI usually is doing native stuff that might not be possible to speed up.
        • The scripting language and code. So, Javascript in most browsers now has good JIT compilation etc. I've not heard of much effort to speed up Python other than PyPy. (I'd love links to discussions on how Python can be sped up.)

        But then there's the algorithm. If you wrote bad code (and what is bad code might be environment-specific) you get what you deserve. :-)

        1 Reply Last reply Reply Quote 2
        • Moe
          Moe last edited by

          The speed of Python lies mostly in development time. Python is not the fastest language execution wise, but getting something running is A LOT faster than in comparison to C or Java.

          1 Reply Last reply Reply Quote 0
          • Tizzy
            Tizzy last edited by

            I guess the question I'm trying to understand is - does sheer execution speed actually affect real-world performance of Pythonista apps on iOS? I suppose that this depends on the structure of your code - but I wonder what the effect is if you limit your focus to native iOS UI elements being manipulated in standard ways?

            🌻

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors