Reitter: Answering the question: "How do I develop an app for GNOME?"
Reitter: Answering the question: "How do I develop an app for GNOME?"
Posted Feb 7, 2013 15:14 UTC (Thu) by ovitters (guest, #27950)In reply to: Reitter: Answering the question: "How do I develop an app for GNOME?" by paulj
Parent article: Reitter: Answering the question: "How do I develop an app for GNOME?"
You bring up something different, higher resource usage compared to metacity/compiz. GNOME shell is based on clutter, etc. Totally different than metacity.
The higher usage vs metacity is partly because of compositing and at the moment there is a binding bug with clutter (IIRC). Not much to do with Javascript. It would have been exposed in any binding. That bug was unfortunately only fixed in unstable, not in 3.6.x. In any case, you would've seen the same in Python, etc.
Of course, you can judge a Javascript decision on whether or not that bug is fixed at the moment. But actually we also fix memory leaks in other programs. Be it C (lots), Python, etc.
Posted Feb 7, 2013 15:43 UTC (Thu)
by paulj (subscriber, #341)
[Link]
If bugs relating to leaks have been fixed, and things are due to improve in future releases, that's great.
I didn't place any blame on Javascript. ;) Though, for whatever it's worth, my experience is that it can be even harder to avoid or fix leaks in GCed languages than in ones with explicit semantics for managing ownership of memory.
Posted Feb 11, 2013 15:25 UTC (Mon)
by droundy (subscriber, #4559)
[Link] (1 responses)
Posted Feb 11, 2013 15:42 UTC (Mon)
by ovitters (guest, #27950)
[Link]
In practice the slowness is often combination of compositing and drivers btw (aside from just outright gnome-shell bugs :P). Use gnome-shell on another system or with another driver and you'll see a huge difference.
Reitter: Answering the question: "How do I develop an app for GNOME?"
Reitter: Answering the question: "How do I develop an app for GNOME?"
Reitter: Answering the question: "How do I develop an app for GNOME?"
