February 02, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to rumbu | On Friday, 2 February 2018 at 13:04:19 UTC, rumbu wrote: > On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote: > >> [...] > [snip] >> [...] > > As a typical very lazy & convenient Windows user, even I don't want to discourage you, let me tell you that every developer from the Windows world will have a copy of Visual Studio installed. New Project -> Console Application -> Hit F5. It just works. Set a breakpoint -> Hit F5. It just works. > > [...] DLangUI has DML which is like QML for QtQuick in Qt. Its possible to create a UI builder for it in Visual Studio or better still an independent tool like Glade for Gtk. Anyways, DLangUI currently stands as the defacto cross-platform GUI library for D. Its keeps getting better in functionality. > - not enough samples in VS. At least an updated GUI app and and a Web server app must be available. Just as a proof of concept. |
February 02, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Friday, 2 February 2018 at 15:13:49 UTC, aberba wrote:
>
> Anyways, DLangUI currently stands as the defacto cross-platform GUI library for D. Its keeps getting better in functionality.
In this context, I'm talking about a lazy and convenient Windows user first experience with D. He doesn't know anything about dub, packages or about the excellent work of Vadim. It will be nice for him to type "import std.ui" instead to download dub, install it, launch command prompt, run some mysterious dub command and download 5 dependencies just to display a window. Even the fact that you must use dub to have a GUI project is not understandable for a first time user.
The current GUI Sample for D in Visual Studio just throws an exception and the code looks painfully too similar to the one I found in my first Windows programming book from the '90s :)
|
February 02, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to rjframe | Here's how I get started: - Install DMD. - Install Visual Studio Code. - Add Jan Jurzitza's (webfreak) serve-d and Native Debug plugins to VSC. - Get busy. |
February 02, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ivan Trombley | On Friday, 2 February 2018 at 20:42:55 UTC, Ivan Trombley wrote:
> Here's how I get started:
> - Install DMD.
> - Install Visual Studio Code.
> - Add Jan Jurzitza's (webfreak) serve-d and Native Debug plugins to VSC.
> - Get busy.
this entire procedure also works on windows now as you no longer need LDC for serve-d/workspace-d to work :)
|
February 02, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ivan Trombley | On Friday, 2 February 2018 at 20:42:55 UTC, Ivan Trombley wrote: > Here's how I get started: > - Install DMD. > - Install Visual Studio Code. > - Add Jan Jurzitza's (webfreak) serve-d and Native Debug plugins to VSC. C:\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(543,33): Deprecation: integral promotion not done for `-x`, use '-transition=intpromote' switch or `-cast(int)(x)` emsi_containers 0.5.3: building configuration "library"... dsymbol 0.2.8: building configuration "library"... ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\conversion\first.d(189,15): Error: no property 'symbol' for type 'const(Type2)' ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\conversion\first.d(189,42): Error: no property 'symbol' for type 'const(Type2)' ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\conversion\first.d(192,23): Error: no property 'symbol' for type 'const(Type2)' ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\conversion\first.d(248,35): Error: no property 'identifierList' for type 'const(AliasDeclaration)' ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\conversion\first.d(938,14): Error: no property 'symbol' for type 'const(Type2)' ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\conversion\first.d(939,18): Error: no property 'symbol' for type 'const(Type2)' ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\emsi_containers-0.5.3\emsi_containers\src\containers\unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)` ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\semantic.d(123,21): Error: no property 'symbol' for type 'dparse.ast.Type2' ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\semantic.d(124,21): Error: no property 'symbol' for type 'dparse.ast.Type2' ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\semantic.d(128,21): Error: no property 'symbol' for type 'dparse.ast.Type2' ..\..\..\dub\packages\dsymbol-0.2.8\dsymbol\src\dsymbol\semantic.d(130,21): Error: no property 'symbol' for type 'dparse.ast.Type2' dmd failed with exit code 1. Failed to install serve-d (Error code 2) > - Get busy. Yes. Now I'm busy cleaning my C:\Users\***\AppData\Roaming\ folder. |
February 03, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to rumbu | On Friday, 2 February 2018 at 19:41:13 UTC, rumbu wrote:
> In this context, I'm talking about a lazy and convenient Windows user first experience with D. He doesn't know anything about dub, packages or about the excellent work of Vadim. It will be nice for him to type "import std.ui" instead to download dub, install it, launch command prompt, run some mysterious dub command and download 5 dependencies just to display a window. Even the fact that you must use dub to have a GUI project is not understandable for a first time user.
>
> The current GUI Sample for D in Visual Studio just throws an exception and the code looks painfully too similar to the one I found in my first Windows programming book from the '90s :)
Exaclty !
what about EnticeDesigner and DFL ?!
it's very simple and similar to C# in coding style and naming...
i couldn't run DFL yet (due to deprecated features i couldn't fix as i'm newbie)
is there anybody be able to revive that ?
|
February 03, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to rjframe | On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote:
> Do you have any thoughts, ideas, foresee any problems, have a better way to do this? I especially don't want to do something that is actively harmful - if the self-contained package makes things confusing to someone trying to work with globally-installed tools too, that could potentially be worse than what we have now.
>
I think that many people looking for a new language first check the possibilities of creating a GUI. At least it was with me. If I did not found DlangUI by accident, I would not be interested in D. Maybe on the main page should be a GUI tab with recommended packages with screenshots?
Personally, I am surprised by the constant struggle with the garbage collector. For most common applications, this is not a problem. And the lack of cross-platform GUI creation is a big problem. D can win against Rust or Nimlang in this field.
When I was choosing the new language for me, I tested Rust, Nim, D and many more. Only D had enough mature GUI to write IDE (DlangIDE). And now, after a year, I created my first commercial application using DlangUI, and the whole code was written in DlangIDE.
When I wrote it 50% of the time it was fixing errors in DlangUI. So DlangUI and DlangIDE need more programmers and can easily become a big competitor for eg QT. Especially that it is released under the Boost license.
For me it does not have to be one package, but the possibility of creating applications with GUI should be more exposed on D main web page. Although it might be fun to create GUIAppDeveloperStarterPack with ready to run examples.
Or maybe we just need a package of examples in download page.
|
February 03, 2018 Re: [RFC] IDE starter kit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrzej Kilijański | On Saturday, 3 February 2018 at 10:44:58 UTC, Andrzej Kilijański wrote: > On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote: > >>[...] > > I think that many people looking for a new language first check the possibilities of creating a GUI. At least it was with me. If I did not found DlangUI by accident, I would not be interested in D. Maybe on the main page should be a GUI tab with recommended packages with screenshots? > > [...] > > When I was choosing the new language for me, I tested Rust, Nim, D and many more. Only D had enough mature GUI to write IDE (DlangIDE). And now, after a year, I created my first commercial application using DlangUI, and the whole code was written in DlangIDE. > > [...] That much practical now > > [...] |
Copyright © 1999-2021 by the D Language Foundation