Sunday, July 5, 23:00
Home Updates Python: Soon Python apps on Android

Python: Soon Python apps on Android

Python: Soon Python apps on Android - Thanks to its evolution and rise machine learning, the Python programming language is increasingly used by developers, but has no place - so far - in mobile phones.

Of course, the creator, Guido van Rossum, and some Python developers believe that the applications written in Pythnon may one day be supported in iOS and Android.

Python: Soon Python apps on Android

Russell Keith-Magee, head of BeeWare, is the one who gives hope that Python could come to mobile as well. BeeWare transfers CPython to Android, so applications written in Pythnon run automatically on Android as well. CPython is a reference implementation of the Python open source code and is used in Jython, written in Java and based on Java Virtual Machine (JVM).

BeeWare's goal is to allow developers to write programs to Python and be able to execute code anywhere using user interface tools (UI). The goal is to help developers write Pythun applications based on the codes running on iOS, Android, Windows, macOS, Linux, browsers, and tvOS.

In February, Keith-Magee announced the first major foundation for Android operating system after launching a purely Pyth application to run on an Android device. She made the announcement at the Python 2020 conference, which took place online this year pandemic.

However, Python is not designed to be supported by mobile phones. To address this shortcoming, the Pythοn Software Foundation awarded BeeWare $ 50.000 to offset the level of support for Android with iOS tools. The Android CPython connection should support the latest versions of Android, from version 4.4 onwards.

Initially, Beeware's strategy for Android was to turn Python into Java Bytecode, but now the core of Android is more durable and the devices are much faster to support CPython. For ordinary Python developers, the mobile environment is a foreign planet. There are no sub-processes, sockets, conductors and signals behave completely differently than a simple Unix.

The biggest hurdle was the size of Android applications written on Python, because they require their own Python runtime, which means Python had to shrink to be able to get into mobile. The solution suggested by some is to build a "naked core" of Python, which could solve many of the challenges, combined with a pip package that allows developers to install packages for an entire platform instead of one. system only.

“Certificate management TLS on Android is very strange. To pass the CPython test suite on your mobile phone, you must skip many checks that use fork or spawn, signals, or other APIs that are different or missing. ”

According to Ned Deily, Python's chief developer at PSF, there are still many hurdles, such as providing mobile support that will cost a lot more money and require far more people than in any other Pyththn project.



Please enter your comment!
Please enter your name here

In a world without fences and walls, who needs Gates and Windows


Try2Cry ransomware: Infects USB flash drives

A new ransomware known as Try2Cry is trying to "reach" other Windows computers by infecting USB flash drives, using Windows shortcuts (LNK files) ...

Bitcoin scam attracts people with "bait" celebrities!

A bitcoin multi-stage scam exposed and used personally identifiable information (PII) to deceive users by prompting them to sign up for a ...

iPhone: What to do to boost your security?

One of the most important features of iOS is security. Rarely does a malicious application pass to ...

COVID-19: New research looks for antibodies in blood donors

The American Red Cross is examining the blood that has come from donations, and is looking for COVID-19 antibodies that will give it ...

Digital Transformation and Business: What Does Its Failure Mean?

Digital transformation is usually a way for businesses to outperform their competitors and get rid of methods that ...

Covaxin: India releases COVID-19 vaccine in August

The whole planet is waiting for the release of the vaccine for coronavirus, while clinical trials have begun in many countries around the world ....

iOS 13.5.1: iPhone users report battery issues

Have you noticed any changes to your iPhone lately? Maybe, for example, the battery runs out quickly ...

Avaddon ransomware: Attacks through Excel 4.0 macros

Microsoft announced yesterday that Avaddon ransomware spread this week through an old technique that came to the fore again. The...

Apple: Prohibits updating Chinese Apps without permission

Apple is banning developers from updating existing apps in China's App Store if they don't have government approval.

Australia: Thousands of MyGov accounts are sold on the Dark Web

Access to more than 3600 MyGov accounts is being sold on the dark web, potentially exposing thousands of Australians to fraud and identity theft.