Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Om

23
21
+ 1
0
Swift

20.5K
13.5K
+ 1
1.3K
Add tool

Om vs Swift: What are the differences?

What is Om? ClojureScript interface to Facebook's React. A ClojureScript UI framework and client/server architecture over Facebook's React. Om UIs are out of the box snapshotable and undoable and these operations have no implementation complexity and little overhead.

What is Swift? An innovative new programming language for Cocoa and Cocoa Touch. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.

Om and Swift can be primarily classified as "Languages" tools.

Om and Swift are both open source tools. It seems that Swift with 48.4K GitHub stars and 7.76K forks on GitHub has more adoption than Om with 6.61K GitHub stars and 371 GitHub forks.

Uber Technologies, Slack, and Lyft are some of the popular companies that use Swift, whereas Om is used by Precursor, NAVIS, and Montoux. Swift has a broader approval, being mentioned in 993 company stacks & 541 developers stacks; compared to Om, which is listed in 3 company stacks and 3 developer stacks.

Advice on Om and Swift
Needs advice
on
JavaScriptJavaScriptReactReact
and
SwiftSwift

Hey guys, I learned the basics (OOP, data structures & some algorithms) with Python, but now I want to learn iOS development. I am considering to learn Swift, but I am afraid how the native mobile development will die out because of the cross-platform frameworks and reviews. My idea is to learn web development first and then learn React Native, and after all of that, finally Swift. What do you think about this roadmap? Should I just learn Swift first due to the pros of the native apps?

See more
Replies (7)
Recommends
on
SwiftSwift

Native apps are not going to die. Especially not Swift because now Swift can be used to develop cross platform macOS and iOS apps due to the new macs having M1 chips.

See more
Recommends
on
SwiftSwift

I would suggest to bet more on Swift! I have developed act in React and Javascript in the past and played around with Swift a little... the performances of native code vs Javascript are way too slow compared to swift native app!

Now even more than ever M1 chip will give a boost, but if it gives a boost to JS it will give a boost also to native apps. I would seriously consider Swift more than Javascript, React or even Electron!

See more

The decision comes down to your goals and needs.

If you want to be able to create any kind of iOS app, simple or complex, learn Swift. It's indispensable if you're building specialised apps like video editing, augmented reality, machine learning or anything that uses iOS-specific APIs such as App Clips.

But if you just want to create apps that make HTTP requests and display static content such as text or basic video and music, React Native would do just fine, and you can publish the same code to Android. This is a no-brainer choice if you're on a low budget.

And if you know both, you can use both in the same app. You can add React Native screens or components inside a Swift app.

See more
Recommends
on
SwiftSwift

If asking about employment opportunities, native will never die out. There will always be opportunity for work in native mobile applications. There are also many advantages of using native over cross platform such as always having access to the latest APIs and developer libraries that may not be available to cross-platform without some native development involved or can wait until someone develops a bridge for you.

If you are asking about what you should develop with first? It really depends. React-Native is great for building proto-types or basic MVP application that doesn't require any of the latest and greatest features Apple has to offer at the moment. But if you're asking what to learn? I would say native will always give you a larger advantage as it will give you a good foundation in mobile development and provide you access to the latest native libraries. It is also a useful skill that can give you an edge in cross-platform mobile like react-native because you will most definitely encounter a situation where you will have to go down to the to native side to extend functionality or utilize APIs that are not yet out of the box.

See more
Noel Broda
Founder, CEO, CTO at NoFilter · | 4 upvotes · 85.3K views

"Should I just learn Swift first due to the pros of the native apps?". React Native builds Native Apps. Technologies like ionic does NOT build native apps, but React Native does it.

Learning Swift seems to be a really bad idea from my point of view. Learning JavaScript is all what you need. Why? Because then Frontend, Backend, and Mobile Dev, is simple, because it's all JavaScript.

See more
Carlos Iglesias
Recommends

Mobile Native Development Apps will never die. Cross Plataform like React Native only exists to save time and costs for startups mainly, which is extraordinary, and indispensable often of course. But when the App get popular enough, it will probably will move to Native Development. Several improvements.

See more
Recommends
on
JavaScriptJavaScriptReactReact

Less than 20% of the market is IOS, the rest is Android. Any developer must produce for Android and maybe support IOS. If you prototype on IOS you have to restart again for Android. React and JavaScript will run on IOS.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Om
Pros of Swift
    Be the first to leave a pro
    • 259
      Ios
    • 180
      Elegant
    • 126
      Not Objective-C
    • 107
      Backed by apple
    • 93
      Type inference
    • 61
      Generics
    • 54
      Playgrounds
    • 49
      Semicolon free
    • 38
      OSX
    • 36
      Tuples offer compound variables
    • 24
      Clean Syntax
    • 24
      Easy to learn
    • 22
      Open Source
    • 21
      Beautiful Code
    • 20
      Functional
    • 12
      Dynamic
    • 12
      Linux
    • 11
      Protocol-oriented programming
    • 10
      Promotes safe, readable code
    • 9
      No S-l-o-w JVM
    • 8
      Explicit optionals
    • 7
      Storyboard designer
    • 6
      Optionals
    • 6
      Type safety
    • 5
      Super addicting language, great people, open, elegant
    • 5
      Best UI concept
    • 4
      Its friendly
    • 4
      Highly Readable codes
    • 4
      Fail-safe
    • 4
      Powerful
    • 4
      Faster and looks better
    • 4
      Swift is faster than Objective-C
    • 4
      Feels like a better C++
    • 3
      Easy to learn and work
    • 3
      Much more fun
    • 3
      Protocol extensions
    • 3
      Native
    • 3
      Its fun and damn fast
    • 3
      Strong Type safety
    • 3
      Easy to Maintain
    • 2
      Protocol as type
    • 2
      All Cons C# and Java Swift Already has
    • 2
      Esay
    • 2
      MacOS
    • 2
      Type Safe
    • 2
      Protocol oriented programming
    • 1
      Can interface with C easily
    • 1
      Actually don't have to own a mac
    • 1
      Free from Memory Leak
    • 1
      Swift is easier to understand for non-iOS developers.
    • 1
      Numbers with underbar
    • 1
      Optional chain
    • 1
      Great for Multi-Threaded Programming
    • 1
      Runs Python 8 times faster
    • 1
      Objec

    Sign up to add or upvote prosMake informed product decisions

    Cons of Om
    Cons of Swift
      Be the first to leave a con
      • 6
        Must own a mac
      • 2
        Memory leaks are not uncommon
      • 1
        Very irritatingly picky about things that’s
      • 1
        Complicated process for exporting modules
      • 1
        Its classes compile to roughly 300 lines of assembly
      • 1
        Is a lot more effort than lua to make simple functions
      • 0
        Overly complex options makes it easy to create bad code

      Sign up to add or upvote consMake informed product decisions

      526
      9.6K
      28K
      333.5K
      - No public GitHub repository available -

      What is Om?

      A ClojureScript UI framework and client/server architecture over Facebook's React. Om UIs are out of the box snapshotable and undoable and these operations have no implementation complexity and little overhead.

      What is Swift?

      Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Om?
      What companies use Swift?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Om?
      What tools integrate with Swift?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      GitHubPythonNode.js+47
      55
      73008
      GitGitHubDocker+34
      29
      42816
      What are some alternatives to Om and Swift?
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      Node.js
      Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
      HTML5
      HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      See all alternatives