www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Starting with D(2)

reply "Lars Johansson" <lars.a.johansson se.atlascopco.com> writes:
Hey all, I do not find a better suited forum or blog to ask some 
newbie questions.
I read some about D. Some years ago I actually wrote some small 
D1/tango programs just for fun. Now I like to start do some more 
serious stuff with D2. But there are some things bugging me.
It seems there is a blood feuds among D and tango communities. 
This looks bad, and something I do not like.

But more important I can not find good documentation how to 
install D2 with tango and phobos2. There are probably other 
useful libraries, where do I find them and how do I install them. 
I'm primarily looking for a Windows install. I managed to install 
D (dmd and probably phobos2) some examples do not even compile, 
so I probably didn't do a successful install.

I appreciate if someone can give some advice.
Apr 10 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-04-10 19:00, Lars Johansson wrote:
 Hey all, I do not find a better suited forum or blog to ask some newbie
 questions.
 I read some about D. Some years ago I actually wrote some small D1/tango
 programs just for fun. Now I like to start do some more serious stuff
 with D2. But there are some things bugging me.
 It seems there is a blood feuds among D and tango communities. This
 looks bad, and something I do not like.

 But more important I can not find good documentation how to install D2
 with tango and phobos2. There are probably other useful libraries, where
 do I find them and how do I install them. I'm primarily looking for a
 Windows install. I managed to install D (dmd and probably phobos2) some
 examples do not even compile, so I probably didn't do a successful install.

 I appreciate if someone can give some advice.

I great way to install D (including Phobos) is to use DVM: https://bitbucket.org/doob/dvm For D2, Tango is just like any other library, no special treatment is needed. https://github.com/SiegeLord/Tango-D2 -- /Jacob Carlborg
Apr 10 2012
prev sibling next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Apr 10, 2012 at 07:00:39PM +0200, Lars Johansson wrote:
 Hey all, I do not find a better suited forum or blog to ask some
 newbie questions.

Try d-learn (digitalmars-d-learn puremagic.com).
 I read some about D. Some years ago I actually wrote some small
 D1/tango programs just for fun. Now I like to start do some more
 serious stuff with D2. But there are some things bugging me.
 It seems there is a blood feuds among D and tango communities. This
 looks bad, and something I do not like.

This is ancient history. It only applies to D1.
 But more important I can not find good documentation how to install
 D2 with tango and phobos2. There are probably other useful
 libraries, where do I find them and how do I install them. I'm
 primarily looking for a Windows install. I managed to install D (dmd
 and probably phobos2) some examples do not even compile, so I
 probably didn't do a successful install.
 
 I appreciate if someone can give some advice.

Have you tried the instructions on this page: http://dlang.org/dmd-windows.html ? If you still have trouble after that, somebody here or on d-learn will be more than happy to assist you. T -- INTEL = Only half of "intelligence".
Apr 10 2012
prev sibling next sibling parent "Lars Johansson" <lars.a.johansson se.atlascopco.com> writes:
Thank you Jacob and H.S.
I try your suggestions. It's almost 20 years since i left IBM
mainfraimes and serious low level programming. Since then I just
worked with hilevel and scripting languages. I written some C
which I liked and C++ which I didn't like (I'm not particular
fond of OO) and Erlang I really like the concept of functional
programming but I'm probably to old or stupid for Erlang, I just
don't get the hang of it.
The D language is nicely designed and has an embedded assembler!
What more can you ask for?
It will probably take some time to get used to compile and
linkage routines. One task I have in mind is to build my own SAP
RFC interface in D, I do not think it exists one today, but that
will probably take more time than I have. Time will tell if my D
project ends up on the graveyard of good intentions or not.
I'm also looking into PERL6, another ambitious language project,
but it will take a year or two before Perl6 is ready for
employment.
Apr 11 2012
prev sibling next sibling parent bioinfornatics <bioinfornatics fedoraproject.org> writes:
Le mardi 10 avril 2012 =C3=A0 19:00 +0200, Lars Johansson a =C3=A9crit :
 Hey all, I do not find a better suited forum or blog to ask some=20
 newbie questions.
 I read some about D. Some years ago I actually wrote some small=20
 D1/tango programs just for fun. Now I like to start do some more=20
 serious stuff with D2. But there are some things bugging me.
 It seems there is a blood feuds among D and tango communities.=20
 This looks bad, and something I do not like.
=20
 But more important I can not find good documentation how to=20
 install D2 with tango and phobos2. There are probably other=20
 useful libraries, where do I find them and how do I install them.=20
 I'm primarily looking for a Windows install. I managed to install=20
 D (dmd and probably phobos2) some examples do not even compile,=20
 so I probably didn't do a successful install.
=20
 I appreciate if someone can give some advice.

Fedora 17 provides all you want. I think fedora give the easier way to use D. In repository you will found: - D compiler: ldc2 - standard library: phobos - GUI binding: gtkd - Game library: Derelict - other library: Tango In more fedora provides geany tag for each library, with these tags you will get autocompletion=20
Apr 13 2012
prev sibling parent "Michael" <pr m1xa.com> writes:
I have self-made installation of D2 lang (32 bit, dmd2 compiler, 
phobos2) that includes dsss, gtk/gtkd, opengl, libxml, iconv, 
gtksourceview libs.

Some examples must be manually updated, but compiles properly.

Installation is zip archive with above packages and one *.bat 
file that sets an valid environment variables. It's work good on 
Win 64 server edition.

At the moment it lets me develop serious applications.

The best two books at start are The D Programming Language and 
Fundation of Gtk+ Develpment.

On Tuesday, 10 April 2012 at 17:00:40 UTC, Lars Johansson wrote:
 Hey all, I do not find a better suited forum or blog to ask 
 some newbie questions.
 I read some about D. Some years ago I actually wrote some small 
 D1/tango programs just for fun. Now I like to start do some 
 more serious stuff with D2. But there are some things bugging 
 me.
 It seems there is a blood feuds among D and tango communities. 
 This looks bad, and something I do not like.

 But more important I can not find good documentation how to 
 install D2 with tango and phobos2. There are probably other 
 useful libraries, where do I find them and how do I install 
 them. I'm primarily looking for a Windows install. I managed to 
 install D (dmd and probably phobos2) some examples do not even 
 compile, so I probably didn't do a successful install.

 I appreciate if someone can give some advice.

Apr 13 2012