How binder is different from serialization?
Binder uses shared memory concept to do Inter process communication
Serialization uses sharedmemory concept and slower than binder ipc
None of them uses shared memory concept to do IPC but binders are meant for IPC for smaller devices
Though Serialization is faster than Binder, it is avoided in android.
Serialization and Binders are both IPC mechanisms how to processes will communicate. Serialization is very heavy as it has to copy hole data and transmit to other process through channel. But Binders are light weight where both the processes will share or communicate the data using a shared memory concept. what ever the data has to be shared it will be kept in a common shared memory and both process's can access that memory to make communication faster.
Back To Top