In computing, cross-platform, or multi-platform, is an attribute conferred to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms.

learn more… | top users | synonyms

-4
votes
0answers
48 views

Best free alternative to Google Maps API [on hold]

As the title says I would like an alternative to Google MAPS API that does a similar role. It should be cross-plataform. It must allow to assign specific locations in the map, coordinates, such like ...
9
votes
5answers
880 views

Techniques for ensuring cross-platform compatibility (C++)?

I was finishing one of my earliest C++ projects which is (according to the framework) supposed to be cross-platform. I developed the project fully in Windows and Visual Studio, thinking that since the ...
4
votes
0answers
58 views

Branches, builds, releases and multi-platforms

I'd like to check what best practices are avail out there. I have the following requirements: I have a repo which is used for development (master and develop branches). I would like to keep track of ...
-1
votes
1answer
30 views

Language cross platform that allows different socks connection per thread

Hello i'm developing an app that needs to do many requests with different socks connections. I was doing it in C# but i'm not sure how well it will work on a linux server even with .net core . Java ...
2
votes
1answer
217 views

Why are there no cross-platform mobile applications?

As a part of my master's thesis, I am carrying a research topic on why there are no cross platform mobile applications. As applications developed in Java can run on any operating system using the JVM,...
1
vote
1answer
109 views

when writing platform specific code, is using separate .cpp always preferred instead of using #ifdef?

I have some platform specific code, such as a string needs different values at different platforms like it: test.cpp #if(PLATFORM==ANDROID) string url="android"; #elif(PLATFORM==IOS) string ...
2
votes
2answers
332 views

Could someone write an opensource version of the Windows API?

I am wondering if it is both possible and how one would write an opensource version of the Windows API. What I mean by this is, say you #include <Windows.h> in your C++ application. Then you ...
1
vote
1answer
83 views

Cross-platform unicode support for Python command line tool

I am working on a large command line tool, written for Python 2.6+ and supported for Windows, OS X and Linux. The target users are developers but it is also being auto-invoked by CI-systems etc. In ...
3
votes
2answers
167 views

How do people make libraries cross-platform?

How do people make libraries cross-platform (UNIX-systems and Android, sometimes even iOS)? What do they use? I'm asking this because I make libraries as a hobby and I'm curious.
-2
votes
1answer
46 views

How to detect whether user is actively in the web app?

I'd like to know whether it's possible (and how) to detect whether a user is actively in a web app (aka in the browser tab) and not on another website. If also like to relay the information to a web ...
0
votes
0answers
48 views

Deciding on a Portable Platform (given a set of requirements)

Background Before asking this question, I researched this site and found the following 3 most similar questions have already been asked: When would using a scripting language within a larger program ...
-1
votes
1answer
49 views

how to implement cross-platform / cross-technology system in common practice

Reading and observing some of the startups and well-known services, almost every time I found that people there are using cross-technology system in their architecture. For example like Twitter, used ...
0
votes
1answer
300 views

Why is Eclipse platform dependent?

When Eclipse is written in Java and Java is platform independent, why does Eclipse offer different versions according to platforms? I assume it should be write once, use anywhere code.
0
votes
2answers
147 views

What is it exactly that makes programs platform dependent when they're using cross-platform APIs?

I understand that programming languages can either be run in a VM (Java, etc) on every OS that supports the VM natively or can be compiled to machine code (C, etc) for each platform. What I don't ...
0
votes
1answer
716 views

develop crossplatform GUI based DESKTOP application with HTML5/CSS [closed]

I'm experienced wed developer doing stuff for web for a several years. But now my customer need to build crossplatform ETL tool which he want to ship to his clients. And will be much easier if it will ...
0
votes
1answer
101 views

Where is the appropriate place to put application configuration files for each popular operating system? [duplicate]

Before writing this question, I'd like to state that I use Linux on a daily basis, which is why I'm creating this post to extend my knowledge of the other main operating systems I'm concerned about, ...
11
votes
2answers
172 views

Do classes in a JRE library support observable and/or asynchronous reads from external/non-JRE assemblies?

