Get Advice Icon

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

Immutable.js
Immutable.js

125
71
+ 1
17
Underscore
Underscore

1.6K
515
+ 1
288
Add tool

Immutable.js vs Underscore: What are the differences?

Developers describe Immutable.js as "Immutable persistent data collections for Javascript which increase efficiency and simplicity, by Facebook". Immutable provides Persistent Immutable List, Stack, Map, OrderedMap, Set, OrderedSet and Record. They are highly efficient on modern JavaScript VMs by using structural sharing via hash maps tries and vector tries as popularized by Clojure and Scala, minimizing the need to copy or cache data. On the other hand, Underscore is detailed as "JavaScript's utility _ belt". A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.

Immutable.js and Underscore can be primarily classified as "Javascript Utilities & Libraries" tools.

"Immutable data structures" is the top reason why over 6 developers like Immutable.js, while over 83 developers mention "Utility" as the leading cause for choosing Underscore.

Immutable.js and Underscore are both open source tools. Immutable.js with 27.6K GitHub stars and 1.6K forks on GitHub appears to be more popular than Underscore with 24.6K GitHub stars and 5.41K GitHub forks.

Pinterest, LinkedIn, and Coursera are some of the popular companies that use Underscore, whereas Immutable.js is used by Instagram, Rove.me, and Broadly. Underscore has a broader approval, being mentioned in 1047 company stacks & 76 developers stacks; compared to Immutable.js, which is listed in 20 company stacks and 11 developer stacks.

What is Immutable.js?

Immutable provides Persistent Immutable List, Stack, Map, OrderedMap, Set, OrderedSet and Record. They are highly efficient on modern JavaScript VMs by using structural sharing via hash maps tries and vector tries as popularized by Clojure and Scala, minimizing the need to copy or cache data.

What is Underscore?

A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.
Get Advice Icon

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

Why do developers choose Immutable.js?
Why do developers choose Underscore?

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

    Be the first to leave a con
      Be the first to leave a con
      What companies use Immutable.js?
      What companies use Underscore?

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

      What tools integrate with Immutable.js?
      What tools integrate with Underscore?
        No integrations found
        What are some alternatives to Immutable.js and Underscore?
        Lodash
        A JavaScript utility library delivering consistency, modularity, performance, & extras. It provides utility functions for common programming tasks using the functional programming paradigm.
        Ramda
        It emphasizes a purer functional style. Immutability and side-effect free functions are at the heart of its design philosophy. This can help you get the job done with simple, elegant code.
        Modernizr
        It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer.
        Modernizr
        It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer.
        fancybox
        It is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages. It is built on the top of the popular JavaScript framework jQuery and is both easy to implement and a snap to customize.
        See all alternatives
        Decisions about Immutable.js and Underscore
        No stack decisions found
        Interest over time
        Reviews of Immutable.js and Underscore
        No reviews found
        How developers use Immutable.js and Underscore
        Avatar of Nicholas Alexander
        Nicholas Alexander uses UnderscoreUnderscore

        Making functional Javascript more concise and efficient (prefer more recent similar library, lodash).

        Avatar of webkul
        webkul uses UnderscoreUnderscore

        It is a JavaScript Library and used for client site application.

        Avatar of papaver
        papaver uses UnderscoreUnderscore

        first library i setup when working with javascript. period.

        Avatar of douglasresende
        douglasresende uses UnderscoreUnderscore

        I use with Backbone.js and Marionette.js

        Avatar of InstaGIS
        InstaGIS uses UnderscoreUnderscore

        Truth is we use lodash

        How much does Immutable.js cost?
        How much does Underscore cost?
        Pricing unavailable
        Pricing unavailable
        News about Immutable.js
        More news
        News about Underscore
        More news