www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Platform support?

reply JN <666total wp.pl> writes:
I'm curious about something. What platforms exactly are supported 
by D? It's hard to find concrete data, and if anything it's all 
hidden in forum posts.

Obviously Windows, Linux and macOS have good support. But what 
about mobiles? Android, iOS? Is it more like:

- not supported at all
- hello world works
- most stuff works and you can interface with native OS APIs 
(Android NDK libraries etc.) ?

How about Emscripten/WebAssembly?
Mar 27
next sibling parent Guillaume Piolat <first.last gmail.com> writes:
On Monday, 27 March 2017 at 09:47:52 UTC, JN wrote:
 I'm curious about something. What platforms exactly are 
 supported by D? It's hard to find concrete data, and if 
 anything it's all hidden in forum posts.

 Obviously Windows, Linux and macOS have good support. But what 
 about mobiles? Android, iOS? Is it more like:

 - not supported at all
 - hello world works
 - most stuff works and you can interface with native OS APIs 
 (Android NDK libraries etc.) ?

 How about Emscripten/WebAssembly?
What I have gathered from empirical experience on the desktop: - dmd and ldc-1.0.0 * Windows XP or later (officially: Vista or later) * OSX 10.7 or later - ldc-1.1.0 or later * not sure about Windows XP anymore * not sure about OSX 10.7 anymore - linux * for x86-64 architecture, work in major distributions without issue
Mar 27
prev sibling parent reply Joakim <dlang joakim.fea.st> writes:
On Monday, 27 March 2017 at 09:47:52 UTC, JN wrote:
 I'm curious about something. What platforms exactly are 
 supported by D? It's hard to find concrete data, and if 
 anything it's all hidden in forum posts.
The wiki and download page are the best places to look: http://wiki.dlang.org/Compilers http://dlang.org/download
 Obviously Windows, Linux and macOS have good support. But what 
 about mobiles? Android, iOS? Is it more like:

 - not supported at all
 - hello world works
 - most stuff works and you can interface with native OS APIs 
 (Android NDK libraries etc.) ?
Pretty much everything works on Android, including calling native and Java APIs, the latter through JNI. Similar on iOS, but the long in the works Obj-C bridge may have stalled.
 How about Emscripten/WebAssembly?
Unsupported, nobody has been interested enough to try it, AFAIK.
Mar 27
parent Seb <seb wilzba.ch> writes:
On Monday, 27 March 2017 at 11:58:50 UTC, Joakim wrote:
 How about Emscripten/WebAssembly?
Unsupported, nobody has been interested enough to try it, AFAIK.
Not entirely true, simple games written in D already run on the web - though IIRC without druntime: https://forum.dlang.org/post/rxlnopwmyjwolqiddhhu forum.dlang.org
Mar 27