Agreed. We are trying really hard to make Friends work as an event-based daemon that only runs when it is responding to something, rather than being a long-running daemon. And we're profiling the hell out of it so that it's not such a burden when it is running.
But if I had known back when I was hired that mobile was such a huge focus, I would have advocated for rewriting it in vala, not python. Martin Pitt <martin.p...@ubuntu.com> wrote: >Bryce Harrington [2013-01-18 18:37 -0800]: >> Would bash or python be ok? I'm guessing this isn't performance >> critical, and it looks like everything in nexus.go could be done in >> either of those languages. > >Can we pretty please stop writing long-running daemons in Python? As >much as I like it for applications, its startup cost, increased memory >requirements, and comparatively low performance/high battery usage >behaviour for such tasks which involve polling many times a second >make Python the wrong choice for writing daemons on mobile platforms. > >Martin >-- >Martin Pitt | http://www.piware.de >Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) > >-- >ubuntu-devel mailing list >ubuntu-devel@lists.ubuntu.com >Modify settings or unsubscribe at: >https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel