2 ms·
portability in a language is sort of like the right to persue happiness vs a garantee to be happy. A language can't direct the rest of the universe to ensure t
by Brian_K_White 2y ago
portability in a language is sort of like the right to persue happiness vs a garantee to be happy.
A language can't direct the rest of the universe to ensure that something always works regardless of the environment or context.
But it can avoid adding it's own limitations and be agnostic itself. So c is very portable, even though c on machine A has acces to machine A features and not machine B features.
Libraries and frameworks and standards just help a little for a few common cases but they are just travel power plug adapters, not pprtability.