Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8755947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:57:20+00:00 2026-06-13T13:57:20+00:00

I guess partially equivalent question: Should code that compiles with DMD, automatically compile in

  • 0

I guess partially equivalent question: Should code that compiles with DMD, automatically compile in all circumstances with GDC?

I ask because I’m having issues getting a modern version of GDC installed from ubuntu 10.4 (seemingly cyclic dependencies, sigh) reposetory.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:57:21+00:00Added an answer on June 13, 2026 at 1:57 pm

    Should I ensure my code compiles with both DMD and GDC?

    Depends if you plan on compiling code on both those compilers. If you only intend to compile with DMD then there’s no need to make sure your code compiles on GDC. That said, it’s usually a good idea to write code that is portable across compilers just in case you do need to use GDC one day.

    Should code that compiles with DMD, automatically compile in all circumstances with GDC?

    Mostly, but there are, and always will be small differences between compilers.

    GDC and DMD (and LDC) all share the same compiler front end, so for the most part they will be feature equivalent. The differences usually come in when you start to touch lower-level stuff e.g. inline assembler, SIMD intrinsics.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I guess my question derives partially from this question: std::ifstream buffer caching. I have
Guess that I have a TextView that I want to update it in some
I guess that the difficult part is the source. Do you know any webpage
I guess getView() is called for each item of the list, but my question
I guess my general question which I googled to no luck: Is there a
I guess the problem is that I do not know how to use factory
I guess my main question is, will this always work as long as I
I guess this is a simple question. I need to do something like this:
I guess that the # Net column is the most interesting, although I don't
First of all, this is a kinda broad question, and I believe it belongs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.