Preferred language for creating apps for PinePhone
#1
Hi all, I've ordered a BraveHeart and am looking forward to playing around with it.  I'd be interested in creating some simple apps for it and wanted to get people's opinions on what language people will probably use to create apps for the PinePhone.  Most of my programming is done in Python but I wonder if many people will consider Python to be too resource-intensive for a fairly small and low-spec machine like the PinePhone, perhaps going instead for something more minimalist like Lua or even C++ would be more appropriate.

What are people's thoughts on this?  If you are planning on creating apps for the PinePhone, what language would you likely use?  I know there will be the option to use different languages and that the most appropriate language will probably depend to an extent on the OS that is ultimately chosen, but I would like to hear if people think some languages are inherently better suited to the task than others.
#2
(11-17-2019, 12:51 PM)bunburya Wrote: Hi all, I've ordered a BraveHeart and am looking forward to playing around with it.  I'd be interested in creating some simple apps for it and wanted to get people's opinions on what language people will probably use to create apps for the PinePhone.  Most of my programming is done in Python but I wonder if many people will consider Python to be too resource-intensive for a fairly small and low-spec machine like the PinePhone, perhaps going instead for something more minimalist like Lua or even C++ would be more appropriate.


I've done a little bit of development for Ubuntu Touch using QML and Python. I'm told UT is the most advanced app wise.
#3
Since it is a linux phone I think that, when possible, the best thing would be to develop an application by decoupling the logic from the graphical interface.
For logic I think you can use your favorite language (but obviously the most portable is C) and for gui in the same way, but doing that way anyone could use the program as a library and write a different interface.

The benefit is that, over time, it is possible that better or more appropriate interfaces are developed and the logic remains the same and can be improved separately.
Obviously, this practice is not widely considered in closed operating systems because they are os-centric, but we'll have a better platform Smile
#4
I am planning to try to use C++ and QT/QML for some application development.

Once I get a build process sorted out I will plan to share a short how to. (If anyone has already done something along these lines I wouldn't complain about some resources). My current plan is to follow the Plasma Mobile development process and see what I can get running once I have a phone in hand.


Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 8 4,664 11-05-2024, 11:10 AM
Last Post: zetabeta
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 169 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,657 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 350 10-05-2024, 02:20 PM
Last Post: KC9UDX
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,757 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,150 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,864 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 820 07-17-2024, 12:41 AM
Last Post: P. Siera
  PinePhone Boots but only Shows Black Screen with Backlight danyeaw 1 679 06-30-2024, 10:18 AM
Last Post: danyeaw
  Pinephone won't boot. spha 13 5,874 05-15-2024, 10:31 PM
Last Post: Richy_T

Forum Jump:


Users browsing this thread: 2 Guest(s)