Domain: dsource.org
Stories and comments across the archive that link to dsource.org.
Comments · 17
-
Other MinWin
I take it they're not referring to this MinWin?
-
Re:confusing
Are you referring to DSSS?
-
Re:GDC source is not 64-bit clean
See http://dsource.org/projects/gentoo/wiki/LaymanSet
u p for a portage overlay that includes DMD-bin. You have to edit the layman configuration and disable warnings about missing fields, but it works fine after that.I tried it, and it added the package, but it is masked by missing keyword. Besides, I don't want to install dmd, which is the 32bit compiler from digital mars, I'd rather have the gcc addon gdc built into my existing 64bit compiler system. I currently don't have the 32bit emulation libs installed, and I don't plan on installing them either. I have a pretty cool system going that is 64bit clean and runs like my own personal supercomputer. I'm into engineering, science, and mathematics programming, so I really like the free extra precision with 64bit and sse3 not to mention the extra cpu registers.
I might try and compile D (gdc) into
/usr/local/gcc-4.0 again just to see if I can get it to work, but it is obvious that some patches need to get sent upstream for the amd64 platform. I'm not sure how best to implement the patches, but I would think that it should be done using autotools, and that config.h mechanism. -
Re:GDC source is not 64-bit clean
See http://dsource.org/projects/gentoo/wiki/LaymanSet
u p for a portage overlay that includes DMD-bin. You have to edit the layman configuration and disable warnings about missing fields, but it works fine after that. -
Re:D is surprisingly good.
Please see: http://dsource.org/projects/bcd
-
Python and D
One area I see D being useful in is integration with Python. Writing to the raw Python/C API is cumbersome. (Managing reference counts is tedious.) Boost.Python is difficult to build and slow to compile. I've written a library for D called Pyd, whose purpose is not entirely unlike Boost.Python's.
Pyd is easy to use. It provides its own extension to Python's distutils. Usually, you just need to make sure the D compiler is on your PATH, write a setup.py file, and run python setup.py build.
"Hello world" in Pyd looks something like this (and I apologize for the lack of indentation):
import pyd.pyd;
import std.stdio;
void hello_func() {
writefln("Hello, world!");
}
extern (C) void PydMain() {
def!(hello_func);
module_init();
} -
Re:GUI for D language
-
Currently learning DNote: I've been programming in C/C++ for four years.
I took it upon myself to learn D not more than a few weeks ago. A classmate introduced me to the language last spring.
While I'm still learning D, it has some notable features:- auto keyword for inferred type declaration
- lazy keyword for evaluation
- delegates are like function pointers, but cooler. Literal statements can be passed as variables, and aren't evaluated until the delegate is called.
- scope(exit|failure|success), specify a block of exit code
- in/out/inout function keywords, offer readable code for determining what a parameter in a function is designed for.
- get/set methods automatically become a property (accessed like a public variable)
- foreach, foreach_reverse, container iteration
- with statement, C++'s using on a object-level
Of course one may argue that none of this is necessary and could be made independent of the language itself. My belief is that would increase the complexity of coding in D.
If you're interested in D you should visit http://www.dsource.org/. There are some interesting projects such as Derelict (collection of C game bindings) and Bud (make and SCons replacement). -
Currently learning DNote: I've been programming in C/C++ for four years.
I took it upon myself to learn D not more than a few weeks ago. A classmate introduced me to the language last spring.
While I'm still learning D, it has some notable features:- auto keyword for inferred type declaration
- lazy keyword for evaluation
- delegates are like function pointers, but cooler. Literal statements can be passed as variables, and aren't evaluated until the delegate is called.
- scope(exit|failure|success), specify a block of exit code
- in/out/inout function keywords, offer readable code for determining what a parameter in a function is designed for.
- get/set methods automatically become a property (accessed like a public variable)
- foreach, foreach_reverse, container iteration
- with statement, C++'s using on a object-level
Of course one may argue that none of this is necessary and could be made independent of the language itself. My belief is that would increase the complexity of coding in D.
If you're interested in D you should visit http://www.dsource.org/. There are some interesting projects such as Derelict (collection of C game bindings) and Bud (make and SCons replacement). -
Currently learning DNote: I've been programming in C/C++ for four years.
I took it upon myself to learn D not more than a few weeks ago. A classmate introduced me to the language last spring.
While I'm still learning D, it has some notable features:- auto keyword for inferred type declaration
- lazy keyword for evaluation
- delegates are like function pointers, but cooler. Literal statements can be passed as variables, and aren't evaluated until the delegate is called.
- scope(exit|failure|success), specify a block of exit code
- in/out/inout function keywords, offer readable code for determining what a parameter in a function is designed for.
- get/set methods automatically become a property (accessed like a public variable)
- foreach, foreach_reverse, container iteration
- with statement, C++'s using on a object-level
Of course one may argue that none of this is necessary and could be made independent of the language itself. My belief is that would increase the complexity of coding in D.
If you're interested in D you should visit http://www.dsource.org/. There are some interesting projects such as Derelict (collection of C game bindings) and Bud (make and SCons replacement). -
Re:Probably Sourceforge?
Yeah, Sourforge sucks.
Not only it's full of flaws, but the interface is awful.
Trac is the way to go.
We need more large-scale sites offering Trac hosting.
The game I'm currently working on, QonkD, is hosted at a site that uses Trac, and I'm very happy with it.
(Note that they accept only projects in the D programming language, and their site is a bit slow, probably cause it's small and lack resources.) -
Re:D programming language
Also, GDC needs to become more stable and integrated into GCC, or at least appear in most Linux distros' package repositories. A 1.0-release with a stable ABI will also help. And the D-mangling patch for GDB should be integrated...
A stable cross-platform GUI library is also needed. WxWidgets is good on Windows and UNIX but only "OK" on MacOS X. A stable release of WxD will do. DWT (D port of Java's SWT) seems promising also but AFAIK only available as a win32-only alpha release so far. D bindings for Qt 4 would rock!
D is a really great language and I really hope it will catch on! It has a lot of potential to be the next big programming language in the areas where C and C++ rule today, and even in some of the areas where C# and Java rule. Unfortunatly I don't think it will happen because "the market" often wear blinkers but I'd love to be proven wrong. :) -
Re:The D Programming Language
I have been using D for a few weeks now, and I am amazed at how productive and fun it is to use compared to C++. It has the flexibility of C#/Java and the performance of C/C++.
I've been working in C/C++ for more than 10 years now, and the language's been getting so complex and it's libraries so full of template hacks, that it's no longer fun to work with.
Java, on the other side, has a cleaner syntax, but it's memory footprint and general bloat make it impossible to use in any place except big server applications. Even the best results when writing GUI applications (those that use SWT) are not responsive enough compared to those written in C/C++.
There are very interesting D projects at dsource.org, including Mango, DDL, DWT, Build and others.
You should evaluate the language and judge it on its technical merits. If you're a C++ programmer looking for greener pastures, I'm sure you'll fall in love with the language immediately. -
Re:The D Programming Language
I have been using D for a few weeks now, and I am amazed at how productive and fun it is to use compared to C++. It has the flexibility of C#/Java and the performance of C/C++.
I've been working in C/C++ for more than 10 years now, and the language's been getting so complex and it's libraries so full of template hacks, that it's no longer fun to work with.
Java, on the other side, has a cleaner syntax, but it's memory footprint and general bloat make it impossible to use in any place except big server applications. Even the best results when writing GUI applications (those that use SWT) are not responsive enough compared to those written in C/C++.
There are very interesting D projects at dsource.org, including Mango, DDL, DWT, Build and others.
You should evaluate the language and judge it on its technical merits. If you're a C++ programmer looking for greener pastures, I'm sure you'll fall in love with the language immediately. -
Re:The D Programming Language
I have been using D for a few weeks now, and I am amazed at how productive and fun it is to use compared to C++. It has the flexibility of C#/Java and the performance of C/C++.
I've been working in C/C++ for more than 10 years now, and the language's been getting so complex and it's libraries so full of template hacks, that it's no longer fun to work with.
Java, on the other side, has a cleaner syntax, but it's memory footprint and general bloat make it impossible to use in any place except big server applications. Even the best results when writing GUI applications (those that use SWT) are not responsive enough compared to those written in C/C++.
There are very interesting D projects at dsource.org, including Mango, DDL, DWT, Build and others.
You should evaluate the language and judge it on its technical merits. If you're a C++ programmer looking for greener pastures, I'm sure you'll fall in love with the language immediately. -
Re:The D Programming Language
I have been using D for a few weeks now, and I am amazed at how productive and fun it is to use compared to C++. It has the flexibility of C#/Java and the performance of C/C++.
I've been working in C/C++ for more than 10 years now, and the language's been getting so complex and it's libraries so full of template hacks, that it's no longer fun to work with.
Java, on the other side, has a cleaner syntax, but it's memory footprint and general bloat make it impossible to use in any place except big server applications. Even the best results when writing GUI applications (those that use SWT) are not responsive enough compared to those written in C/C++.
There are very interesting D projects at dsource.org, including Mango, DDL, DWT, Build and others.
You should evaluate the language and judge it on its technical merits. If you're a C++ programmer looking for greener pastures, I'm sure you'll fall in love with the language immediately. -
Re:The D Programming Language
I have been using D for a few weeks now, and I am amazed at how productive and fun it is to use compared to C++. It has the flexibility of C#/Java and the performance of C/C++.
I've been working in C/C++ for more than 10 years now, and the language's been getting so complex and it's libraries so full of template hacks, that it's no longer fun to work with.
Java, on the other side, has a cleaner syntax, but it's memory footprint and general bloat make it impossible to use in any place except big server applications. Even the best results when writing GUI applications (those that use SWT) are not responsive enough compared to those written in C/C++.
There are very interesting D projects at dsource.org, including Mango, DDL, DWT, Build and others.
You should evaluate the language and judge it on its technical merits. If you're a C++ programmer looking for greener pastures, I'm sure you'll fall in love with the language immediately.