Software Alternatives, Accelerators & Startups

Erlang VS Squirrel (programming language)

Compare Erlang VS Squirrel (programming language) and see what are their differences

Erlang logo Erlang

A programming language used to build massively scalable soft real-time systems with requirements on high availability

Squirrel (programming language) logo Squirrel (programming language)

Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games.
  • Erlang Landing page
    Landing page //
    2023-05-09

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

  • Squirrel (programming language) Landing page
    Landing page //
    2022-03-07

Erlang features and specs

  • Concurrency
    Erlang is designed for massive concurrency and supports thousands of lightweight processes, making it ideal for applications requiring multiple parallel operations.
  • Fault Tolerance
    Erlang provides robust support for fault tolerance, with built-in mechanisms for process monitoring and error recovery, leading to high system availability.
  • Distributed Computing
    Erlang's architecture facilitates distributed computing with easy support for building scalable, distributed systems across multiple nodes.
  • Hot Code Swapping
    Erlang supports hot code swapping, enabling developers to update code on a live system without requiring a system restart, which is crucial for continuous operation.
  • Functional Programming
    Erlang’s functional programming paradigm leads to simpler code with fewer side effects, improving maintainability.
  • Strong Community
    Erlang has a strong community, with a wealth of resources, libraries, and frameworks that support developers in building efficient systems.

Possible disadvantages of Erlang

  • Learning Curve
    Erlang has a steep learning curve, especially for developers who are not familiar with functional programming or its concurrency model.
  • Syntax
    The syntax of Erlang can be unfamiliar and challenging to new users, which may hinder the initial coding experience.
  • Limited Libraries
    Despite having a strong community, Erlang has fewer libraries and tools compared to more popular languages, which may limit development options for certain applications.
  • Performance Limitations
    While Erlang excels in concurrency, its performance for compute-intensive tasks might not match that of languages specifically optimized for such operations.
  • Niche Use Cases
    Erlang's strengths in certain niches like telecoms and real-time systems might not translate well to more general or varied software development tasks, limiting its adoption.

Squirrel (programming language) features and specs

  • Lightweight
    Squirrel is designed to be a lightweight scripting language, making it ideal for applications where memory and processing power are limited, such as video games and embedded systems.
  • Embeddable
    The language is easily embeddable in C++ programs, allowing integration into a wide variety of applications without significant overhead.
  • Object-Oriented
    Squirrel supports object-oriented programming, which helps in organizing code and improves reusability and scalability of scripts.
  • Dynamic Typing
    As a dynamically typed language, Squirrel allows more flexible coding patterns and faster prototyping, as variable types do not need to be explicitly defined.
  • Coroutines Support
    Squirrel includes support for coroutines, facilitating asynchronous programming and simplifying the management of concurrent tasks.

Possible disadvantages of Squirrel (programming language)

  • Limited Libraries
    The language has a smaller ecosystem compared to more popular scripting languages like Python or Lua, limiting the available libraries and tools.
  • Niche Usage
    Squirrel is not as widely used or well-known as some other scripting languages, which can make finding community support or developers familiar with it more challenging.
  • Performance
    While adequate for most scripting needs, Squirrel may not deliver performance on par with statically typed languages or languages specifically optimized for performance.
  • Learning Curve
    For developers not familiar with C-style syntax or the language’s unique features, there can be a learning curve involved in becoming proficient.
  • Documentation
    The quality and quantity of documentation available for Squirrel is limited compared to more mainstream languages, potentially slowing down development.

Erlang videos

Book Review - Erlang in Anger

More videos:

  • Review - Erlang is getting pretty! - Michal Muskala | Code BEAM SF 20

Squirrel (programming language) videos

No Squirrel (programming language) videos yet. You could help us improve this page by suggesting one.

Add video

Category Popularity

0-100% (relative to Erlang and Squirrel (programming language))
Programming Language
57 57%
43% 43
OOP
56 56%
44% 44
Generic Programming Language
Development
48 48%
52% 52

User comments

Share your experience with using Erlang and Squirrel (programming language). For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Squirrel (programming language) might be a bit more popular than Erlang. We know about 2 links to it since March 2021 and only 2 links to Erlang. 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.

Erlang mentions (2)

  • Perfect Elixir: Environment Setup
    I’m on MacOS and erlang.org, elixir-lang.org, and postgresql.org all suggest installation via Homebrew, which is a very popular package manager for MacOS. - Source: dev.to / about 1 year ago
  • What is Calypso?
    However, as Elixir is inherently tied to the BEAM and Erlang/OTP, it means that it has features like immutable variables (though you can rebind them and have state via process loops, e.g. Agents or GenServers). This also means that OTP is the main "application framework" for Elixir/Erlang. In my opinion, OTP is a pretty good design philosophy for applications, but sometimes it's just kind of hard to set up or wrap... - Source: dev.to / about 4 years ago

Squirrel (programming language) mentions (2)

  • oh, so you think you're controversial?
    Squirrel would like to have a word with this comment. Source: almost 3 years ago
  • Generics can make your Go code slower
    * https://v8docs.nodesource.com/node-7.10/d5/dda/classv8_1_1_isolate.html#a24647f61d6b41f69668094bdcd6ea91f A project I worked on had a few points where it had to explicitly call GC multiple times back to back. Intertwined references from C++ -> Squirrel[1] -> C++ -> Squirrel meant the first GC would finalize some C++ objects, which would unroot some Squirrel objects, which would allow some more C++ objects fo be... - Source: Hacker News / about 3 years ago

What are some alternatives?

When comparing Erlang and Squirrel (programming language), you can also consider the following products

Go Programming Language - Go, also called golang, is a programming language initially developed at Google in 2007 by Robert...

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

Elixir - Dynamic, functional language designed for building scalable and maintainable applications

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

Perl - Highly capable, feature-rich programming language with over 26 years of development

D (Programming Language) - D is a language with C-like syntax and static typing.