LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2005, 11:00 AM   #1
dafatdude
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Rep: Reputation: 0
Is D really something special?


Hi guys,

Just been browsing google and i have come across a language i wasn't aware existed. the D programming languages purports to deliver the power and effiency of C/C++ with memory management of Java.

I was wondering if anyone has had much experience with this language and how well it works with linux and KDE/Gnome etc.

I'm also interested in some snippets of code that do meaningful things so i can compare them to Java/C.

Thanks

dafat
 
Old 05-16-2005, 11:51 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
post a link to where you read this............thx
 
Old 05-16-2005, 12:15 PM   #3
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
I haven't looked at it, so you can completely ignore my opinion.

It really depends on what you mean by special. Do you mean good? It could be very good, but that doesn't mean you should use it. Unless you are planning on using and supporting a language all by yourself or a small subset of people, then you should use something that is "standard". In the real world, it's all about support and compatibility.

If you are truly looking for something "special", you should look into Ruby. I don't know anything about it either. hehe... But you can tell if something is "special" by how well it is getting adopted.
 
Old 05-17-2005, 05:47 AM   #4
dafatdude
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Original Poster
Rep: Reputation: 0
http://www.digitalmars.com/d/
 
Old 05-17-2005, 09:30 AM   #5
jtshaw
Moderator
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 63
The gcc front end is very buggy.... so while it sounds good in theory, it doesn't seam very usable to this point.

Last edited by jtshaw; 05-17-2005 at 12:30 PM.
 
Old 05-17-2005, 11:06 AM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 52
I just wonder if the world really needs another programming language? Surely at this stage there is already a language out there that can accomplish whatever you might try to do in D?
 
Old 05-18-2005, 06:53 AM   #7
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: Slackware64 13.37, Kubuntu 10.04
Posts: 2,944

Rep: Reputation: Disabled
There was a big thread on this a while back. My opinion given on that one was that Windows API and DLL support are written into the language definition, making it biased toward Windows. There is no built in POSIX support, however. Just as VMWare is much weaker on Linux than on Windows, D will probably stay geared toward Windows with a second rate version for POSIX. I can't imagine it staying entirely free as C/C++ are for long since keeping up with a commercial OS isn't always free; what happens when MS makes them pay for specs on new API/DLL features? If I were a greedy bastard (and owned MS) I would do that...
ta0kira

PS (enforcing a double standard...) why can't it be biased toward POSIX like Qt is?

Last edited by ta0kira; 05-18-2005 at 06:56 AM.
 
Old 05-18-2005, 07:21 AM   #8
dafatdude
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Komakino
I just wonder if the world really needs another programming language? Surely at this stage there is already a language out there that can accomplish whatever you might try to do in D?
I think it's trying to have the best of both worlds (C/Java). While good in theory i can see it definitely having maturity problems seeing as it hasn't been around for as long as the other languages.

I wondering if it's hard to program windows applications with it though? Interesting
 
Old 05-18-2005, 09:48 PM   #9
jwn7
Member
 
Registered: Aug 2004
Location: pittsburgh, pa
Distribution: gentoo
Posts: 81

Rep: Reputation: 15
http://www.osnews.com/story.php?news_id=6761

there's a good article on D. i was gonna learn it, but then i heard rumors that the frontend to gcc is not exactly good to go yet. then a friend pointed me towards ruby which was what i am looking for.
 
Old 05-21-2005, 05:41 AM   #10
Chris Weimer
Member
 
Registered: Jan 2004
Location: http://www.neonostalgia.com/
Distribution: Slackware 12.1
Posts: 81

Rep: Reputation: 15
I first saw D about two years ago. It seemed to have died until now. But I don't even see a need for Java, as C(++) does everything I need it to do (well, Perl and PHP for web apps).
 
Old 05-24-2005, 12:52 AM   #11
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: Slackware64 13.37, Kubuntu 10.04
Posts: 2,944

Rep: Reputation: Disabled
Java makes a good intro to OOP for people who have never programmed before. A much better intro than C++ anyway. You can also write portable network apps with it. Even if D is an improved consolidation of Java, C, and C++, it won't fully replace any of them. It won't make as fast of binaries as C because it generates C++ code (not to mention I don't see the Linux kernel being converted to D code), it won't become a de facto web standard like Java because the assurance that any arbitrary web app isn't going to erase your hd without asking you isn’t there, and of course C++ will still be there because, even though it's more sophisticated than C, everything is in the code and you can therefore control everything (ideally anyway). D appears to want to hide certain things like de-allocation of dynamic memory which I think is sloppy unless you are using auto pointers, but in that case at least you know it's the class that is doing it, and you have the choice to NOT have automatic de-allocation. You can adapt allocation and deallocation to your needs. You can also look at the header file to see exactly what will happen when you use an auto pointer. And of course, it won't ever replace C++ because it has OS specific features.
ta0kira
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Special Characters SimeonV Suse/Novell 14 07-07-2006 01:29 PM
block special and character special files s_shenbaga Linux - Newbie 1 04-20-2005 03:49 PM
using special characters one_ro Mandriva 5 11-04-2004 08:52 AM
Special Keys raven Linux - Laptop and Netbook 0 10-16-2003 09:21 AM
i need help with a special character Hone101 Linux - Newbie 1 05-03-2003 07:21 PM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration