Starting with D(2)

2012-04-10 Thread Lars Johansson
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.


Re: Starting with D(2)

2012-04-10 Thread Jacob Carlborg

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


Re: Starting with D(2)

2012-04-10 Thread H. S. Teoh
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-le...@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".


Re: Starting with D(2)

2012-04-11 Thread Lars Johansson

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.


Re: Starting with D(2)

2012-04-13 Thread bioinfornatics
Le mardi 10 avril 2012 à 19:00 +0200, Lars Johansson a écrit :
> 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.

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 



Re: Starting with D(2)

2012-04-13 Thread Michael
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.