D for scientific computing

2013-01-23 Thread Alan
I saw an old thread from 2004 while doing a google search that discussed D and scientific computing and was looking for some more recent information or opinions from people who have used it for such purposes. I am a graduate student and my thesis work is in numerical modeling. While I have so

Re: D for scientific computing

2013-01-23 Thread Alan
My project will be working with the USGS Modflow model (a finite-difference model for groundwater flow written in fortran). Thankfully, it works with text input and output. So, the bit of the program I will be writing (which will talk back and forth to modflow through text) can be written in wh

Re: Online D course on coursera/udacity/etc?

2013-03-20 Thread Alan
suggestion would be more text-tutorials with plenty of examples aimed towards niche programmers. Alan

Anyone used LLVM-D with Dub?

2013-10-01 Thread Alan
Hello! I'm working on a project and I was going to use LLVM with the LLVM-D wrapper which has it's own Dub package and everything https://github.com/Calrama/llvm-d I've installed the package with Dub, added it to my packages/builds dependencies. When I build however I get an error: Linking... /

Re: Anyone used LLVM-D with Dub?

2013-10-02 Thread Alan
On Wednesday, 2 October 2013 at 18:43:06 UTC, Moritz Maxeiner wrote: On Wednesday, 2 October 2013 at 02:22:42 UTC, Alan wrote: Hello! I'm working on a project and I was going to use LLVM with the LLVM-D wrapper which has it's own Dub package and everything https://github.com/Calr

Re: Anyone used LLVM-D with Dub?

2013-10-03 Thread Alan
On Thursday, 3 October 2013 at 21:18:33 UTC, Moritz Maxeiner wrote: On Wednesday, 2 October 2013 at 02:22:42 UTC, Alan wrote: Hello! I'm working on a project and I was going to use LLVM with the LLVM-D wrapper which has it's own Dub package and everything https://github.com/Calrama/l

Finding the path to a executable?

2013-08-06 Thread Alan
would be located in /home/alan/projects/program for example. SO my question is how would I fetch the absolute path to that directory? Thanks for any help!

Re: Finding the path to a executable?

2013-08-06 Thread Alan
On Wednesday, 7 August 2013 at 06:08:44 UTC, Andre Artus wrote: On Wednesday, 7 August 2013 at 05:31:24 UTC, Alan wrote: Hello! This may seem like a simple question, maybe an embarassing question but how would I fetch the absolute path to the directory where my executable is located? My

Re: Finding the path to a executable?

2013-08-06 Thread Alan
On Wednesday, 7 August 2013 at 06:10:16 UTC, Ali Çehreli wrote: On 08/06/2013 10:31 PM, Alan wrote: Hello! This may seem like a simple question, maybe an embarassing question but how would I fetch the absolute path to the directory where my executable is located? My wording is known to be

Re: Finding the path to a executable?

2013-08-06 Thread Alan
On Wednesday, 7 August 2013 at 06:13:59 UTC, evilrat wrote: On Wednesday, 7 August 2013 at 05:31:24 UTC, Alan wrote: Hello! This may seem like a simple question, maybe an embarassing question but how would I fetch the absolute path to the directory where my executable is located? My wording

Re: Finding the path to a executable?

2013-08-06 Thread Alan
On Wednesday, 7 August 2013 at 06:22:25 UTC, evilrat wrote: On Wednesday, 7 August 2013 at 06:18:26 UTC, Alan wrote: Believe me I have tried all sorts of combonations of this but it's not guarunteed accuracy in certain situations, I thought there would be a solution in phobos library

Re: Finding the path to a executable?

2013-08-06 Thread Alan
On Wednesday, 7 August 2013 at 06:25:26 UTC, Andre Artus wrote: On Wednesday, 7 August 2013 at 06:10:35 UTC, Alan wrote: On Wednesday, 7 August 2013 at 06:08:44 UTC, Andre Artus wrote: On Wednesday, 7 August 2013 at 05:31:24 UTC, Alan wrote: Hello! This may seem like a simple question, maybe

Re: tooling quality and some random rant

2011-02-13 Thread Alan Smithee
> You can do the same in D using .di files. Except no one really does that because such an approach is insanely error prone. E.g. with classes, you need to copy entire definitions. Change any ordering, forget a field, change a type, and you're having undefined behavior. How about eating your own

Re: tooling quality and some random rant

2011-02-13 Thread Alan Smithee
Gary Whatmore Wrote (fixed that for you): Let's try to act reasonable here. Walter fanboyism is already getting old and sadly favored by our famous NG trolls, that is pretty much everyone here. I wouldn't be shocked to hear this Gary Whatmore will be bashing D in about 2 years' time when he realiz

Re: tooling quality and some random rant

2011-02-13 Thread Alan Smithee
Andrej Mitrovic Wrote: > Could you elaborate on that? Aren't .di files supposed to be auto- generated by the compiler, and not hand-written? Yea, aren't they? How come no one uses that feature? Perhaps it's intrinsically broken? *hint hint* This NG assumes a curious stance. Sprouting claims and

Re: tooling quality and some random rant

2011-02-13 Thread Alan Smithee
Nick Sabalausky Wrote: > "Perhaps"? Well, is it or isn't it? Are we supposed to just assume that lack of use means it's actually broken and not just unpopular? Assume it's broken or demonstrate large projects written in D to show that it CAN be unpopular because something else makes up for it. >

Re: tooling quality and some random rant

2011-02-13 Thread Alan Smithee
Agreed. These things might make D appear like less of a joke, thus attracting more hapless users to their subsequent dismay.

article comppetition

2011-06-11 Thread alan marble
I wanted to believe that after all the shit D would now finally take off thanks to the article competition. I was A BIT surprised to see how small amount of articles AND votes the thing got. The community is super small loser circle jerk hobby. There's no way around that. I'm goingg back to C++

Re: Apache HTTPD server module in D (linux)

2009-09-10 Thread Alan Knowles
Have a look at fastcgi - http://www.akbkhome.com/svn/rooscript/src/fcgi.d http://www.akbkhome.com/svn/rooscript/src/fastcgi/ Ignore the licence in fcgi.d - that only relates to dmdscript related code - the fastcgi implementation is BSD style (with no restrictions) Regards Alan Justin

Re: The new, new phobos sneak preview

2009-04-06 Thread Alan Knowles
() writeLF() writeCRLF(), then letting writeLine call them, dependant on which platform would be better? I guess in-line comments in the manual are a bit outside your scope at present. Anyway great work. Regards Alan Andrei Alexandrescu wrote: Hi everybody, I just committed all of Phobos i

Re: The new, new phobos sneak preview

2009-04-06 Thread Alan Knowles
Denis Koroskin wrote: On Tue, 07 Apr 2009 03:34:37 +0400, Alan Knowles wrote: Really Sweet, Any chance of fixing one of my pet peeves of std.stream writeLine() - using platform dependant line endings Almost all the socket work I've done with this has made it a rather annoying poin

Re: dmd platform support - poll

2008-12-26 Thread Alan Knowles
freebsd 32 bit - This is the target platform for our live servers as the networking guy is a freebsd fanatic (drives me up the wall) - dmd should be a relatively easy port? Walter Bright wrote: What platforms for dmd would you be most interested in using? .net jvm mac osx 32 bit intel mac os