Re:Spotify vs the US Competition
by nikcub on Saturday July 16, 2011 @03:02AM
(#2770294)
does anybody know what these apps, such as spotify, are written in, and any hints on resources used? itunes is good at not spiking CPU usage, which means listening to music while running servers, doing dev work etc. is possible, while some fat clients (especially thinking of Adobe AIR here) are just terrible
[ Parent
| on HN ]
Re:Spotify vs the US Competition
by nuclear_eclipse on Saturday July 16, 2011 @09:23AM
(#2770700)
Spotify is C++ using the Qt4 toolkit. At least on the Linux client (still in "preview"), it also uses DBus to allow external applications to send command signals and receive current song information from the client. I actually wrote a wrapper for Spotify to translate Gnome media key signals to the MPRIS standard that Spotify listens for.
http://noswap.com/projects/spotify-gnome http://github.com/jreese/spotify-gnome
Anecdotal: Spotify on the Mac doesn't seem like a resource hog at all. Never had it spike the CPU as far as I can see... Running it on a MacBook Air on which I normally have a few Linux VMs open...
The only API is in C, and there's no REST API, which probably tells you where the developers are coming from.
Rdio's desktop app used to be adobe air. Now it's something else, probably native. Spotify is C++. Most of the others are just browser sites. Grooveshark is now mostly HTML5 with the music playback component in flash.
Re:Spotify vs the US Competition
by aaronbrethorst on Saturday July 16, 2011 @03:53AM
(#2770371)
Rdio is some native UI, a lot of HTML, and a copy of the Flash runtime (I installed it just last night, and was curious about why it was so large).