Objective-C vs Rust

Get Advice Icon

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

Objective-C
Objective-C

4.2K
2.1K
+ 1
490
Rust
Rust

730
795
+ 1
588
Add tool

Objective-C vs Rust: What are the differences?

Developers describe Objective-C as "The primary programming language you use when writing software for OS X and iOS". Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime. On the other hand, Rust is detailed as "A safe, concurrent, practical language". Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

Objective-C and Rust belong to "Languages" category of the tech stack.

"Ios" is the top reason why over 211 developers like Objective-C, while over 81 developers mention "Guaranteed memory safety" as the leading cause for choosing Rust.

Rust is an open source tool with 37.3K GitHub stars and 5.85K GitHub forks. Here's a link to Rust's open source repository on GitHub.

According to the StackShare community, Objective-C has a broader approval, being mentioned in 851 company stacks & 363 developers stacks; compared to Rust, which is listed in 39 company stacks and 105 developer stacks.

- No public GitHub repository available -

What is Objective-C?

Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

What is Rust?

Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
Get Advice Icon

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

Why do developers choose Objective-C?
Why do developers choose Rust?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Objective-C?
What are the cons of using Rust?
    Be the first to leave a con
    What companies use Objective-C?
    What companies use Rust?

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

    What tools integrate with Objective-C?
    What tools integrate with Rust?

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

    What are some alternatives to Objective-C and Rust?
    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.
    Java
    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    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.
    See all alternatives
    Decisions about Objective-C and Rust
    No stack decisions found
    Interest over time
    Reviews of Objective-C and Rust
    No reviews found
    How developers use Objective-C and Rust
    Avatar of Instacart
    Instacart uses Objective-CObjective-C

    Basically, the trajectory was we had our iOS app, which started out native, right? It started as a native app, and then we realized you have to go through a review process and it’s slow, and at a very early stage, it made sense for us to make it a wrapped web view. Basically, the app would open, and it would be a web view inside of it that we could iterate on quickly and change very rapidly and not have to wait for app store view process to change it. It wasn’t totally a native experience, but it was as actually a pretty good experience and lasted for a very long time and was up until recently the foundation of our current mobile web experience, which is different from our app situation. So for a long time, basically, our app store iOS Instacart app was a wrapped web view of just our store, a condensed version of our store, which meant that we could add things. We could change sales. We could change the formatting. We could change the UI really fast and not have to worry about the app store review process.

    This all changed about a year ago, I would like to say, at which point it became a totally native app. We felt comfortable enough with the product and all the features that we made it a native experience and made it a fully featured app.

    Avatar of Refractal
    Refractal uses Objective-CObjective-C

    While the majority of our stack is now using Swift, we still love Objective-C in many cases, especially low-level software manipulation, where it's just easier. It doesn't hurt that a lot of iOS/OS X Libraries out there are written in it either.

    Avatar of SmartLogic
    SmartLogic uses Objective-CObjective-C

    We like to go native with iOS development, and Objective-C has been the only game in town until recent introduction of Swift. We're keeping an eye on Swift, but we aren't giving up on the [old way:to do:things]!

    Avatar of Marc3842h
    Marc3842h uses RustRust

    Rust is used in Shirogane (https://github.com/Marc3842h/shirogane).

    Shirogane is a osu! beatmap mirror built for shiro. We use Rust because of memory safe but still low level and high performance.

    Avatar of DailySMSCollection
    DailySMSCollection uses Objective-CObjective-C
    Avatar of Promethean TV
    Promethean TV uses Objective-CObjective-C

    PrometheanTV provides SDKs for IOS devices including support for the Objective-C language.

    How much does Objective-C cost?
    How much does Rust cost?
    Pricing unavailable
    Pricing unavailable