FastAI and Swift?

Hi,

I’m recently trying to get into Swift in DL last year Swift was one of FastAI choices. Just wondering is it still preferable choice over Python or maybe there is another alternative taken into account?

Thanks

M

4 Likes

It is hard to me go to switch, but as my first Hello performance of programming language i run Fibonacci sequence recursion version. Running Fibonacci in Python is cruel it highlight all Python imperfection.

Python Fib(36) = 6.78 second
Swift Fib(36)b = 580 ms

Pretty much without extra effort over 10x faster execution :slight_smile:

3 Likes