September 04, 2007 Re: Vala could replace C ... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles D Hixson | Charles D Hixson wrote:
>
> Another thing that would be useful is a specific and well documented entry point in the libraries (probably std.compiler or std.object) that could be called to do all necessary initializations if the main routine were, e.g., C.
In Tango, these are:
extern (C) void rt_init( void delegate(Exception) dg = null );
extern (C) void rt_term( void delegate(Exception) dg = null );
Sean
|
September 05, 2007 Re: Vala could replace C ... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund wrote:
> "Vala is a modification of C# to better match the GObject type system."
> I'm sure it could generate D source code instead, if it made any sense.
It does to me. I think the difference in compilation speed of GCC vs DMD justifies just that.
|
September 05, 2007 Re: Vala could replace C ... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Julio César Carrascal Urquijo | Julio César Carrascal Urquijo wrote:
>> "Vala is a modification of C# to better match the GObject type system."
>> I'm sure it could generate D source code instead, if it made any sense.
>
> It does to me. I think the difference in compilation speed of GCC vs DMD justifies just that.
It doesn't to me, since I normally use GCC to compile my D code too.
(gdc is a lot faster than g++, but that's because of the languages)
--anders
|
Copyright © 1999-2021 by the D Language Foundation