Will Unity ever make Swift a scripting language?

Apple’s programming language Swift is becoming quite popular, does anybody think it might be considered for another scripting language in Unity? Now that Swift is Open Source, we’ll see compilers for many different machines, and many more people will learn it, so will Unity adopt it as well?

What advantages does it bring that are not already covered by the existing languages? Simply being open source is not a good enough reason by itself.

1 Like

If someone writes a .NET compiler for it then you can use it via DLLs; simple as. Considering it’s open source I suspect someone will soon enough.

Will I use it? Doubt it, as Ryiah said, while I have no real experience of it, it doesn’t seem to bring anything massively different to the table.

Plus I really like C# :stuck_out_tongue:

3 Likes

If you compare the risk / reward / roi than it’s very unlikely. If there were a native .NET compiler, possibly but even then until IL2CPP is fully prime time and the supported Mono / .NET version is updated it’s unlikely someone will produce an IL compiler to it that would produce only .NET 3.5 compatible IL. Unity are also unlikely to support it natively as, while it may be popular amongst a certain segment it is nowhere near the popularity of C# and would require a significant amount of extra work to implement and maintain. Thus the risk / reward / roi, because they’d implement it to target a specific segment, at the risk that the majority of that segment wouldn’t even be targeting Unity and low ROI because they wouldn’t attract enough swift developers to justify the investment in integration.

While Swift may be popular among iOS developers, that doesn’t mean there’s a large market for Unity as many of them probably aren’t using Unity or producing games in general.

2 Likes
1 Like