Thread overview
Numerical libraries in D
Dec 24, 2004
Ben Hinkle
Dec 25, 2004
Simon Buchan
December 23, 2004
Hello all,

I've been playing with D now for a few months ever since I saw a reference to it on slashdot and have really enjoyed the language.  Its as close to an ideal language for me as I can see right now.  My principle interest in it is in writing numerical physics models.  I've written a few toy models (Particle particle codes mostly) but I'm wanting to embark on a larger effort.

I've been searching for a few days now on any references to work being done on supporting numerical programming in D. What I'm wondering in particular is if anyone has looked at wrapping LAPACK, BLAS, or GSL in D.  I know that D can call C libraries directly but there is still an extern(C) declaration that has to be made and D structures have to be defined to mirror the C structures.

Thanks
Gordon Miller
gmiller@bittwiddlers.com
December 24, 2004
In article <cqd50u$1ag7$1@digitaldaemon.com>, Gordon James Miller says...
>
>Hello all,
>
>I've been playing with D now for a few months ever since I saw a reference to it on slashdot and have really enjoyed the language.  Its as close to an ideal language for me as I can see right now.  My principle interest in it is in writing numerical physics models.  I've written a few toy models (Particle particle codes mostly) but I'm wanting to embark on a larger effort.
>
>I've been searching for a few days now on any references to work being done on supporting numerical programming in D. What I'm wondering in particular is if anyone has looked at wrapping LAPACK, BLAS, or GSL in D.  I know that D can call C libraries directly but there is still an extern(C) declaration that has to be made and D structures have to be defined to mirror the C structures.
>
>Thanks
>Gordon Miller
>gmiller@bittwiddlers.com

I'm not aware of anyone working on that so I think you're the first to give it a shot. sounds fun.


December 25, 2004
On Wed, 22 Dec 2004 19:54:54 -0500, Gordon James Miller <gmiller@bittwiddlers.com> wrote:

> Hello all,
>
> I've been playing with D now for a few months ever since I saw a reference to it on slashdot and have really enjoyed the language.  Its as close to an ideal language for me as I can see right now.  My principle interest in it is in writing numerical physics models.  I've written a few toy models (Particle particle codes mostly) but I'm wanting to embark on a larger effort.
>
> I've been searching for a few days now on any references to work being done on supporting numerical programming in D. What I'm wondering in particular is if anyone has looked at wrapping LAPACK, BLAS, or GSL in D.  I know that D can call C libraries directly but there is still an extern(C) declaration that has to be made and D structures have to be defined to mirror the C structures.
>
> Thanks
> Gordon Miller
> gmiller@bittwiddlers.com

This may be what you are looking for: but it's still alpha, and may not
be being maintained. http://www.dsource.org/projects/h2d/

-- 
"Unhappy Microsoft customers have a funny way of becoming Linux,
Salesforce.com and Oracle customers." - www.microsoft-watch.com:
"The Year in Review: Microsoft Opens Up"
--
"I plan on at least one critical patch every month, and I haven't been disappointed."
- Adam Hansen, manager of security at Sonnenschein Nath & Rosenthal LLP
(Quote from http://www.eweek.com/article2/0,1759,1736104,00.asp)
--
"It's been a challenge to "reteach or retrain" Web users to pay for content, said Pizey"
-Wired website: "The Incredible Shrinking Comic"