Re: Less Code Bloat from Templates

2014-10-31 Thread deadalnix via Digitalmars-d
On Friday, 31 October 2014 at 20:06:57 UTC, H. S. Teoh via Digitalmars-d wrote: On Fri, Oct 31, 2014 at 07:47:29PM +, deadalnix via Digitalmars-d wrote: That is basically generic à la java. I'd like to see what can be done in term of library on that front as I suspect that we can get quit

Re: Less Code Bloat from Templates

2014-10-31 Thread H. S. Teoh via Digitalmars-d
On Fri, Oct 31, 2014 at 07:47:29PM +, deadalnix via Digitalmars-d wrote: > That is basically generic à la java. > > I'd like to see what can be done in term of library on that front > as I suspect that we can get quite far. What would be more interesting IMO, is to explore ways of automating

Re: Less Code Bloat from Templates

2014-10-31 Thread deadalnix via Digitalmars-d
That is basically generic à la java. I'd like to see what can be done in term of library on that front as I suspect that we can get quite far.

Re: Less Code Bloat from Templates

2014-10-31 Thread Martin Nowak via Digitalmars-d
Microsoft's linker can reduplicate templates, they call it identical comdat folding.

Re: Less Code Bloat from Templates

2014-10-30 Thread Jonathan Marler via Digitalmars-d
On Thursday, 30 October 2014 at 13:44:46 UTC, Marc Schütz wrote: On Thursday, 30 October 2014 at 12:51:50 UTC, Jonathan Marler wrote: I'm not sure what the status is on this, I remember Walter saying in a conference (DConf 2014 I think) that he had an idea to remove duplicate template instantia

Re: Less Code Bloat from Templates

2014-10-30 Thread via Digitalmars-d
On Thursday, 30 October 2014 at 12:51:50 UTC, Jonathan Marler wrote: I'm not sure what the status is on this, I remember Walter saying in a conference (DConf 2014 I think) that he had an idea to remove duplicate template instantiations by comparing their generated code but I had another idea I

Less Code Bloat from Templates

2014-10-30 Thread Jonathan Marler via Digitalmars-d
I'm not sure what the status is on this, I remember Walter saying in a conference (DConf 2014 I think) that he had an idea to remove duplicate template instantiations by comparing their generated code but I had another idea I thought I'd share. I'm calling the idea "CombinationTypes". Sort of