How can I implement my cross-platform library (e.g. on JRE) to operate in a thread-safe manner on object references, so that native front-ends on other platforms can observe the object and take ...
1
vote
0answers
39 views

Expanding Jira DB to include multiple target platforms

I am a member on the QA team but tasked with majority of the management of the Jira instance. We have launched our product on one platform, and will be starting to develop it shortly on 2 more ...
4
votes
1answer
4k views

Can I write a cross-platform application (Mac and Windows) using C#? [closed]

I see lots of old information on this question, and lots of articles flying around the Interwebs, but I can't tell quite where things are at. Basically, I want to write C# code that I can then ...
0
votes
0answers
137 views

Managing code responsibility separation on large mobile app

I work for a large corporation with some different business units. Each of this business unities has their own group of developers. We have to build a mobile app that has features from each of these ...
5
votes
4answers
611 views

What makes a program (in a language like C++) cross-platform or not?

I have fairly basic programming experience with Java and I've tried C++ and Python. While it makes sense for Java, the basic programs I've written in C++ have run just fine on Windows and OS X. I've ...
2
votes
1answer
144 views

Alternatives to #if when polymorphism doesn't seem possible

There are couple of places where #if seems to give you abilities that polymorphism doesn't: Conditionally specifying base class When a section contains code that is not recognised by a compiler on ...
5
votes
3answers
222 views

Multi platform password storage with retrieval for applications with authorization?

I'm working on a development tool that requires knowing one or more api passwords for a user to operate. Currently it works on Mac, and uses keychain to store the credentials for later re-use. Are ...
2
votes
2answers
184 views

Managing Similar Code On Multiple Platforms (GIT)

My team and I have developed a Chrome extension which we are now porting into Firefox. The two versions share enough of a code base that it would be redundant to manage to separate depos. In fact ...
0
votes
2answers
48 views

Examples of operating systems capable of serving http-requests that does not support direct slash for directory separator

My php framework uses DIRECORY_SEPARATOR constant instead of /. Can there be any other options for a directory separator?
20
votes
3answers
1k views

Why aren't “fat binaries” more widely used for cross-platform applications?

As far as I know, so-called "fat binaries"--executable files that contain machine code for multiple systems--are only really used on Apple PCs, and even there it seems like they only used them because ...
3
votes
3answers
867 views

Say I wanted to create a cross platform program that does not require a runtime/VM, am I stuck with C/C++? [closed]

Let's say that I'm a theoretical programmer hunting for a cross platform programming language, what are my options. This language must satisfy this list of requirements: It must not require the user ...
2
votes
1answer
85 views

Ensuring reliability of cross-compilation

Provided that my code is fully standards compliant with no undefined behaviour, how can I best assure that it will be possible to cross-compile my software for any architecture? I had some ideas, but ...
-1
votes
2answers
595 views

Is a DLL developed in .NET is accessible from any language or operating system?

I am creating a DLL that I want to distribute to public to use it the way they want. This DLL contains common utility functions. People can use it on any operating system and with any language or ...
0
votes
2answers
836 views

How to best do cross-browser cross-platform visual CSS regression testing? [closed]

Background: Visual CSS regression testing is where you screenshot (part of) one version of a webpage in a browser and compare it against a screenshot of the previous version of the same webpage in the ...
2
votes
1answer
128 views

Can concurrent code (threads, distributed computing, etc.) be directly ported to single-threaded/non-networked platforms?

Take an arbitrary "perfect" multi-threaded program, on an arbitrary multi-threaded platform, using an arbitrary programming language. Assuming that this "perfect" multi-threaded program: is ...
3
votes
2answers
526 views

local communications between two apps

To make a platform-independent program in C++ I want to separate the GUI (separate for each OS, using native libraries/APIs) and the actual program. Obviously those two need to communicate with each ...
2
votes
3answers
108 views

Smart fallback for line endings in code files? [closed]

What do you recommend as a default fallback for line endings if the operating system cannot be determined? Example Mac OS up to version 9 uses carriage returns (\r) for line endings. Unix-like ...
3
votes
2answers
274 views

