Thoughts about D
Michael V. Franklin
slavo5150 at yahoo.com
Mon Dec 4 00:25:53 UTC 2017
On Sunday, 3 December 2017 at 23:34:13 UTC, Walter Bright wrote:
> If -betterC motivates people to come up with better solutions,
> I'm all for it.
A better solution would be to do what Iain said:
> Try compiling a simple "hello world" with an empty object.d
> file. Then inspect what the compiler does. Does it error and
> exit, or does it ICE? What can be done to prevent that from
> happening?
> When you reach the point that there's no way but to declare a
> symbol or function, add that to object.d and then move onto the
> next error or ICE. Repeat until you can compile and link your
> program.
> Next, try something a little more complex, such as define a
> struct and use it. Then again address all problems that you
> encounter with that.
It would be great for the compiler devs to run through this
exercise themselves and make changes to the compiler/runtime
interface to remove the irrelevant requirements the compiler is
imposing.
Mike
More information about the Digitalmars-d
mailing list