While C/C++ is deliberately designed to not be portable from the get go. Which library writers has to spend quite some effort on, in order to make sure their libraries are portable.
Cosmos is designed to at least facilitate portability, in the usual ways we have come to expect from other modern langauges. Which most impotantly means that all integer, float and character types are fixed sizes, and consistent alignment across all platforms.
However, Cosmos still facilitates the ability to tailor code to particular platforms, when performance is a necessity. This is possible in part by means of using the
What's probably more profound is, that Cosmos is meant to also work on embedded systems, with as little as a few kilobytes of memory, and very limited CPU power.