[swift-evolution] Swift-based Metal Shading Language

David Sweeris davesweeris at mac.com
Sun Jul 10 10:22:41 CDT 2016



On Jul 10, 2016, at 01:17, Georgios Moschovitis <george.moschovitis at icloud.com> wrote:

>> I *think* it'd be better to add C++ interoperability to Swift.
> 
> Wouldn’t it be better to have unified syntax across the board? e.g.,
> 
> int x; -vs- x: Int, etc?
> 
> Using the same language/syntax would eliminate the taxing mental context-switch.
I don't understand. That's the point of C++ interop... You call the C++ APIs from your Swift code.


More information about the swift-evolution mailing list