digitalmars.D.announce - On the D Blog: A Gas Dynamics Toolkit in D
- Mike Parker (8/8) Feb 02 2022 The University of Queensland's Centre for Hypersonics has [a gas
- Paulo Pinto (3/12) Feb 02 2022 And HN,
- Paulo Pinto (3/19) Feb 02 2022 Sorry, copy-paste gone wrong, right URL.
- Abdulhaq (5/14) Feb 02 2022 I thought this was a great example of a sweet spot for D. I had
- Sergey (2/20) Feb 02 2022 Screen looks like made with Paraview for visualisation.
- Kyle (4/22) Feb 02 2022 To confirm, I used the open-source visualization software,
- Abdulhaq (2/10) Feb 03 2022 interesting, thanks Kyle
- Steven Schveighoffer (5/17) Feb 02 2022 So cool. I love reading success stories like this.
- H. S. Teoh (15/16) Feb 02 2022 [...]
- Adam D Ruppe (2/5) Feb 02 2022 No incompatibility there: "better than C++" is a very low bar.
- Steven Schveighoffer (5/21) Feb 02 2022 D error messages can be bad. Especially when you are using lots of range...
- H. S. Teoh (26/30) Feb 02 2022 [...]
- Dukc (7/16) Feb 02 2022 This reminds me about SARC. They use D for hydrodynamics software
The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/
Feb 02 2022
On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote:The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/And HN, https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/
Feb 02 2022
On Wednesday, 2 February 2022 at 12:53:50 UTC, Paulo Pinto wrote:On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote:Sorry, copy-paste gone wrong, right URL. https://news.ycombinator.com/item?id=30176778The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/And HN, https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/
Feb 02 2022
On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote:The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/I thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation in the blog post.
Feb 02 2022
On Wednesday, 2 February 2022 at 14:35:42 UTC, Abdulhaq wrote:On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote:Screen looks like made with Paraview for visualisation.The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/I thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation in the blog post.
Feb 02 2022
On Wednesday, 2 February 2022 at 14:35:42 UTC, Abdulhaq wrote:On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote:To confirm, I used the open-source visualization software, Paraview (https://www.paraview.org/), to generate the image from the blog post.The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/I thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation in the blog post.
Feb 02 2022
On Wednesday, 2 February 2022 at 23:03:57 UTC, Kyle wrote:interesting, thanks KyleI thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation in the blog post.To confirm, I used the open-source visualization software, Paraview (https://www.paraview.org/), to generate the image from the blog post.
Feb 03 2022
On 2/2/22 3:14 AM, Mike Parker wrote:The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dy amics_toolkit_in_d/So cool. I love reading success stories like this. More evidence that people who are not high-performance developers can approach D and find it a good fit! -Steve
Feb 02 2022
On Wed, Feb 02, 2022 at 08:14:32AM +0000, Mike Parker via Digitalmars-d-announce wrote: [...]https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/[...] Favorite quote: "Good error messages from the compiler. We often used to be overwhelmed by the C++ template error messages that could run to hundreds of lines. The D compilers have been much nicer to us and we have found the “did you mean” suggestions to be quite useful." Interesting that the author(s) found D error messages better than C++, in spite of frequent complaints about error messages here in the forums. :-P T -- Famous last words: I *think* this will work...
Feb 02 2022
On Wednesday, 2 February 2022 at 16:32:26 UTC, H. S. Teoh wrote:Interesting that the author(s) found D error messages better than C++, in spite of frequent complaints about error messages here in the forums. :-PNo incompatibility there: "better than C++" is a very low bar.
Feb 02 2022
On 2/2/22 11:32 AM, H. S. Teoh wrote:On Wed, Feb 02, 2022 at 08:14:32AM +0000, Mike Parker via Digitalmars-d-announce wrote: [...]D error messages can be bad. Especially when you are using lots of range wrappers. It all depends on what you use. But C++ is a low bar ;) -Stevehttps://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/[...] Favorite quote: "Good error messages from the compiler. We often used to be overwhelmed by the C++ template error messages that could run to hundreds of lines. The D compilers have been much nicer to us and we have found the “did you mean” suggestions to be quite useful." Interesting that the author(s) found D error messages better than C++, in spite of frequent complaints about error messages here in the forums. :-P
Feb 02 2022
On Wed, Feb 02, 2022 at 11:40:09AM -0500, Steven Schveighoffer via Digitalmars-d-announce wrote: [...]D error messages can be bad. Especially when you are using lots of range wrappers. It all depends on what you use.[...] True. I've had my fair share of WAT moments with D error messages. The worst IME are the ones coming from nested templates with lambdas, like when you use lots of range wrappers like you said. No thanks to the way dmd handles speculative compilation by gagging errors, a single typo in a lambda causes an error that gets gagged, then no thanks to D's equivalent of SFINAE the compiler then proceeds to attempt to instantiate completely unintended, unrelated template overloads, going deep into a rabbit hole that ultimately ends with an obscure error deep inside a totally unrelated overload that doesn't give the slightest clue as to what the real error is. I've often had to resort to manually instantiating templates, or worse, rewriting the lambda as an actual function and instantiating it manually, in order to discern what the error is. There's of course -verrors=spec, but that ungags ALL gagged errors, which in a non-trivial program results in the actual error being drowned in an ocean of totally unrelated errors.But C++ is a low bar ;)[...] On Wed, Feb 02, 2022 at 04:40:04PM +0000, Adam D Ruppe via Digitalmars-d-announce wrote: [...]No incompatibility there: "better than C++" is a very low bar.No argument there. :-P T -- Heads I win, tails you lose.
Feb 02 2022
On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote:The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/This reminds me about SARC. They use D for hydrodynamics software because (among other reasons) it's approachable enough for naval engineers. Now it's revealed that D is used for aerodynamic software because it's approachable enough for aeronautical engineers. Might it have anything to do with that D is designed by one?
Feb 02 2022