I am watching many videos and reading some articles on RISC
and CISC
architectures and Computer Architecture in general.
To my limited understanding, one major difference between RISC
and CISC
is:
each RISC instruction roughly translates to a single operation that the CPU can perform.
Knowing this; and other RISC
specific features: what design decisions should an Android developer consider that are different from traditional Java development?
For example:
Let's say I want to multi-thread syntax highlighting on the users' search terms on a List of results.
One idea is to have a pool of size Runtime.getRuntime().availableProcessors()
and each task in the pool work on an individual element in the array.
I can use an OrderedSet
to maintain order, by making each element in the list an object which implements Comparable
and provide some sorting in compareTo
I am not an expert so I can't really say that this is a good solution for this problem on a CISC
CPU or some AWS EC2 instance.
I am also trying to improve my understanding, so would this still be a good design on a RISC
processor? If not, why not? What is a better design decision?
What are some decisions to consider for RISC
specific code that help improve the functionality by improving performance? Or has the new ARMv7
too similar CISC
making all this moot?