digitalmars.D.learn - Basic questions about D lang?
- Jayam (4/4) Nov 28 2017 Is D language open source?
- Stefan Koch (5/9) Nov 28 2017 yes
- Jayam (3/12) Nov 28 2017 Thanks.
- Steven Schveighoffer (4/18) Nov 28 2017 D supports several platforms:
- rikki cattermole (6/10) Nov 28 2017 Sure but probably not to the level you expect.
- Jayam (4/15) Nov 28 2017 Thanks.
- =?UTF-8?Q?Ali_=c3=87ehreli?= (4/5) Nov 28 2017 Most definitely! D is great in multi-threaded programming. (I hope that
- Jayam (7/7) Nov 29 2017 In D lang,
- rikki cattermole (5/11) Nov 29 2017 Automatic but if you want to be in control of it you can.
- crimaniak (9/16) Nov 29 2017 As for me, async/await feature is a half-baked solution. With
- user1234 (3/7) Nov 29 2017 Of course ! Plenty of them can be found here:
- Jesse Phillips (9/10) Nov 29 2017 Based on your C# reference you must be referring to the "Mixed
Is D language open source? Do this have GUI Desktop application support ? Do this have web api support ? Can we compile our program to multi program ?
Nov 28 2017
On Tuesday, 28 November 2017 at 13:39:11 UTC, Jayam wrote:Is D language open source? Do this have GUI Desktop application support ? Do this have web api support ? Can we compile our program to multi program ?yes yes some (dlang-ui for example) yes some (vibe.d or arsd) I don't know what you mean with that
Nov 28 2017
On Tuesday, 28 November 2017 at 13:42:05 UTC, Stefan Koch wrote:On Tuesday, 28 November 2017 at 13:39:11 UTC, Jayam wrote:Thanks. Can we compile our program to multi platform?Is D language open source? Do this have GUI Desktop application support ? Do this have web api support ? Can we compile our program to multi program ?yes yes some (dlang-ui for example) yes some (vibe.d or arsd) I don't know what you mean with that
Nov 28 2017
On 11/28/17 8:52 AM, Jayam wrote:On Tuesday, 28 November 2017 at 13:42:05 UTC, Stefan Koch wrote:D supports several platforms: https://wiki.dlang.org/Compilers -SteveOn Tuesday, 28 November 2017 at 13:39:11 UTC, Jayam wrote:Thanks. Can we compile our program to multi platform?Is D language open source? Do this have GUI Desktop application support ? Do this have web api support ? Can we compile our program to multi program ?yes yes some (dlang-ui for example) yes some (vibe.d or arsd) I don't know what you mean with that
Nov 28 2017
On 28/11/2017 1:39 PM, Jayam wrote:Is D language open source?Yes 100%Do this have GUI Desktop application support ?Sure but probably not to the level you expect.Do this have web api support ?Ugh what? Be more specific.Can we compile our program to multi program ?Okay that definitely makes no sense. Do you mean can we cross compile to other architectures other than the host?
Nov 28 2017
On Tuesday, 28 November 2017 at 13:42:08 UTC, rikki cattermole wrote:On 28/11/2017 1:39 PM, Jayam wrote:Thanks. Can we compile our program to multi platform?Is D language open source?Yes 100%Do this have GUI Desktop application support ?Sure but probably not to the level you expect.Do this have web api support ?Ugh what? Be more specific.Can we compile our program to multi program ?Okay that definitely makes no sense. Do you mean can we cross compile to other architectures other than the host?
Nov 28 2017
On 11/28/2017 05:51 AM, Jayam wrote:Can we compile our program to multi platform?Most definitely! D is great in multi-threaded programming. (I hope that was the question. :) ) Ali
Nov 28 2017
In D lang, feature like async. 2. Is Garbage Collector work default without any code to force 3. Can we make library file and use that in any project like 'Util class' ?
Nov 29 2017
On 29/11/2017 11:32 AM, Jayam wrote:In D lang, like async.No. The idea is floating around however.2. Is Garbage Collector work default without any code to force like inAutomatic but if you want to be in control of it you can.3. Can we make library file and use that in any project like 'Util class' ?Yes, but you don't need utility classes. They are a code smell (free-functions are the solution here).
Nov 29 2017
On Wednesday, 29 November 2017 at 11:32:51 UTC, Jayam wrote:In D lang, feature like async.As for me, async/await feature is a half-baked solution. With vibe-d you can write asynchronous code without thinking about it at all. Details: http://vibed.org/features2. Is Garbage Collector work default without any code to forceIt starts automatically when you try to allocate memory and there is no space in heap. In fact, it leads to architecture restriction: destructors must be nogc. Also, you can run it with GC.collect()3. Can we make library file and use that in any project like 'Util class' ?Yes.
Nov 29 2017
On Wednesday, 29 November 2017 at 11:32:51 UTC, Jayam wrote:In D lang, [...] 3. Can we make library file and use that in any project like 'Util class' ?Of course ! Plenty of them can be found here: https://code.dlang.org/?sort=updated&category=library
Nov 29 2017
On Tuesday, 28 November 2017 at 13:39:11 UTC, Jayam wrote:Can we compile our program to multi program ?Platform" build option. No, that is a .NET thing and D is not on .NET (that project has died). D requires a more traditional approach to multiple platforms, you'll need to write your code with the needs of your supported platforms in mind. Luckily in pure D this is like no work, but when you interface to C/C++ libraries you'll hit sizes of types and structures changing almost randomly (ok it isn't that bad).
Nov 29 2017