Hi,

On Fri, 14 Aug 2015, Nikolay Nikolov wrote:

> On 08/13/2015 11:47 PM, Jonas Maebe wrote:
> > http://it.slashdot.org/story/15/08/13/1229239
> >
> > In all fairness, they also optimise it so that they emit fewer checks
> > (if you check whether X of the correct type in one statement, you may
> > not have to check it again in the next etc) and hence reduce the run
> > time overhead. Still... :)
> Well, now all they need is a decent equivalent to Pascal's units (instead of
> relying on preprocessor hacks such as #include),

Meet the C(++) Modules proposal:
http://llvm.org/devmtg/2012-11/Gregor-Modules.pdf

I think CLang/LLVM already implemented it.
http://clang.llvm.org/docs/Modules.html

Almost like Pascal's units. :) Although they don't include namespaces and
not intended for binary distribution.

Charlie

_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to