Explain how you would implement a parallel process or computing program using multi-threading and multi-processing.