Top "Porting" questions

Converting existing code or executables to another programming language, environment, or architecture.

Porting std::map to C?

I am porting some c++ code to c. What is a viable equivalent of std::map in c? I know …

c++ c porting
Date command does not follow Linux specifications (Mac OS X Lion)

I have been developing a script on my linux box for quite some time, and wanted to run it on …

macos bash date scripting porting
Android x86 porting, unable to make it work

I'm kind of new to the whole porting issue and I got to it because of the slowness in the …

android x86 porting android-source
compiling a C++ class in Xcode: error during compilation: stl vector

I have a C++ class that compiles fine on linux with gcc and on widows in visual studio. boid.h: #…

c++ xcode porting
What's the equivalent of Windows' QueryPerformanceCounter on OSX?

I'm porting a library from Windows to *NIX (currently OSX), does anyone now what function can I use instead of …

c++ c windows unix porting
Is there STDCALL in Linux?

I'm trying to port a Windows app to Linux. This appplication marks some functions with the __stdcall attribute. However, I …

c++ linux porting stdcall
Porting Winsock to Linux Sockets

I have a program that does some networking using Winsock, and one of our requirements right now is to port …

windows linux sockets winsock porting
Port of Random generator from C to Java?

George Marsaglia has written an excellent random number generator that is extremely fast, simple, and has a much higher period …

java c random porting
Export a neural network trained with MATLAB in other programming languages

I trained a neural network using the MATLAB Neural Network Toolbox, and in particular using the command nprtool, which provides …

matlab neural-network porting
AF_UNIX equivalent for Windows

I want to know how to use something that behaves like Unix Domain Socket on Windows. The behaviour is: A …

windows winapi sockets ipc porting