<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Patrycja Makowska on Medium]]></title>
        <description><![CDATA[Stories by Patrycja Makowska on Medium]]></description>
        <link>https://medium.com/@patrycja.makowska?source=rss-43da23df8a9a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*D2SpNZ5mFG53bjAz1-iUig.jpeg</url>
            <title>Stories by Patrycja Makowska on Medium</title>
            <link>https://medium.com/@patrycja.makowska?source=rss-43da23df8a9a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:03:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@patrycja.makowska/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dart vs Swift. Which language is better to develop an iOS app in 2023?]]></title>
            <link>https://medium.com/@patrycja.makowska/dart-vs-swift-which-language-is-better-to-develop-an-ios-app-in-2023-a71cb5e4bc84?source=rss-43da23df8a9a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a71cb5e4bc84</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Patrycja Makowska]]></dc:creator>
            <pubDate>Fri, 18 Aug 2023 12:41:38 GMT</pubDate>
            <atom:updated>2023-08-18T12:41:38.444Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KoYl6Z3Z-7nxNomf1Je3gA.jpeg" /></figure><p>Do you remember when Flutter arrived on the market in May 2017? It caused quite a stir in the mobile technology world. Dart quickly became a bridge between native mobile developers, which resulted in countless comparisons of Dart vs Kotlin and Dart vs Swift. Recently, however, I have noticed a complete shortage of fresh, detailed (and non-marketing) comparisons of the programming languages mentioned above.</p><p>And… so what? — I thought.</p><p>I started to wonder if similar analyses are still valid in the era of a massive business turn towards cross-platform frameworks (not to mention the 2023 boom on Generative AI and no/low-code solutions). Is native app development still a thing? What are the business benefits of a lengthy, costly, native app development approach? As a Flutter developer with some experience in native iOS development, I decided to find it out by doing what I do best…</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FZmEgiY05sAM1yGo4nc%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FBikinidotcom-bikinitok-bikinidotcom-bikinitokseason3-ZmEgiY05sAM1yGo4nc&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExNTcyZjk3ZDIyZDE5YjVlZjU2YmQzODU4Zjk5MTE4YjkzYTJlODVlZiZlcD12MV9pbnRlcm5hbF9naWZzX2dpZklkJmN0PWc%2FZmEgiY05sAM1yGo4nc%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="428" frameborder="0" scrolling="no"><a href="https://medium.com/media/a10b0e6094ede18cab075da18f3428d9/href">https://medium.com/media/a10b0e6094ede18cab075da18f3428d9/href</a></iframe><p>Losing track of time while browsing through the source code and technical documentation on Swift and Dart. And writing this roughly honest, down-to-earth Swift vs Dart comparison.</p><p>Even though Dart is a little older, in 2017, Flutter’s programming language seemed much “poorer” than Swift. However (spoiler alert!), as years passed, both languages evolved and became more versatile and capable, and their constant improvement and feature enrichment cannot go unnoticed.</p><p>So how did the two languages evolve? Have they ​​come closer or farther apart? Will a Dart developer learn Swift easily and vice versa? Let’s find out!</p><p><em>But first, a little disclaimer:</em></p><p><em>This comparison focuses on the key features of Dart 3and Swift 5.7.3 and compares some of the features from older versions and incoming versions to highlight the evolution of both languages. To keep this article concise, I’ll include links to in-depth reading materials where appropriate.</em></p><h3>Dart vs Swift: basic information</h3><p>Let’s start from the basics. Please take a look at the following table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BhUWANaCyKKqBU2rTqyoxg.png" /><figcaption>Basic comparison</figcaption></figure><p><em>More info: </em><a href="https://en.wikipedia.org/wiki/Type_inference"><em>inferred</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Type_system#STATIC"><em>static</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Strong_and_weak_typing"><em>strong</em></a><em> type systems, </em><a href="https://onuoha.medium.com/how-does-jit-and-aot-work-in-dart-cab2f31d9cb5"><em>jit, aot</em></a><em> compilers, </em><a href="https://en.wikipedia.org/wiki/Functional_programming"><em>functional</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Imperative_programming"><em>imperative</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Declarative_programming"><em>declarative</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Object-oriented_programming"><em>object-oriented</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Reflective_programming"><em>reflective</em></a><em> , </em><a href="https://en.wikipedia.org/wiki/Concurrent_computing"><em>concurrent</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Block_(programming)"><em>block structured</em></a><em> paradigms, </em><a href="https://github.com/flutter/flutter/issues/1150"><em>Dart’s reflection explanation</em></a><em>.</em></p><p>Both languages are open-sourced and based on similar paradigms and type systems. They’re on a similar, relatively early maturity level. Since C# and Ruby are programming languages that affected both Dart and Swift, developers experienced in them can learn them faster.</p><h3>Language similarities and differences: old vs current versions</h3><p>As years passed, both languages became similar in many ways:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLM8l2ucqcOEiWSoCaIM8Q.png" /></figure><p><em>Additional information about null safety: </em><a href="https://dart.dev/null-safety/understanding-null-safety#non-nullable-and-nullable-types"><em>Dart</em></a><em> , </em><a href="https://developer.apple.com/documentation/swift/optional"><em>Swift</em></a><em>.</em></p><p>Dart was enriched with features already available in Swift (I mean at the time when Flutter was first introduced to a broader audience). The major improvements made in Dart included introducing optionals, extensions, and enhanced enums.</p><p>But Swift didn’t rest on its laurels. Apple improved Swift by releasing the Combine framework and adding async/await keywords. But what does it mean? In short: any developer who wants to learn Dart can easily translate their ideas and approaches from Swift, and the learning curve is not too steep. And the task of learning Dart is even easier for developers who have experience with SwiftUI.</p><h3>Syntax level language features</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gz5FBS3RWwEhjyfWbccUkQ.png" /><figcaption>Syntax comparison</figcaption></figure><p><em>Further details: </em><a href="https://dart.dev/guides/language/language-tour#late-variables"><em>Dart’s late modifier</em></a><em>, </em><a href="https://dart.dev/guides/language/coming-from/swift-to-dart#late-fields"><em>Swift’s implicitly unwrapped optionals</em></a><em>, computed properties in </em><a href="https://flutterbyexample.com/lesson/getters-and-setters"><em>Dart</em></a><em>, </em><a href="https://docs.swift.org/swift-book/LanguageGuide/Properties.html"><em>Swift</em></a><em>, access control: </em><a href="https://dart.dev/guides/language/language-tour#libraries-and-visibility"><em>Dart</em></a><em>, </em><a href="https://docs.swift.org/swift-book/LanguageGuide/AccessControl.html"><em>Swift</em></a><em>.</em></p><p>Even though both languages have visible syntax differences and distinct naming conventions, developers can achieve similar app functionalities with Dart and Swift. Neither Dart nor Swift officially supports interface keywords: both have their implementation of interface syntax.</p><p>On the other hand, some differences may raise an eyebrow while getting into the Dart language world. Mandatory semicolons may be surprising for some developers with a Swift background. Also, a very minimalistic approach to access control in Dart can sometimes be considered scarce. However, many developers debate whether having more than two access levels is necessary.</p><h3>Operators</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ukvpTRvbbCk6t70TrrrJZA.png" /><figcaption>Operators comparison</figcaption></figure><p><em>Read more about operators: Dart’s </em><a href="https://flutterbyexample.com/lesson/cascade-notation"><em>cascade operator</em></a><em>, </em><a href="https://dart.dev/guides/language/language-tour#spread-operator"><em>spread operator</em></a><em> and Swift’s </em><a href="https://www.hackingwithswift.com/sixty/3/9/range-operators"><em>range operator</em></a><em>.</em></p><p>There’s a key difference between Dart and Swift operators’ handling. Dart does not allow the creation of a new operator. Also, the “…“ operator has entirely different meanings in both languages.</p><h3>General comparison</h3><p>Most features have their counterparts in each language. The fundamental difference is in memory management: Dart is a Garbage Collected (GC) language, whereas Swift memory is managed by automatic reference counting (ARC). Simply put, memory management is a language feature that maintains track of how long an object will remain “alive” in memory before being destroyed and its memory released for usage by other objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HTFfGbv0dFApuPgzLvc0aQ.png" /><figcaption>General comparison</figcaption></figure><p><em>More on </em><a href="https://dart.dev/guides/language/language-tour#anonymous-functions"><em>Dart’s</em></a><em>, </em><a href="https://docs.swift.org/swift-book/LanguageGuide/Closures.html"><em>Swift’s</em></a><em> closure support, memory management: </em><a href="https://en.wikipedia.org/wiki/Garbage_collection_(computer_science)"><em>Garbage Collection</em></a><em>, </em><a href="https://en.wikipedia.org/wiki/Automatic_Reference_Counting"><em>Automatic Reference Counting</em></a><em>, </em><a href="https://dart.dev/guides/language/language-tour#adding-features-to-a-class-mixins"><em>Dart’s mixins</em></a><em>, </em><a href="https://www.vadimbulavin.com/multiple-inheritance-swift/"><em>Swift’s equivalent of mixins</em></a><em>, inheritance in </em><a href="https://medium.flutterdevs.com/exploring-inheritance-and-composition-in-dart-flutter-71ceefc45c9c"><em>Dart</em></a><em>, </em><a href="https://docs.swift.org/swift-book/LanguageGuide/Inheritance.html"><em>Swift</em></a><em>, type inference in </em><a href="https://dart.dev/language/type-system#type-inference"><em>Dart</em></a><em> and </em><a href="https://www.swiftbysundell.com/basics/type-inference/"><em>Swift</em></a><em>.</em></p><p>The key distinction between both approaches is that Garbage Collection can clean up retain cycles, but the object release timeframe is undetermined, whereas ARC is more power efficient, and objects are destroyed in real-time when they become inactive but cannot handle <a href="https://stevenpcurtis.medium.com/retain-cycles-and-memory-management-in-swift-ed4aefedb01a#:~:text=A%20retain%20cycle%20(also%20known,strong%20reference%20to%20Object%20B%20.">retain cycles</a>. Another difference is that Dart has wider interoperability with other languages. It means that Dart can communicate with other languages natively as part of the same system. It enables building wrapper libraries that offer the features of a library from a different language within the host language, typically in a manner that is more in line with the conventions of the host language.</p><h3>Developing iOS apps with Flutter 3.10.x</h3><p>Now that we sorted out all the essential information, we can focus on Flutter — Dart’s framework to create natively compiled, multiplatform apps. The newest <a href="https://survey.stackoverflow.co/2022/#section-most-popular-technologies-other-frameworks-and-libraries">2022 Stack Overflow Developer Survey</a> shows Flutter is the most popular cross-platform tool. It’s worth noting that, surprisingly, Dart overtook Swift in popularity. It means that apart from Objective-C and Swift, Dart is one of the most popular programming languages for creating iOS apps! And quite honestly, it is no wonder why more and more developers and stakeholders are interested in Flutter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*R4vMamUQDo_wrW2ngyZrww.png" /><figcaption>Comparison of popularity of Dart and Swift across <a href="https://survey.stackoverflow.co/2022/#section-most-popular-technologies-programming-scripting-and-markup-languages">71,547 responses</a></figcaption></figure><h3>Pros of developing iOS apps with Flutter 3.10.x</h3><p>So what are the pros of developing iOS apps with Flutter 3.10.x?</p><p>Let’s get straight to business:</p><ul><li>Flutter’s hot-reload feature <strong>reduces the development cycle</strong>, which means increased efficiency when developing apps,</li><li>Interdisciplinary Flutter teams can <strong>develop iOS apps with no prior iOS development experience,</strong></li><li>Thanks to <a href="https://docs.flutter.dev/development/ui/widgets/cupertino">Cupertino</a> (iOS-style widgets),<strong> the app created with Flutter </strong><a href="https://twitter.com/gordonphayes/status/1617535312313610247"><strong>looks native-like</strong></a> and conforms to Human Interface Guidelines.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-QRjBbb6BwuGT5y0XiVysA.png" /><figcaption>Left part: an iOS-like stylized app. (Newly added in Flutter 3.7 CupertinoListSection and CupertinoListTile were used) Right: SwiftUI sample ToDo app.</figcaption></figure><ul><li>The same codebase can be used to <strong>develop an Android counterpart app,</strong></li><li>The abundance of maintained libraries supporting Apple’s SDKs (ARKit, HealthKit, etc.) and authentication (faceID or touchID ) — most of them are released by the official <a href="https://pub.dev/publishers/flutter.dev/packages">Flutter team</a>,</li><li>Improved rendering with Metal API via <a href="https://github.com/flutter/engine/tree/main/impeller">Impeller</a> (experimental feature),</li><li>Improved app release process with iOS release validation tool that checks if app is ready for App Store submission.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*-NR9epa2RH88lrHkj7v1ZQ.png" /><figcaption>Validation summary from flutter build ipa command</figcaption></figure><ul><li>More consistent, smooth animations on 120Hz refresh rate iOS devices.</li></ul><h3>Cons of developing iOS apps with Flutter 3.10.x</h3><p>I am a devoted Flutter developer. However, let’s be honest. There still is some space for improvements regarding Dart in iOS development. In my opinion, the most significant cons are as follows:</p><ul><li>If a cutting-edge feature added to iOS is needed in an app, it will be <strong>added to Flutter with some delay</strong>. Eventually, every feature will be available for Flutter, but not at the same time as for native technology.</li><li><a href="https://docs.flutter.dev/perf/shader"><strong>Shader compilation jank</strong></a><strong> issue</strong> that affects animations on iOS devices — but please, note that this issue has been addressed, and the Flutter team is working on a new engine called Impeller to replace Skia in upcoming Flutter releases.</li><li><strong>iOS apps written in Dart are often bigger</strong> due to including Flutter’s core engine and encrypting binaries within the IPA file. If you need your app to be lightweight, then you should consider native Swift development.</li><li><strong>Limited talent pool</strong> — Dart is still considered a niche programming language.</li></ul><h3>Pros of developing iOS apps with Swift</h3><p>As you probably already see, in some specific cases Swift might be a better option for iOS app development. What are its most significant advantages?</p><ul><li><strong>Swift is a cutting-edge programming language.</strong> Its syntax is neat and simple, making it easily understandable, and it prioritizes speed and security.</li><li><strong>Swift is tailored for iOS development</strong>. Thus it might be a first choice if only an iOS app is needed.</li><li><strong>All the newest iPhone APIs are tailored for Swift development.</strong> It means that developers can take advantage of platform-specific features faster.</li><li><strong>Applications written in Swift consume less memory</strong> and are more lightweight.</li></ul><h3>Cons of developing iOS apps with Swift</h3><ul><li>If there’s a need to create an Android version of the app, then <strong>another language or technology must be introduced to the project</strong>. Swift cannot be reused for that purpose.</li><li><strong>Slower development cycle compared to Flutter.</strong> Swift is known for slow compile times.</li><li><strong>Maintenance costs can be higher </strong>than in the case of Flutter, where one team can maintain multiple platforms’ codebases.</li><li><strong>Reduced interoperability with external tools </strong>and integrated development environments.</li><li><strong>Conforming UI to other design guidelines</strong> (for example, Material) may be more<strong> time-consuming.</strong></li></ul><h3>Swift vs Dart: which one is better?</h3><p>I’m sorry, but quite honestly — the only answer I can give you now is… IT DEPENDS.</p><p>Both Swift and Dart (with Flutter SDK) are outstanding languages well-tailored for creating beautiful and complex iOS apps. Both languages have their own distinctive advantages, so neither is superior.</p><p>Finally, both languages have evolved by adding similar features to their functionalities. In many posts from previous years, Swift developers trying Dart said that they miss some features from Swift (e.g. Optionals or amplified Enums). But now, it seems that Swift and Dart have almost borrowed ideas and solutions from each other. And in my humble opinion, after so many years, even the most die-hard Swift fans can try their hand at Dart.</p><h3>But most importantly…</h3><p>We need to remember that programming languages and their SDK and frameworks are only tools for creating software, and which tool is required depends on what needs to be implemented.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FJ4xgaipsy0GWdUgLjY%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Frenodepot-wow-mindblowing-mindblow-J4xgaipsy0GWdUgLjY&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExZGM4MzFlZWI0NmI5MDBiZjY5Y2MzODBhZWNkZTMzZTBlZDUwNzllYSZlcD12MV9pbnRlcm5hbF9naWZzX2dpZklkJmN0PWc%2FJ4xgaipsy0GWdUgLjY%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/10e3c79a8e510f8fbb2641dc5f4c4675/href">https://medium.com/media/10e3c79a8e510f8fbb2641dc5f4c4675/href</a></iframe><p>Obviously, from the perspective of an ex-iOS developer, creating gorgeous and complex yet efficient apps in short development cycles for Android and iOS is a dream come true. I enjoy my journey with Flutter, and I encourage everyone to try Flutter on their own.</p><p>However, knowing the language’s strengths and weaknesses is the most important thing in deciding which technology you should choose. So when in doubt — just come back to the comparison above. Share it with your teams, bosses, clients and native mobile app developer colleagues. Encourage making informed business decisions. That’s how we do it at <a href="https://www.miquido.com/flutter-development-company/">Miquido</a>.</p><p><strong>Sources:</strong></p><ul><li><a href="https://codewithandrea.com/articles/dart-vs-swift-a-comparison/">Dart vs Swift: a comparison</a></li><li><a href="https://dart.dev/guides/language/language-tour">Introduction to Dart</a></li><li><a href="https://dart.dev/guides/language/coming-from/swift-to-dart">Learning Dart as a Swift developer</a></li><li><a href="https://www.swift.org/documentation/">Swift.org</a></li><li><a href="https://medium.com/flutter/whats-next-for-flutter-b94ce089f49c">What’s next for Flutter</a></li><li><a href="https://medium.com/flutter/whats-new-in-flutter-3-7-38cbea71133c">What’s new in Flutter 3.7</a></li><li><a href="https://engineering.monstar-lab.com/en/post/2020/04/21/Things-iOS-developer-should-know-before-starting-flutter/">Things iOS Developers should know before starting Flutter</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a71cb5e4bc84" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>