I have a rather largish server app that I've been working on for Win32
and I want to port it to Linux. I've done some Solaris / Win32
portable development before (text only), but I turned to the dark side
for a bit and now I'm coming to see the light again.
A couple of quick questions:
a) What's a good (or better - as in faster) analogue for HeapAlloc,
HeapFree under Linux?
b) Is it fairly straightfoward to use mmap like one would use
MapViewOfFile, etc? What are some big gotchas. Can I mmap a small
section of a file >2GB?
c) Is the C++ compiler of choice still G++/GCC? Does it support
member function templates?
d) Do 64 bit linuxes give me 64 bit longs, and, is there an analogue
to __int64 under Linux?
e) Does GCC offer support for inline x86 assembly? (obviously this
must go to satisfy question d, except on ppc because I haven't played
with more than 3 registers since college and I'm looking to get onto a