Status update on the Differentiable Swift language feature

Another update from our side!
Quite a few developments since last May.
We've been able to get a list of improvements merged among which:

There's also been work on some exciting new improvements:

There are still some great improvements waiting for review

Aside from the direct swift compiler work there's also been a new swift-numerics release
swift-numerics drops Complex's conditional conformance to Differentiable

  • Complex no longer conditionally conforms to Differentiable. Given that the Differentiation module has not formally stabilized, support for it will be moved onto a feature branch for now.

The conditional conformance has been moved to our swift-numerics-differentiable package
and is available as of version 1.2.0.

We're really happy with the progress we've made the last months and especially excited about the support for _modify accessors and throwing functions. This will unlock brand new ways to write differentiable Swift code!
This unlocks lots of improvements for our simulation and control applications. We'd love to talk about how this could help you!

14 Likes