Better HN
topnewbestaskshowjobs
Log inSign up

chrisjrn

66 karma · joined Nov 10, 2013 (13y ago) · 9 submissions

Submissions

comment 13y ago · link · parent

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).

comment 13y ago · link · parent

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 :)

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Glad you enjoyed it – I find I present better if I have notes. Glad they have extra utility for you!

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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