News for hackers. Stuff that matters.

chrisjrn

Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @04:46PM (#6708580)
My guess is that it's still Java-like under the hood -- at the very least, calling out to API endpoints will be...

Probably doesn't change much at all. (Though I'd love to be wrong).

Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @07:23AM (#6706198)
Not really -- most mobile code is simply glue for UI event handlers and the like. And Python's really good at writing glue code.

Just like when you're coding in Java, code that needs performance is native, and written in C.

Python would idle just as well as pure java if it needed to :)

Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @07:20AM (#6706187)
Yup. If we had Jython, this talk wouldn't have needed to have been written.

And I'd probably be working to improve Jython as we speak.

Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @07:14AM (#6706173)
You're running the Python interpreter as a native executable, so it's roughly comparable to Dalvik.

If you want performance, write it in C, optimise it. That's what the NDK is for.

Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @07:12AM (#6706169)
The talk was at mostly web developers. The second and third parts of the talk were about why the web doesn't cut it as a platform.

Part 1 was there to lay the groundwork. Basic? Maybe, but it's necessary.

Re:Android: The Land That Python Forgot on Sunday November 10, 2013 @07:10AM (#6706163)
Glad you enjoyed it – I find I present better if I have notes. Glad they have extra utility for you!
Re:Android: The Land That Python Forgot on Saturday November 09, 2013 @11:57PM (#6705295)
It's a possibility – Qt's there, and in fact Kivy is a pretty good solution.

The problem I raise in the talk is that such libraries will always lag behind the state of the art for Android GUIs, which makes them less attractive.

Re:Android: The Land That Python Forgot on Saturday November 09, 2013 @11:08PM (#6705142)
That's pretty much exactly what python-on-android does; the problem is that you don't get access to any of the Java/Dalvik-based libraries, which includes all of the UI programming libraries.
Re:Android: The Land That Python Forgot on Saturday November 09, 2013 @10:46PM (#6705069)
Ohai!

I wrote the talk, and just want to let you know that you can watch it over at https://www.youtube.com/watch?v=p77BR6e1uoo

--Chris