From what I know, most people (if not all), seem to prefer LDC
over GDC. When it comes to C, I always prefer GCC as GCC's
backend compiles code faster and also produces code will run
faster than LLVM (even if the differences are small). When it
comes to D, GDC seems to compile code faster in my
On Friday, 4 March 2022 at 15:17:49 UTC, rikki cattermole wrote:
GDC has a few issues that LDC simply doesn't have.
For instance GCC can only depend on a binary of the last
version of GCC (my knowledge of that is what I've heard from
Iain).
What this means is its stuck using a frontend that
On Friday, 4 March 2022 at 15:26:38 UTC, H. S. Teoh wrote:
Both GDC and LDC are good compilers. I wouldn't hesitate to use
either if performance is important in what I'm doing.
The only difference is that GDC, being a part of the GCC
project, is tied to the GCC release cycle, so it tends to
On Friday, 4 March 2022 at 15:59:33 UTC, Iain Buclaw wrote:
announcement:
https://forum.dlang.org/post/nuphsvwkdlygdcxai...@forum.dlang.org
mainline: https://gcc.gnu.org/git.html
gh-mirror: https://github.com/gcc-mirror/gcc/
Thanks a lot!
Hello! After I've been convinced on using, GDC as my go to
compiler when I need optimization (or other than x86_x64 targets)
thanks to the replays of my previous posts, I now try to compiler
my project using GDC but I'm having an error. I'm trying to use
inline assembly (GCC syntax) but it won'
On Friday, 4 March 2022 at 23:33:12 UTC, Iain Buclaw wrote:
GCC doesn't have constraints for registers %r8 .. %15. As D
doesn't have register variables either, you'll have to set-up
r10 in the instruction string.
```
asm {
"mov %[rem], %%r10; syscall"
: "=a" (ret_code)
: "a" (230), "D"
On Saturday, 5 March 2022 at 17:31:17 UTC, Iain Buclaw wrote:
With the option "--help=d"
Alright! This will do the trick! Thanks a lot for your time and
thanks a lot for your amazing work in GDC in general!
On Friday, 4 March 2022 at 17:13:23 UTC, H. S. Teoh wrote:
As I said, if you're not relying on the latest-and-greatest
bleeding edge, GDC is a perfectly fine compiler. Iain has
already said the next release will be self-hosting, so we can
finally move on from the ancient C++-based compiler to