empirical-lang VS shelljs

Compare empirical-lang vs shelljs and see what are their differences.

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
empirical-lang shelljs
7 28
173 14,372
0.0% 0.0%
1.8 8.3
over 4 years ago 4 months ago
C++ JavaScript
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

empirical-lang

Posts with mentions or reviews of empirical-lang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-07.
  • Polars Cloud: The Distributed Cloud Architecture to Run Polars Anywhere
    5 projects | news.ycombinator.com | 7 Mar 2025
    Statically typed dataframes are exactly why I created the Empirical programming language:

    https://www.empirical-soft.com

    It can infer the column names and types from a CSV file at compile time.

    Here's an example that misspells the "ask" column as if it were plural:

      let quotes = load("quotes.csv")
  • Code in Database vs. Code in Application
    2 projects | news.ycombinator.com | 10 Jul 2022
    I'm interested in languages experimenting with integrating tables/dataframes and the relational model as native parts of the language

    With how much of the code I've written that's been around representing entities and doing CRUD on collections of them it seems a bit wild not to have native "Table" types.

    There's an HN user who has a neat language called "Empirical" based on this, and there's an active research language called "Flix" that has this as well. APL/K and other array langs feature a similar concept as I understand it.

    https://www.empirical-soft.com/

    https://flix.dev/

  • Tell HN: Stop Accepting Shitty Interviews
    1 project | news.ycombinator.com | 13 Jan 2022
    The most used in finance is a few functions in pandas, like merge_asof(). It's pretty industry standard now.

    https://pandas.pydata.org/docs/reference/api/pandas.merge_as...

    The biggest open-source thing I've ever written is Empirical, a language for time-series analysis.

    https://www.empirical-soft.com

    I'm also top 1% on Stack Overflow. A lot of companies have found me through there.

    https://stackoverflow.com/users/478288/chrisaycock

  • Table Oriented Programming (2002)
    5 projects | news.ycombinator.com | 30 Dec 2021
    I started Empirical with the goal of "q like Haskell". The end result went in a radically different direction, but the guiding light has always been to have a statically typed language where tables and queries are a first-class operation.

    The source code is publicly available under AGPL with the Commons Clause:

    https://github.com/empirical-soft/empirical-lang

  • Scripting Languages of the Future
    9 projects | news.ycombinator.com | 7 Nov 2021
    Some of the OP's observations are why I wrote Empirical [1].

    - I wanted static types that felt dynamic, which meant being able to infer types from a file as long as the file path can be determined at compile time.

    - I wanted Dataframes to be a first-class container since the high-level of abstraction leads to great performance when doing analytics.

    Therefore, I created a language with statically typed Dataframes. Empirical can infer a CSV's type at compile time, namely because performs compile-time function evaluation automatically. The result is a language that runs easily in a REPL but can be used for long-running scripts without worrying about common programming errors.

    [1] https://www.empirical-soft.com

  • APL Compiler Based on Tail (Typed Array Intermediate Language)
    4 projects | news.ycombinator.com | 22 Oct 2021
    I wanted to hit the runtime repeatedly with as little overhead as possible. So VVM has no type look-up, multiple operands per instruction, and a cache-efficient IR. The sum() operand for the above example is invoked directly in a loop almost as fast as hand-written C++.

    VVM has its own assembly language [2]. I have blog post that explains some of the design choices [3].

    [1] https://github.com/empirical-soft/empirical-lang/tree/master...

    [2] https://github.com/empirical-soft/empirical-lang/tree/master...

    [3] https://www.empirical-soft.com/2020/09/03/a-tour-of-the-vect...

shelljs

Posts with mentions or reviews of shelljs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-20.
  • Compilation of Libraries Supporting CLI Application Development for Node.js
    13 projects | dev.to | 20 Jan 2025
    shelljs is used to run any other command-line programs through the shell.
  • The Bun Shell
    17 projects | news.ycombinator.com | 20 Jan 2024
    When I need shell-like utilities from my JS scripts I've previously used shelljs [0]. It's neat that Bun is adding more built-in utilities though.

    [0] https://github.com/shelljs/shelljs

  • Auto commit with LaunchAgents & JavaScript
    1 project | dev.to | 2 Feb 2023
    Now we can open this new project and we're going to install one package, shelljs Shelljs is a great Command Line Utility for interacting with the command line in JavaScript.
  • zx 7.0.0 release
    2 projects | /r/javascript | 14 Jun 2022
    Feels like this library is trying to solve a problem solved long ago by shelljs
  • Guide: Hush Shell-Scripting Language
    23 projects | news.ycombinator.com | 25 Apr 2022
    The purpose of OP's project kind of reminded me of shell.js (shx) [1] which is a nodejs library that wraps all kinds of common UNIX commands to their own synchronously executed methods.

    I guess that most shell projects start off as wanting to be a cross-platform solution to other operating systems, but somewhere in between either escalate to being their own programming language (like all the powershell revamps) or trying to reinvent the backwards-compatibility approach and/or POSIX standards (e.g. oil shell).

    What I miss among all these new shell projects is a common standardization effort like sh/dash/bash/etc did back in the days. Without creating something like POSIX that also works on Windows and MacOS, all these shell efforts remain being only toy projects of developers without the possibility that they could actually replace the native shells of Linux distributions.

    Most projects in the node.js area I've seen migrate their build scripts at some point to node.js, because maintaining packages and runtimes on Windows is a major shitshow. node.js has the benefit (compared to other environments) that it's a single .exe that you have to copy somewhere and then you're set to go.

    When I compare that with python, for example, it is super hard to integrate. All the anaconda- or python-based bundles for ML engineers are pretty messed up environments on Windows; and nobody actually knows where their site-packages/libraries are really coming from and how to even update them correctly with upstream.

    [1] https://github.com/shelljs/shelljs

  • Change working directory in my current shell context when running Node script
    1 project | /r/codehunter | 29 Mar 2022
    `` When I then run this file with./bin/nodefile`, it exits, but the working directory of the current shell context has not changed. I have also tried shelljs, but that does not work either.
  • Ask HN: Let's Build CheckStyle for Bash?
    15 projects | news.ycombinator.com | 20 Feb 2022
    Oh people have tried - here are a few https://stackoverflow.com/questions/10239235/are-there-any-l...

    I vaguely remember quite liking bish when I saw it years ago https://github.com/tdenniston/bish but it looks like no commits in 6 years.

    This shelljs thing looks more promising, but really tedious to use https://github.com/shelljs/shelljs - shell.rm('-rf', 'out/Release'); I'd rather suffer proper bash than have to do that sort of thing.

    Nothing seems to have really caught on so far. Bash is easy to learn and hack on, and before you know it, that simple install.sh that started out moving a few files around is 5000 lines, unmaintainable, and critical to bootstrapping your software :)

  • Release of google/zx 5.0.0
    2 projects | /r/javascript | 9 Feb 2022
    I personally prefer shelljs for stuff like this. zx seems pretty high on the "insane syntactic sugar" train.
  • How to build a CLI using NodeJS 💻
    10 projects | dev.to | 4 Jan 2022
    As we are creating starter files, let's use ShellJS to run commands like git clone, mkdir...
  • Scripting Languages of the Future
    9 projects | news.ycombinator.com | 7 Nov 2021

What are some alternatives?

When comparing empirical-lang and shelljs you can also consider the following projects:

apltail - APL Compiler targeting a typed array intermediate language

nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

Apache Geode - Apache Geode

cross-env

IndexedTables.jl - Flexible tables with ordered indices

chalk - 🖍 Terminal string styling done right

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured

Did you know that C++ is
the 7th most popular programming language
based on number of references?