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 2017
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 2017
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 2017
next sibling 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 2017
prev sibling parent reply bobeff <bobeff gmail.com> writes:
On Monday, 27 March 2017 at 11:58:50 UTC, Joakim wrote:
 The wiki and download page are the best places to look:

 http://wiki.dlang.org/Compilers
 http://dlang.org/download
What about video game consoles support? Is it possible to use it on the latest and previous generations consoles? I know that Remedy has been using it as a scripting language for their games, which run on Xbox One, but is it possible to use it on Xbox 360, PS3, PS4, Wii, Wii U, Nintendo Switch, different handheld devices like PSP and so on?
Oct 18
next sibling parent welkam <wwwelkam gmail.com> writes:
On Friday, 18 October 2019 at 10:49:42 UTC, bobeff wrote:
 On Monday, 27 March 2017 at 11:58:50 UTC, Joakim wrote:
 The wiki and download page are the best places to look:

 http://wiki.dlang.org/Compilers
 http://dlang.org/download
What about video game consoles support? Is it possible to use it on the latest and previous generations consoles? I know that Remedy has been using it as a scripting language for their games, which run on Xbox One, but is it possible to use it on Xbox 360, PS3, PS4, Wii, Wii U, Nintendo Switch, different handheld devices like PSP and so on?
The problem with platforms you listed is that they require to sign NDA before you can develope for them and you cant share the code.
Oct 18
prev sibling parent Gregor =?UTF-8?B?TcO8Y2ts?= <gregormueckl gmx.de> writes:
On Friday, 18 October 2019 at 10:49:42 UTC, bobeff wrote:
 On Monday, 27 March 2017 at 11:58:50 UTC, Joakim wrote:
 The wiki and download page are the best places to look:

 http://wiki.dlang.org/Compilers
 http://dlang.org/download
What about video game consoles support? Is it possible to use it on the latest and previous generations consoles? I know that Remedy has been using it as a scripting language for their games, which run on Xbox One, but is it possible to use it on Xbox 360, PS3, PS4, Wii, Wii U, Nintendo Switch, different handheld devices like PSP and so on?
I'm merely guessing, but I'd say that supporting PS4 shouldn't be too hard because it's also an x86 based platform and the OS is a fork of FreeBSD 9. The other consoles are harder to support because they are PowerPC- or ARM-based with operating systems that are further removed from what the D toolchains currently support. A considerable amount of tinkering would certainly be involved. And the console devkit NDAs will typically prevent you from sharing any such work with outside communities.
Oct 18