Re: Upcoming talk at FOSDEM 2024 - The D Programming Language for Modern Open Source Development
On Sunday, 14 January 2024 at 23:16:40 UTC, Mike Shah wrote: If folks have a particular open source project they'd like me to highlight, please feel free to share here -- I'll do my best to figure out how to link a few projects in the presentation. Mike, If you want to show some applications written in D, I can offer the Eilmer compressible flow solver as an example. This year it will be ten years that we have been using D to build our flow solver. It has been a good ride. There is a blog entry from a couple of years back https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ which is still a good starting point on why we like to write our code in D. You can also browse our main web site https://gdtk.uqcloud.net/ to get an idea of the current state of the project. Feel free to send an email if you want any flashy pictures for your presentation. The fellows here have been doing some impressive calculations in recent times. Regards, Peter Jacobs
Re: LDC 1.21.0-beta1
On Sunday, 22 March 2020 at 12:27:51 UTC, kinke wrote: On Sunday, 22 March 2020 at 12:00:58 UTC, Peter Jacobs wrote: I am seeing a linker error with this beta. Same compilation works with 1.20.1. Well, thx for giving it a try, but that's hardly useful (just looks like a `kdtree` module not being compiled) - firstly, try to check whether that's LDC-specific (i.e., doesn't happen with the corresponding DMD version 2.091.0), and if so, please file a GitHub issue with reproduction steps. It was a dependency bug in my build process uncovered by the new LDC, as Johan suggested. In my superficial scan of the source code, I did not find any kdtree module and so was thinking (incorrectly) that it might be a compiler-supplied module. Turns out that it was a module recently added by a colleague. LDC 1.21.0-beta1 was correct to identify it as missing from the build. Interestingly, DMD 2.091.0 built the code without complaint. Apologies for the bother but thank you for all of the work on LDC (and for the gentle replies to my report).
Re: LDC 1.21.0-beta1
On Saturday, 21 March 2020 at 12:05:18 UTC, kinke wrote: Glad to announce the first beta for an exciting LDC 1.21 release: Please help test, and thanks to all contributors! I am seeing a linker error with this beta. Same compilation works with 1.20.1. ldc2 -w -g -d-debug -d-version=flavour_debug -d-version=with_libplot -dip1008 -I.. -I../nm -I../util -I../geom -I../grid_utils -I../extern/gzip -d-version=multi_species_gas -d-version=multi_T_gas -d-version=MHD -d-version=turbulence -of=e4shared \ -d-version=tecplot_unavailable \ main_with_rev_string.d \ - long lines snipped -- ../gasdyn/gasflowexception.d ../gasdyn/idealgasflow.d ../gasdyn/gasflow.d ../gasdyn/luaidealgasflow.d ../gasdyn/luagasflow.d ../nm/luabbla.d \ -L-L../../extern/lua-5.1.4/lib -L-lplot -L-llua -L-ldl e4shared.o:luabbla.d:_D7simcore12__ModuleInfoZ: error: undefined reference to '_D6kdtree12__ModuleInfoZ' collect2: error: ld returned 1 exit status Error: /usr/bin/cc failed with status: 1
Re: D at 20: Hits and Misses, and what I learned along the way Oct 19
On Sunday, 22 September 2019 at 19:40:48 UTC, Walter Bright wrote: I'll be speaking at the Northwest C++ Users's Group on Oct 19. https://nwcpp.org/ That page says "Oct 16th, 2019 at 7:00 PM".
Re: Eilmer4 - a Computational Fluid Dynamics code in D
On Saturday, 7 October 2017 at 09:29:42 UTC, user1234 wrote: On Friday, 6 October 2017 at 22:16:09 UTC, Peter Jacobs wrote: Eilmer is a simulation code for studying high-speed compressible flows. Early versions were written in C and then C++. Version 4 is a complete rewrite in D, with Lua for configuration and run-time scripting. Code and documentation may be found at http://cfcfd.mechmining.uq.edu.au/eilmer/ [...] Cheers, Peter Jacobs and Rowan Gollan After reading the pdf i have a question: Is LUA scripting too complex to be replaced by, let's say, pure D code, following a compile-time interface (i.e a duck type) ? I understand that existing LUA scripts must still be supported but since D is also known for its good speed of compilation perhaps the whole thing could be recompiled from scratch for a particular set of new scripts. We did consider having the entire application in pure D code, however, we find that Lua is an easier configuration language for our users, who are mostly non-coders. Peter J.
Eilmer4 - a Computational Fluid Dynamics code in D
Eilmer is a simulation code for studying high-speed compressible flows. Early versions were written in C and then C++. Version 4 is a complete rewrite in D, with Lua for configuration and run-time scripting. Code and documentation may be found at http://cfcfd.mechmining.uq.edu.au/eilmer/ This note is principally to say thank you to all of the people who have made the D programming language and its ecosystem. Being mechanical engineers, we are occasional but serious programmers. For a number of years, we struggled with C++ and a code base of growing complexity. In 2014, we made a serious commitment to reworking the entire code into D. In mid-2017, the new code was complete enough for general use and it is currently being used in a fourth-year course on computational fluid dynamics. The D programming language has enhanced our programming experience and, for that, we are grateful to the many people who have built the foundation upon which we build our flow simulation code. Cheers, Peter Jacobs and Rowan Gollan