Multithreading & Mobile Apps

Chiropteran

Diamond Member
Nov 14, 2003
9,811
110
106
Serious question: are there any android (or ios or wp8) apps that actually make use of more than two threads, and perform noticeably better on quad core devices?
 
Dec 30, 2004
12,553
2
76
^lol

Serious question: are there any android (or ios or wp8) apps that actually make use of more than two threads, and perform noticeably better on quad core devices?

The garbage collector could be free to run on the 3rd / 4th core freeing the main cores to forge forward.

I don't know if this is how garbage collectors work, but it's the best I can come up with.

Having a quad core A15 would be awesome right now. Get a good case and you'll be set for several years.
 

you2

Diamond Member
Apr 2, 2002
6,005
1,149
126
I have no proof they do but I would hope some of hte video decoders use multi-core.
 

runawayprisoner

Platinum Member
Apr 2, 2008
2,496
0
76
Serious question: are there any android (or ios or wp8) apps that actually make use of more than two threads, and perform noticeably better on quad core devices?

The app I'm making is multi-threaded, but it performs noticeably better on faster dual-core (Snapdragon S4) devices than on quad-core (Tegra 3) devices.

In all honesty, though, it ain't that hard to plug:

new Handler().post(new Runnable() {public void run() {}}

...when applicable. Plus Android now actually requires multi-threading for certain things to work.
 

dagamer34

Platinum Member
Aug 15, 2005
2,591
0
71
The app I'm making is multi-threaded, but it performs noticeably better on faster dual-core (Snapdragon S4) devices than on quad-core (Tegra 3) devices.

In all honesty, though, it ain't that hard to plug:



...when applicable. Plus Android now actually requires multi-threading for certain things to work.

Efficient multi-threaded coding is hard. Just spawning off threads haphazardly is a nice way to kill your battery.
 

runawayprisoner

Platinum Member
Apr 2, 2008
2,496
0
76
Efficient multi-threaded coding is hard. Just spawning off threads haphazardly is a nice way to kill your battery.

Spawning thread doesn't kill battery. Keeping Activities (read: processes) running in the background does. Android defaults to not killing any app, so a bad coder will leave his application running in the background indefinitely, which is not good.

And like I said, Android does require threads to be spawned for certain things. For instance, at the end of a transition animation for any View, you gotta spawn a thread in order to remove a View that is no longer visible on the screen. If you try to remove the View without spawning a thread, the main loop will moan... and then throw a little tantrum, which will most likely crash your app.
 
Last edited:

you2

Diamond Member
Apr 2, 2002
6,005
1,149
126
Bullshit. It is easy to develop event driven multi-thread programs. The problem is idiots who write polling based programs that are multi-threaded and spin the threads while waiting for events. Poor programming does not mean it is difficult; it just means some people are sloppy.

Efficient multi-threaded coding is hard. Just spawning off threads haphazardly is a nice way to kill your battery.
 

dguy6789

Diamond Member
Dec 9, 2002
8,558
3
76
Smooth performance when running multiple apps and services is the primary benefit of multi core, not improving single app performance. The same goes for traditional PCs. Multi threaded apps that scale extremely well are just icing on the cake to look forward to later.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |