Do everything in Java…

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 10 10:16:53 PST 2014


On Wednesday, 10 December 2014 at 17:19:53 UTC, Tobias Pankrath 
wrote:
> On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo  Pinto 
> wrote:
>
>>
>> Lots of options are possible when the C compiler and linker 
>> model aren't being used.
>>
>> ..
>> Paulo
>
> I don't see how symbol table information and relocation meta 
> data is sufficient to produce the correct object code if the 
> template parameters are unknown.
>
> // library
> void foo(T, U)(T t, U u) { t.tee(); u.uuuh(); }
>
> // my code
> foo!(ArcaneType1, DubiousType2)(a, d);


Simple, by dropping C based linker model as I state on my comment.


--
Paulo


More information about the Digitalmars-d mailing list