Re: CUDA with D?

2009-02-23 Thread Chris R Miller
Trass3r wrote: Is there any tutorial or code for using CUDA with D? Short answer: no. I looked into writing CUDA with D a while back. The problem is that the CUDA C runtime and the D runtime are 100% incompatible. CUDA works by taking C-like code and compiling it with a special NVCC

Re: DB/DBMS in D

2009-02-16 Thread Chris R Miller
Vladimir A. Reznichenko wrote: Dear Mr./Ms., I'd like to ask you about the garbage collector. It slows down an application, doesn't it? In case of DBMS, this is critical. I haven't found any articles or tests about this. Also it would be great to find out about memory management implemented

Re: forward reference hell!

2009-02-15 Thread Chris R Miller
To stop a forward-reference problem you need to declare the type, but not implement it. Eg: $ cat vector.d #- module vector; class Vector(E) { E[] data; } $ cat student.d #- module

Re: Just one more thing...

2009-02-14 Thread Chris R Miller
Extrawurst wrote: Walter Bright wrote: Now includes Mac OSX version! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.040.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.025.zip Expect bugs. Thread local storage isn't

Re: goto

2009-02-06 Thread Chris R Miller
Bill Baxter wrote: On Fri, Feb 6, 2009 at 2:30 PM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Walter Bright wrote: double euclideanDistance(Range)(Range a, Range b, double limit) { limit *= limit; double result = 0; for (; 1; a.next, b.next) { if

Re: The path to unity

2009-02-06 Thread Chris R Miller
Jarrett Billingsley wrote: On Fri, Feb 6, 2009 at 11:05 AM, Donnos...@nospam.com wrote: With the druntime project, we now have a run time which is shared between Tango and Phobos. This is a huge step forward, but it's still not much use without some common user code. The highest priorities

Re: QtD 0.1 is out!

2009-02-05 Thread Chris R Miller
Nick Sabalausky wrote: Daniel Keepdaniel.keep.li...@gmail.com wrote in message news:gmfujj$2t...@digitalmars.com... Ary Borenszweig wrote: Daniel Keep escribió: No files in this directory. Well that sucks. Oh well, I... hey, wait a second... *unblocks javascript* No files in this

Re: D versus Objective C Comparison

2009-02-02 Thread Chris R Miller
John Reimer wrote: I link to stuff so that people can do more reading if they want. :) And again, I'm not there to really give a history lesson, more to analyze the situation of you want to build an app which does foo, which is better for that purpose? (the answer is that it depends: who do

Re: D versus Objective C Comparison

2009-02-01 Thread Chris R Miller
John Reimer wrote: Hello Chris, http://www.fsdev.net/~cmiller/a/20090123_dvobjc.html Also, I do honor the right of reply. If there's something I have written that is now incorrect or inaccurate I will of course change my page to reflect that. Heck, all the comparisons in the world are

Re: function to slive a quadratic equation

2009-02-01 Thread Chris R Miller
zvia wrote: Is it true? Well, void main will implicitly return 0 to the local operating system, so it must be! void main()

Re: function to slive a quadratic equation

2009-02-01 Thread Chris R Miller
BCS wrote: Hello Christopher, Thrinput's Way was discredited in the late 1700's by a German theologian named Albrecht Kirsch. It was already in decline due to its requirements of extreme asceticism; many scholars, most notably Dr. M. Foster of Yale, attribute its temporary success to its

D versus Objective C Comparison

2009-01-31 Thread Chris R Miller
In my hiatus from D, I decided to take the plunge and teach myself Objective-C. This gave me some interesting insights into both languages. It's so fun, whenever I find another programmer, one of the first twenty things I say is have you ever tried Digital Mars D? It will change your whole

Re: D versus Objective C Comparison

2009-01-31 Thread Chris R Miller
Walter Bright wrote: Chris R Miller wrote: Also, I do honor the right of reply. If there's something I have written that is now incorrect or inaccurate I will of course change my page to reflect that. Heck, all the comparisons in the world are worthless if they aren't accurate! Thanks

Re: D versus Objective C Comparison

2009-01-31 Thread Chris R Miller
Michel Fortin wrote: On 2009-01-31 15:39:17 -0500, Chris R Miller lordsauronthegr...@gmail.com said: Anyways, I decided to write up a comparison of the two languages from a less technical, more deployment oriented standpoint. IOW, examining how well they perform for the last mile

Re: D versus Objective C Comparison

2009-01-31 Thread Chris R Miller
Walter Bright wrote: Chris R Miller wrote: Walter Bright wrote: Chris R Miller wrote: Also, I do honor the right of reply. If there's something I have written that is now incorrect or inaccurate I will of course change my page to reflect that. Heck, all the comparisons in the world

Re: D versus Objective C Comparison

2009-01-31 Thread Chris R Miller
Michel Fortin wrote: On 2009-01-31 18:50:52 -0500, Walter Bright newshou...@digitalmars.com said: Michel Fortin wrote: One area I think Objective-C to be very great and that you haven't touched is for creating stable APIs. In Objective-C, contrary to D and C++, you don't have to recompile

Re: D versus Objective C Comparison

2009-01-31 Thread Chris R Miller
Michel Fortin wrote: On 2009-01-31 17:03:10 -0500, Chris R Miller lordsauronthegr...@gmail.com said: Michel Fortin wrote: On 2009-01-31 15:39:17 -0500, Chris R Miller lordsauronthegr...@gmail.com said: Anyways, I decided to write up a comparison of the two languages from a less technical

Re: People speaketh

2009-01-29 Thread Chris R Miller
Andrei Alexandrescu wrote: first/last - 13: Jarrett, Bill, dsimcha, Sandeep, Chad, Tiago, Robert, Simen, Brian, Bill, Yigal, Gide, Ary. head/toe - 9: Bill, dsimcha, Robert, Simen, Max, Don, Michel, Denis, Brian, front/back - 15: dsimcha, Chad, Steve, Robert, Nick, BCS, Bill, BLS, Yigal,