Cross device testing for web development

Currently, I do not have a fixed process for cross device testing other than randomly asking the people around my co-working space to test my site on whatever device they have on-hand. This is quite a ...
-1
votes
1answer
444 views

Cross-platform CI builds [closed]

Does any Continuous Integration system out there offer building a project on several operating systems at the same time? Like, building the code on Windows, Linux, *BSD and OSX per commit? I ...
0
votes
1answer
183 views

What should be in a PIMPL?

I am kinda trying to implement a windowing library in C++, the circumstances are forcing me to implement it all myself, that's not the point of this question however. My question is: What should be ...
4
votes
3answers
1k views

How do I compile my software for all platforms from Ubuntu Linux 64 bit?

I write a lot of open source software that I make available on my website. How do I get my software compiled for all relevant platforms including: Windows OS X Linux 32 bit deb Linux 64 bit deb ...
1
vote
0answers
59 views

Dealing with proj files in multi-platform apps

So I've been doing some cross-platform mobile applications using cocos2d-x. Basically it uses common c++ code, that can easily be compiled to the popular mobile platforms with some small wrapper code ...
4
votes
1answer
118 views

Creating a web app that authenticates users from two different databases

I am in a bit of an awkward programming situation, and it will help me a lot to get your input in this situation. I am building a web app which expects to authenticate users from another, separate ...
3
votes
5answers
2k views

How to develop cross platform mobile applications with native UI and Javascript backend?

I want to build a cross platform(Android, iOS, Windows) mobile application. I want the UX of the application to be different on the different platforms so that it will be more platform specific and ...
1
vote
2answers
201 views

How should I connect to my php framework to use methods written in the framework, in a framework agnostic environment?

My company runs 2 websites, a public facing website for clients, and an employee intranet. The intranet is used as a backend for employees to edit and maintain various parts of the public website. ...
4
votes
1answer
948 views

Does it make sense to choose UTF-32, based on concern that some basic rule will be broken for UTF-8?

I'm working on an cross platform C++ project, which doesn't consider unicode, and need change to support unicode. There is following two choices, and I need to decide which one to choose. Using UTF-...
17
votes
4answers
3k views

Why are string resources generally kept external to the code and not inside the code?

Generally, on many platforms, I'm writing my string resources to a .resx or .xml file, and then I'm getting them using some platform-dependent approach. That is, on iOS, I'm getting them via NSBundle....
0
votes
2answers
430 views

In C++ what is the commonly accepted method for making a program platform-agnostic? [closed]

The way I usually do it is I make some namespace Platform in Platform.h and every OS call is encapsulated by a static function in this namespace. So the only place in the entire code base that knows ...
1
vote
1answer
642 views

Python for a desktop app

I currently have a .NET app that I want to convert to being cross platform, as a growing number of my users want a Mac version. Since this forum doesn't seem to like questions that are "what ...
-1
votes
1answer
478 views

Creating a window to draw pixels in [closed]

I'm creating a fictional architecture and other fictional components for this computer/emulator. I'm facing an issue, this being the virtual display. I need to be able to create a Window in which my ...
4
votes
2answers
926 views

Writing a unit test for a platform dependent unit

I have a method to be tested which depends on the OS, what's the best approach for testing the method depending on the OS? Is it to test on every OS that I have I require? Is there a better approach ...
4
votes
2answers
4k views

Dota 2 running on Linux, Mac and Windows - How do they do it?

How do Valve create games that run on Linux, Mac and Windows? I imagine they dont really write one version for each platform bec that would just be a nightmare.. or do they? I imagine it is written in ...
1
vote
3answers
135 views

Icons for my program

I'm developing a simple text editor, just to practice a little bit. I'm developing it under Linux but since I am using Qt as GUI Framework I can easily compile this on a Windows or Mac with the same ...
0
votes
1answer
2k views

Is Java still king of cross-platform compatibility? Is the answer still Swing? [closed]

So basically, my company is looking to create an app that can be distributed on Linux, Mac OS X, and Windows. We are hoping for a cross platform solution. I have experience working with Java Swing ...