Software Alternatives, Accelerators & Startups

Pharo VS Rust

Compare Pharo VS Rust and see what are their differences

Pharo logo Pharo

Pharo is a pure object-oriented programming language and a powerful environment, focused on...

Rust logo Rust

A safe, concurrent, practical language
  • Pharo Landing page
    Landing page //
    2022-07-26
  • Rust Landing page
    Landing page //
    2023-05-09

We recommend LibHunt Rust for discovery and comparisons of trending Rust projects.

Pharo features and specs

  • Integrated Development Environment
    Pharo offers a highly integrated development environment with powerful tools like the inspector, debugger, and playgrounds, enhancing the overall development experience.
  • Live Code Changes
    Pharo supports live coding, allowing developers to make changes and see the effects immediately without the need to stop and restart the application.
  • Rich Libraries
    Pharo comes with a comprehensive set of libraries and frameworks, reducing the need to search for external dependencies and allowing for rapid development.
  • Object-Oriented Language
    Pharo is a true object-oriented language, which makes it natural for modeling real-world scenarios and leveraging the power of polymorphism and inheritance.
  • Community and Support
    Pharo has an active and supportive community that contributes to continuous improvements, tutorials, documentation, and libraries.

Possible disadvantages of Pharo

  • Niche Ecosystem
    Pharo's ecosystem is relatively small compared to more mainstream programming languages, which might make it harder to find libraries, tools, and examples for specific needs.
  • Learning Curve
    Pharo can have a steep learning curve, especially for developers not familiar with Smalltalk or the unique aspects of its environment.
  • Limited Job Market
    Compared to more popular languages like JavaScript or Python, the job market for Pharo developers is limited, potentially making it less attractive for career-oriented developers.
  • Performance Constraints
    While suitable for many kinds of applications, Pharo’s performance might not be on par with languages specifically optimized for high-performance computing or low-level system programming.
  • Documentation
    Although improving, Pharo's documentation may not be as extensive or as easy to navigate as that of more widely-used programming languages, which can be challenging for new users.

Rust features and specs

  • Memory Safety
    Rust’s ownership system guarantees memory safety without a garbage collector, preventing common bugs such as null pointer dereferencing, buffer overflows, and data races.
  • Performance
    Rust aims to provide memory safety while maintaining high performance. It is often as fast as C and C++ due to zero-cost abstractions.
  • Concurrency
    Rust's ownership and type system make it easier to write safe concurrent code, helping developers avoid concurrency issues.
  • Tooling
    Rust has excellent tooling, including the Cargo package manager and build system, and Rustfmt for code formatting.
  • Community and Ecosystem
    Rust has a growing community and ecosystem, with active contributions and a wide range of libraries and frameworks available.
  • Strong Typing and Error Handling
    Rust’s type system and pattern matching compel developers to handle errors and edge cases, leading to more robust and predictable code.

Possible disadvantages of Rust

  • Learning Curve
    Rust’s advanced features such as its ownership system and lifetimes can be difficult for beginners to grasp, making it harder to learn compared to some other languages.
  • Compilation Time
    Rust can have longer compilation times, especially for large codebases, which can slow down the development process.
  • Ecosystem Maturity
    Although growing, Rust's ecosystem is not yet as mature as those of more established languages like JavaScript, Python, or even C++, leading to fewer available libraries and frameworks for certain tasks.
  • Complexity of Code
    The strictness of Rust's borrow checker can lead to more complex and verbose code as developers explicitly manage ownership and lifetimes.
  • Tool and Library Development
    Despite the rapid growth, some tools and libraries are still under development or lack the polish of their counterparts in more mature languages.

Analysis of Pharo

Overall verdict

  • Pharo is generally considered good, especially for developers who appreciate a clean, object-oriented programming environment. Its benefits include ease of use, powerful development tools, and an active support community, which make it a strong candidate for many programming projects.

Why this product is good

  • Pharo is an open-source, dynamically-typed programming language and environment that is focused on simplicity and immediate feedback. It's built around the idea of live coding and offers powerful tools for software development, including a modern version of the Smalltalk language. It is particularly appreciated for its elegant syntax, object-oriented design, and innovative development environment which allows for immediate testing and debugging. Pharo also has a strong and active community, providing support and a library of resources and packages.

Recommended for

  • Developers interested in object-oriented programming
  • Individuals looking for a live coding environment
  • Educational purposes and teaching programming concepts
  • Projects that require rapid prototyping and iteration
  • Developers who enjoy experimenting with new languages and paradigms

Analysis of Rust

Overall verdict

  • Yes, Rust is considered very good by many developers, especially those who need to write safe and efficient code. Its growing community and ecosystem are further testament to its strengths.

Why this product is good

  • Rust is highly regarded for its memory safety without a garbage collector, providing developers with performance and safety guarantees. It has powerful concurrency support, expressive type system, and excellent tooling, making it a favorite for systems programming, web assembly, and other performance-critical applications.

Recommended for

  • System programmers who need to manage memory and resources efficiently.
  • Developers working on web assembly projects.
  • Teams that require safe concurrency mechanisms.
  • C and C++ developers looking for modern language alternatives.
  • Open-source contributors who want to be part of an active and welcoming community.

