clojurescript

Clojure to JS compiler (by clojure)

Clojurescript Alternatives

Similar projects and alternatives to clojurescript

  • clojure

    The Clojure programming language

  • klipse

    Klipse is a JavaScript plugin for embedding interactive code snippets in tech blogs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better clojurescript alternative or higher similarity.

clojurescript reviews and mentions

Posts with mentions or reviews of clojurescript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-23.
  • ClojureScript 1.11.132
    1 project | news.ycombinator.com | 8 Apr 2024
  • Clojure 1.11 is now available!
    2 projects | /r/Clojure | 23 Mar 2022
  • ClojureScript 1.10.866 Release
    2 projects | news.ycombinator.com | 25 May 2021
    ... except when you target JavaScript - which is not an expression oriented language. So `let` will be wrapped in an immediately invoked function expression (IIFE). Google Closure does elide these when it can, but it will give up after only a few levels of nesting. For an IIFE to appear in the middle of conditional is a performance killer.

    Another complication is that it's not safe to just use `&&` and `||` blindly because of `0` and the empty string and the other cases which are not false-y in Clojure(Script). Checks for JavaScript false-y values are a performance killer.

    So years ago we implemented a simple form of type inference which annotates the AST with type information as a compiler pass on every node when possible. As long we know the JavaScript `if` will receive a boolean value we can elide the JS false-y value check.

    But this is also exactly the information we need to safely run a following pass that looks for the above and/or syntactical patterns and optimize it. As long as each nested `if` is guaranteed to return a boolean, we can remove the local and use `&&` or `||` instead.

    The and/or optimization pass ended up being ~120 lines of code with no actual dependencies on anything else in the ClojureScript analyzer or compiler because the ClojureScript AST is just plain EDN - https://github.com/clojure/clojurescript/blob/master/src/mai...

    Happy to answer any further questions about this!

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 26 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic clojurescript repo stats
3
9,183
7.7
8 days ago

clojure/clojurescript is an open source project licensed under Eclipse Public License 1.0 which is an OSI approved license.

The primary programming language of clojurescript is Clojure.

Popular Comparisons


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com