What goes into porting a program/library? reddit / BSD ---------------------------------------------------------------------- [deleted] · 2021-02-16 11:07 [deleted] ---------------------------------------------------------------------- bluerabb1t · 2021-02-16 12:16 Porting is the idea of getting something running on A to run on B where some underlying architecture or framework is different. I work in embedded electronics and porting drivers to other devices usually mean taking some drivers code written for one architecture/platform and replacing the platform specific code and rewriting those functions for the new/destination platform. Sometimes entire source code libraries for drivers can be platform specific and you’d have to rewrite the drivers completely and that can also be called porting. In higher level software it’s basically the same thing but allot of software is written with generic tools/libraries making recompiling easy for a new OS as long as the compiler is good. But video games or some high performance software can often have platform specific libraries and many optimisations catered to the platforms it was originally designed to run on and some of those optimisations/libraries and hacks will have to be replaced to move to a new OS.