Top "Portability" questions

Portable code can be run with little to no modification in multiple environments.

Correct, portable way to interpret buffer as a struct

The context of my problem is in network programming. Say I want to send messages over the network between two …

c networking portability strict-aliasing
Lightweight, portable C++ fibers, MIT license

I would like to get ahold of a lightweight, portable fiber lib with MIT license (or looser). Boost.Coroutine does …

c++ licensing portability fiber
Portability of binary serialization of double/float type in C++

The C++ standard does not discuss the underlying layout of float and double types, only the range of values they …

c++ serialization double portability ieee-754
Are the experimental features of modern C++ reliable for long-term projects?

I have a project that currently uses C++11/14, but it requires something like std::filesystem, which is only available in …

c++ c++11 portability c++17 c++-standard-library
Packaging Ruby into a portable executable

I have been trying to find a good solution to this for a long time: Is there a sure-fire way …

ruby cross-platform portability
Apache portable runtime tutorials?

My platform is gcc 4.4.3, C89, on Ubuntu 10.4. I am looking for some tutorials or ebooks for installing and using the …

c portability
C++ Class wrapper around fundamental types

Many libraries I have seen/used have typedefs to provide portable, fixed size variables, eg int8, uint8, int16, uint16, etc …

c++ types wrapper typedef portability
How to print types of unknown size like ino_t?

I often experience situations where I want to print with printf the value of an integer type of implementation-defined size (…

c printf portability
Writing a portable C program - which things to consider?

For a project at university I need to extend an existing C application, which shall in the end run on …

c portability
How do I detect if I'm running MATLAB or Octave?

I need to write code that should run equally well in Octave and on MATLAB. Problem is that it needs …

matlab portability octave