Re: [swift-dev] Namespacing Compiler-Stdlib Interfaces

2016-12-22 Thread Dave Abrahams via swift-dev
on Thu Dec 15 2016, Alexis wrote: > Triaging old radars, I came across rdar://27268632 > from Dmitri. The gist of it is that he was proposing grouping up all > the random global functions that are implicitly called by the compiler > under a “namespace” by making them static methods of an enum c

Re: [swift-dev] Namespacing Compiler-Stdlib Interfaces

2016-12-16 Thread Michael Gottesman via swift-dev
One thing to be careful with here is that sometimes SIL test cases say that are the stdlib but only implement the functionality that they will use (taking advantage of how I believe currently these are checked lazily). If I am correct (which my memory may not be), we will need a flag to be less

Re: [swift-dev] Namespacing Compiler-Stdlib Interfaces

2016-12-16 Thread Joe Groff via swift-dev
> On Dec 15, 2016, at 3:46 PM, Alexis via swift-dev wrote: > > Triaging old radars, I came across rdar://27268632 from Dmitri. The gist of > it is that he was proposing grouping up all the random global functions that > are implicitly called by the compiler under a “namespace” by making them

[swift-dev] Namespacing Compiler-Stdlib Interfaces

2016-12-15 Thread Alexis via swift-dev
Triaging old radars, I came across rdar://27268632 from Dmitri. The gist of it is that he was proposing grouping up all the random global functions that are implicitly called by the compiler under a “namespace” by making them static methods of an enum called _Intrinsic. (This name is kind’ve c