cross-platform

What are the best resources to learn about capacity planning

For a server-side software engineer who wants to be better informed in discussions about capacity planning, what are the best resources on the Web? ...

Multiple platform development

I was currently developing a desktop application in C# using mono and testing in SuSE and Windows. The concept doesn't matter much, but it is a "web lint" program that will scan a web site and return possible issues with security and/or cross browser compatibility. However, I want to be able to offer binaries for multiple platforms. Sh...

Developing for different platforms individually, does anyone recommend it?

I know it is easy to recommend several cross platform libraries. However, are there benefits to treating each platform individually for your product? Yes there will be some base libraries used in all platforms, but UI and some other things would be different on each platform. I have no restriction that the product must be 100% alike...

What authentication to pick for the cross-platform WCF service?

What type of authentication would you suggest for the service that is: implemented as WCF and exposed via varios enpoints (including XML-RPC) has to be consumed easily by various cross-platform clients Why? Options that I'm aware of are: Forms-based authentication for IIS-hosted WCF (easy to implement, but has horrible cross-platf...

What's the best CRLF handling strategy with git?

I tried committing files with CRLF-ending lines but it failed. I spent a whole work day on my Windows computer trying different strategies, and was almost drawn to stop trying to use git and instead try mercurial. Please share only one best practice per answer. ...

Cross platform format string for variables of type size_t?

On a cross platform c/c++ project (Win32, Linux, OSX), I need to use the *printf functions to print some variables of type size_t. In some environments size_t's are 8 bytes and on others they are 4. On glibc I have %zd, and on Win32 I can use %Id. Is there an elegant way to handle this? ...

Cross platform build environment

As good developers we keep our code as standard compliant as possible to help in porting between platforms. But what tools are available that help us build the code in a uniform way across multiple platforms. *nix family has make but Windows needs nmake. I have read about SCons but never used it in anger. What is your favorite build to...

Cross-platform, cross-browser way to play sound from Javascript?

I am writing a dhtml application that creates an interactive simulation of a system. The data for the simulation is generated from another tool, and there is already a very large amount of legacy data. Some steps in the simulation require that we play "voice-over" clips of audio. I've been unable to find an easy way to accomplish this ...

Good language & framework for cross platform (windows & mac) desktop application.

The last cross platform desktop development I did was Java/Swing. What about flex? ...

What are the utilization rates for each of the major languages and platforms?

I'm interested in knowing how many developers use each of the major languages/platforms, but I haven't been able to find any good recent surveys. If you know of any good data, please provide a link along with a brief synopsis of the survey's methodology (who they surveyed and how etc.) and its conclusions (16% of developers use Java, 12...

Code formatting across Windows and Unix.

What Visual Studio settings and .emacs macros improve the likelihood that code written on Windows (in visual studio) will still look good in Emacs (and vice versa)? I've recently taken to turning off tabs in emacs (so tabs are rendered via spaces) and this at least makes the code look the same (tho people who like certain tab sizes are o...

Cross-platform editor control

I need a cross-platform editor control to use as GUI-part in an in-house tool. The control may be commercial, but with reasonable price. Required features: Platforms: Win32, OS X, Linux UTF-8 support Fine-grained run-time control to the text style (or at least color) Nice low-level plain C API without usual horrible bloat Should not p...

Should I start distributing my systems as Wine ready?

I have tested all my systems developed in Delphi (in Windows XP) on Wine (OpenSuse Linux) and they work perfectly. My question is: should I start distributing my systems (on a local basis that I can support) as Wine ready or are there other issues I should take into account? ...

Is Mono robust enough for serious enterprise development?

It's been a few years since I've taken a deep look at Mono. When I last took a look, it wasnt quite there as far as BCL implementation and the tools available were limited. I have a specific need now to do some cross platform development, and was wondering what the community thought about Mono as a choice in the enterprise. Since I've be...

Java: How do I get a platform independent new line character?

How do I get a platform independent newline in java? I can't use "\n" everywhere. ...

Is it possible to deliver cross-platform binaries of FreePascal using only one host OS ?

I'm doing a little app that I want to distribute in different platforms, at least the 3 major ones. Is it possible to use only Windows has the host OS to compile the binaries for Linux, Mac OS X and other supported platforms without resorting to virtual machines? Or should I ask around in some community to help me compile on, well OS X...

Using a Mac for cross platform development?

Who uses Macs for cross-platform development? By cross platform I essentially mean you can compile to target Windows or Unix (not necessarily both at the same time). I understand that this also has a lot to do with writing portable code, but I am more interested in people's experience with Mac OS X to develop software. I understand tha...

Trying to get DXperience under Linux: I get "Windows Installer 3" required when installing .NET 2.0 under wine in SLED

I want to try out DXperience component suite on Linux (Suse Linux enterprise desktop). Since it relies heavily on the PInvoke calls, Mono would not work out here. Some people were able to get this running by installing .NET 2.0 under wine on Linux. I've tried to do this with the winetricks and manually. Every time .NET 2.0 install on S...

How do I clear the console in BOTH Windows and Linux using C++

I need a cross platform solution for clearing the console in both Linux and Windows written in C++. Are there any functions in doing this? Also make note that I don't want the end-user programmer to have to change any code in my program to get it to clear for Windows vs Linux (for example if it has to pick between two functions then the ...

Creating multi-platform CDs for software distribution

This is not strictly programming related, but I hope still relevant. I'm working on a project which is written in Java and intended for use on PCs and Macs. It will be distributed on CD (and perhaps DVD, eventually). Our intended audience is decidedly non-technical and, as such, it's important the CD "just work" when it's loaded. Thi...