Pharo videos

Black Ops 3 In Depth: Pharo Burst Fire SMG Review (Best SMG?)

Rust videos

Rust Crash Course | Rustlang

More videos:

  • Review - Why You Should & Shouldn't Learn the Rust Programming Language
  • Review - All About Rust

Category Popularity

0-100% (relative to Pharo and Rust)
Programming Language
31 31%
69% 69
OOP
33 33%
67% 67
Generic Programming Language
Development
100 100%
0% 0

User comments

Share your experience with using Pharo and Rust. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Pharo and Rust

Pharo Reviews

We have no reviews of Pharo yet.
Be the first one to post

Rust Reviews

Top 5 Most Liked and Hated Programming Languages of 2022
A survey by Stack Overflow reveals that about 83.5% of 90000 developers loved Rust and tagged it to be the most adorable programming language. Rust is that general-purpose programming language that mainly caters to excellent performance and safety. This multi-worldview programming language has syntax similar to that of C++.
Top 10 Rust Alternatives
Several programming languages like Rust are among the popular ones. However, people are in search of some good alternatives to Rust. Therefore, today we will be talking more about the top 10 alternatives to Rust.
The 10 Best Programming Languages to Learn Today
Rust is a fairly advanced language, so you'll want to master another language or two before learning Rust. But you'll find that learning Rust pays off generously. The average salary for a Rust developer in the U.S. is $105,000 per year.
Source: ict.gov.ge

Social recommendations and mentions

Based on our record, Rust should be more popular than Pharo. It has been mentiond 48 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Pharo mentions (32)

  • _M2dir: Treating mails as files without going crazy
    Pharo/SmallTalk seem to also explore the ideas akin to this. (https://pharo.org/) to be fair the current state of affairs is similar enough with file extensions + mime info if you squint hard enough and pretend that app and systems folders files don't exist but it's held with pinky promises. - Source: Hacker News / about 1 year ago
  • Enlightenmentware
    Smalltalk and as a particular case Pharo is an example of this for me. (https://pharo.org/). When I was in uni a paper that I always came back to was Licklider's 1960s paper on human-computer symbiosis (https://worrydream.com/refs/Licklider_1960_-_Man-Computer_Symbiosis.pdf) "[...]to enable men and computers to cooperate in making decisions and controlling complex situations without inflexible dependence on... - Source: Hacker News / about 1 year ago
  • Why don't schools teach debugging, or, more fundamentally, fundamentals?
    I think in part it's because the idea that programming is text and math-based is too ingrained in society. For example, we talk about programming languages. But IMO there are also programming systems such as Smalltalk [1]. I've programmed 2 years professionally in it, currently looking for an engagement in a different language (a curiosity thing, also a resume thing). I think Smalltalk has a lot to offer by... - Source: Hacker News / over 1 year ago
  • Ask HN: What perfect software did you discover of recent?
    Glamorous Toolkit (https://gtoolkit.com/) and the underlying Pharo (https://pharo.org/). Writing Pharo code (a modern implementation of Smalltalk) in the GT environment is the most fun I've had programming in years. - Source: Hacker News / over 1 year ago
  • Pharaoh - Server Side Framework for Dart
    I read Pharo for just a split second. Source: over 1 year ago
View more

Rust mentions (48)

  • Useful Clippy lints
    Hello! Rust has very useful tool, named Cargo. It helps you compile code, run program, run tests and benches, format code using cargo fmt and lint it using clippy. In this post we'll talk abou Clippy. - Source: dev.to / 3 months ago
  • Minimalist blog with Zola, AWS CDK, and Tailwind CSS - Part 1
    What are we going to do today? We're going to build a minimalist blog using Zola (built with Rust, btw), AWS CDK, Tailwind CSS, and a tiny bit of Typescript. - Source: dev.to / 3 months ago
  • This Tool can remove 98% Bloatware apps
    Effortlessly remove up to 98% of bloatware apps from your Android device without needing root access. Developed in Rust for efficiency and reliability. - Source: dev.to / 6 months ago
  • What Language Should I Choose?
    One language that really gave me that feeling was Gleam, it managed to wrap everything I liked about languages such as JS, Rust and even Java into one brilliant type-safe package. Not for a long time before I met Gleam had I wanted to try creating so many different things just to get to the bottom of how this language ticked, as it were. - Source: dev.to / 8 months ago
  • Learning Rust: Enumerating Excellence
    Let's dive back into Rust! This time we're going to be going through the lesson called "Enums and Pattern Matching". We're going to be looking at inferring meaning with our data, how we can use match to execute different code depending on input and finally we'll have a look at if let. - Source: dev.to / about 1 year ago
View more

What are some alternatives?

When comparing Pharo and Rust, you can also consider the following products

Smalltalk - Smalltalk is an object-oriented programming (OOP) language. It is objects all the way down.

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Pike programming language - Dynamic programming language with a syntax similar to Java and C

Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible

C++ - Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation

JavaScript - Lightweight, interpreted, object-oriented language with first-class functions