moja VS coreutils

Compare moja vs coreutils and see what are their differences.

moja

Composable computation pipelines for Java: Async, Lazy, Option, Try, Result, Multi (List), Stated, Reader, Logger, Writer. (by karmakaze)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
moja coreutils
4 112
1 4,024
- 2.7%
1.8 9.3
over 2 years ago 4 days ago
Java C
MIT License GNU General Public License v3.0 only
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.

moja

Posts with mentions or reviews of moja. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • Sketch of a Post-ORM
    14 projects | news.ycombinator.com | 2 Jun 2023
    I want sum types.

    I want a statically-typed way of constructing composable queries that follow SQL rather than reinvent a different thing. It doesn't have to be the same syntax but it has to be the same structuring.

    I started writing one[0] and stopped before doing all the boilerplate code generation, having moved on from the JVM ecosystem for the time being. One thing it does is treat most things like sets so we don't end up with N+1 queries. Another trick it uses is collapsing constant expressions via an expression evaluation library[1].

    [0] https://github.com/karmakaze/safeql

    [1] https://github.com/karmakaze/moja

  • Ask HN: Tools you have built for yourself?
    17 projects | news.ycombinator.com | 23 Jan 2023
    Over the years, I've written many apps and utilities for myself or others (that didn't end up get used). These are the interesting ones I remember. Many not quite complete/usable. Other than hackerer.news none of them are 'up' and running. Some have and others haven't been published as opensource.

    - https://hackerer.news HN viewer (source[0]): I use daily so I can see today's top stories in reverse chronological order with mainstream topics sorted to the bottom.

    - qwickly[1] keyboard layout: I use all the time as an easier to learn and more comfortable to type than Colemak/Tarmak

    - safeql[2]: Java type-safe SQL expression composer that reduces constant expressions and eliminates N+1 queries loading associations by always operating on set relation or array of models.

    - moja[3]: Composable computation pipelines for Java: Async, Lazy, Option, Try, Result, Multi (List), Stated, Reader, Logger, Writer.

    - gitgrep.com[4] Opensource SaaS version of etsy/houndd (now called hound-search).

    - statuspages.me: Status page aggregator with dynamic javascript for scraping each source using selector expressions.

    - movies to watch aggregator: with links to sources to watch. It was hard then to get 3rd party deep links into streaming sites so included some torrent links. Got a DMCA phone call, so took it down. Combined thumbnails, summaries, actors(?), imdb ratings, links.

    - java2cpp: Translate a moderately sized java app with test suite to c++, not 100% required final manual fixups.

    - swift2java (or maybe it was java2swift, it's fuzzy now): translate Swift to Java obviously, using ANTLR4. Not 100% required final manual fixups.

    - gui2log: to make an ASCII rendition of on-screen GUI widgets into an application log file when form submitted, so users couldn't complain that they saw X, but got Y.

    - some basic stats/ML algorithms: k-nearest neighbour, RNN back-propagation, etc?

    - Java in-memory DB: Small SQL-like memory tables with indexing/searching.

    - wwwsqldesigner: This exists as opensource and I extended it to infer foreign key relationships based on naming conventions used in a MySQL schema. It was great for zooming around a large ERD.

    - tracelog: combination of microservices parent/child span logging and generated high level events shown as a sequence diagram. Integrated with Loggly for full/verbose logs of selected high-level events.

    - pcl2bmp downscaler: Reduce high resolution HP LaserJet (PCL5) printed to file to lower resolution bitmap pages for screen display (before retina DPI was common). It aimed to shrink same-color areas and preserve black/white transitions while reducing.

    [0] https://gitlab.com/karmakaze/hackerer-news

    [1] https://github.com/qwickly-org/Qwickly

    [2] https://github.com/karmakaze/safeql

    [3] https://github.com/karmakaze/moja

    [4] https://github.com/gitgrep-com/gitgrep

  • Ask HN: What is the most impactful thing you've ever built?
    33 projects | news.ycombinator.com | 18 Nov 2022
    Sure, SafeQL[0] SQL library. It's been sitting in a close but not enough to promote state for a while. The main thing I wanted was to have generation of the bindings to existing DB schema. I also want to combine using Moja[1] datatypes for uniform handling of single/multi, normal/async, and errors.

    [0] https://github.com/karmakaze/safeql

    [1] https://github.com/karmakaze/moja

  • C# 11 Features Now Previewing in Visual Studio: Generic Attributes and More
    3 projects | /r/programming | 16 Mar 2022
    I made a similar thing for Java moja Options as needed other projects. It sort-of works but it's not great.

coreutils

Posts with mentions or reviews of coreutils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-13.
  • GNU Coreutils 9.5 Can Yield 10~20% Throughput Boost For cp, mv and cat Commands
    1 project | news.ycombinator.com | 28 Mar 2024
    https://github.com/coreutils/coreutils/commit/fcfba90d0d27a1...

    A summary of other changes just released in GNU coreutils 9.5 are:

    * mv accepts --exchange to swap files

  • How the GNU coreutils are tested
    1 project | news.ycombinator.com | 21 Feb 2024
    > some are simple like yes(1)

    Not that simple: https://github.com/coreutils/coreutils/blob/master/src/yes.c

  • Show HN: Usr/bin/env Docker run
    4 projects | news.ycombinator.com | 13 Jan 2024
    The -S / --split-string option[1] of /usr/bin/env is a relatively recent addition to GNU Coreutils. It's available starting from GNU Coreutils 8.30[2], released on 2018-07-01.

    Beware of portability: it relies on a non-standard behavior from some operating systems. It only works for OS's that treat all the text after the first space as argument(s) to the shebanged executable; rather than just treating the whole string as an executable path (that can happen to contain spaces).

    Fortunately this non-standard behavior is more the norm than the exception: it works at least on modern GNU/Linux, BSDs, and macOS.

    [1] https://www.gnu.org/software/coreutils/manual/html_node/env-...

    [2] https://github.com/coreutils/coreutils/blob/b09dc6306e7affaf...

  • From Nand to Tetris: Building a Modern Computer from First Principles
    6 projects | news.ycombinator.com | 22 Dec 2023
    > building a cat from scratch

    > That would be an interesting project.

    Here is the source code of the OpenBSD implementation of cat:

    > https://github.com/openbsd/src/blob/master/bin/cat/cat.c

    and here of the GNU coreutils implementation:

    > https://github.com/coreutils/coreutils/blob/master/src/cat.c

    Thus: I don't think building a cat from scratch or creating a tutorial about that topic is particularly hard (even though the HN audience would likely be interested in it). :-)

  • The Linux Scheduler: A Decade of Wasted Cores (2016) [pdf]
    3 projects | news.ycombinator.com | 13 Dec 2023
    the yes command, writing to /dev/null, is making IO calls, which interfere with predictable scheduling.

    If you look at the source code for yes, https://github.com/coreutils/coreutils/blob/master/src/yes.c

    it builds a buffer of output and then writes that in a for loop

      while (full_write (STDOUT_FILENO, buf, bufused) == bufused)
  • nohup not working?
    1 project | /r/bash | 7 Dec 2023
    Looking at the source of nohup, if the execvp() of the child happens then it _must_ have already done the signal (SIGHUP, SIG_IGN) so - WTF?
  • Is it fair to say "ls" is dead? No commits in 15 years
    1 project | news.ycombinator.com | 10 Oct 2023
    This got me wondering so I went and looked and it seems like lo and behold there was actually a commit to the GNU ls source just 2 weeks ago.

    https://github.com/coreutils/coreutils/blob/master/src/ls.c

    "maint: prefer char32_t to wchar_t"

  • The Tao of Programming
    1 project | news.ycombinator.com | 28 Sep 2023
  • Decoded: GNU Coreutils
    5 projects | news.ycombinator.com | 8 Sep 2023
    even an empty file? Yes. so now it was a file with a copyright disclaimer and nothing else. And the koan-like question comes to mind is "Can you copyright nothing?" well AT&T sure tried.

    Then somebody said our programs should be well defined and not depend on a fluke of unix, which at this point was probable a good idea. so it became "exit 0"

    Then somebody said we should write our system utilities in C instead of shell so it runs faster. openbsd still has a good example of how this would look.

    http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr....

    At some point gnu bureaucracy got involved and said all programs must support the '-h' flag. so that got added, then they said all programs must support locale so that got added. now days gnu true is an astonishing 80 lines long.

    https://github.com/coreutils/coreutils/blob/master/src/true....

    http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html

  • Exa Is Deprecated
    9 projects | news.ycombinator.com | 7 Sep 2023
    > Yes, ls is maintained. Although, maintained is a very strong word. It exists.

    Why would it be a strong word? Here it is, in src/ls.c: https://github.com/coreutils/coreutils

    It is then packaged by tens of operating system distributions, who themselves maintain extra patchsets, some of which are then upstreamed.

    It is installed and used on millions (billions?) of devices, for 3 decades.

    It's a very reliable and trusty "sharp stick of metal" :)

What are some alternatives?

When comparing moja and coreutils you can also consider the following projects:

OneOf - Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching

util-linux

gitgrep - Lightning fast code searching made easy

madaidans-insecurities

safeql - Composable / async / functional / type-safe / parallel-pipelined queries and relations without SQL injection or N+1s.

busybox - BusyBox mirror

Norm - The SQL generation library you already know how to use.

src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

openship - multi-channel fulfillment at scale

linux - Linux kernel source tree

gnulib - upstream mirror

coreutils - Cross-platform Rust rewrite of the GNU coreutils