generator VS proposal-pipeline-operator

Compare generator vs proposal-pipeline-operator and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
generator proposal-pipeline-operator
5 102
4 7,375
- 1.0%
7.7 2.7
6 months ago 5 months ago
TypeScript HTML
MIT License 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.

generator

Posts with mentions or reviews of generator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-04.
  • Ramda: A practical functional library for JavaScript programmers
    7 projects | news.ycombinator.com | 4 Aug 2023
    I find straight forward, dedicated combinators much more readable and practical to use ie. for iterables (context where it makes a lot of sense) [0] example [1], runtime assertions (through refutations, which are much faster than combinators over assertions) [2], parser combinators for smallish grammars [3] etc.

    In many cases vanilla/imperative js is more readable and terse, no need to bring functional fanaticism everywhere, just in places where it gives true benefits and in form that can be understood by peers.

    Functional code can be beautiful and can also be unreadable/undebugable. Same with imperative code. It's great in js/ts you can pick approach where the problem is expressed more naturally and mix it at will.

    [0] https://github.com/preludejs/generator

    [1] https://observablehq.com/@mirek/project-euler

    [2] https://github.com/preludejs/refute

    [3] https://github.com/preludejs/parser

  • Why Would Anyone Need JavaScript Generator Functions?
    19 projects | news.ycombinator.com | 7 Nov 2022
  • A pipe operator for JavaScript: introduction and use cases
    4 projects | news.ycombinator.com | 29 Jan 2022
    You can type it, take a look at pipe and pipe1 in [0].

    [0] https://github.com/preludejs/generator/tree/master/src

  • Parser Combinators in Haskell
    10 projects | news.ycombinator.com | 22 Dec 2021
  • Loopless Code
    1 project | news.ycombinator.com | 26 Nov 2021
    Loops are great if your programming languages supports iterables/iterators/generators (also async generators) like in js/ts for example.

    Especially generator-to-generator combinators ie. [0] give you terse, transducer expressiveness over computation on finite/infinite streams, arrays, etc. (all iterables). It's easy to compose them, jump into for loops if needed for arbitrary yielding (ie. yielding multiple items sometimes, skipping some, halting etc). `continue`, `break`, nesting, yield, yield from, normal code in for loops is very intuitive and terse creating pleasant, understandable code.

    [0] https://github.com/preludejs/generator

proposal-pipeline-operator

Posts with mentions or reviews of proposal-pipeline-operator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-29.
  • Pipeline Operator great again!
    2 projects | dev.to | 29 Sep 2023
    Current Status: You'd have to check the TC39 proposals repository or the official proposal text for the most recent status. As of my last update, it had not yet reached Stage 4 (final stage) of the TC39 process, which means it wasn't part of the ECMAScript specification yet.
  • pipesAreFun
    3 projects | /r/ProgrammerHumor | 4 Jul 2023
    Javascript may get it https://github.com/tc39/proposal-pipeline-operator https://youtu.be/dQw4w9WgXcQ
  • JavaScript Gom Jabbar
    12 projects | news.ycombinator.com | 2 Jul 2023
    It can be further simplified. For example, you don't need two separate functions to extract the first chat completion message etc.

    This version:

    - uses existing language constructs

    - can be immediately understood even by the most junior devs

    - is likely to be 1000 times faster

    - does not rely on an external dependency that currently has 143 issues and every two weeks releases a new version adding dozens of new methods to things

    Note: one thing I do wish Javascript adopted is pipes: https://github.com/tc39/proposal-pipeline-operator

  • What's new in ES2023?
    2 projects | /r/javascript | 30 May 2023
    Still in stage 2 atm https://github.com/tc39/proposal-pipeline-operator
  • lizod - spiritual successor of zod less than 1kb
    2 projects | dev.to | 23 May 2023
  • Updates from the 96th TC39 meeting
    5 projects | /r/javascript | 19 May 2023
  • Mostly adequate guide to FP (in JavaScript)
    5 projects | news.ycombinator.com | 21 Mar 2023
    Both are active tc39 proposals :)

    https://github.com/tc39/proposal-pipeline-operator - Stage 2

    https://github.com/tc39/proposal-pattern-matching - Stage 1

    Hopefully we get both in the next couple of years.

  • Tipe - typed pipe
    2 projects | /r/Python | 6 Mar 2023
    Some time ago I saw how hyped JS community was about pipeline operator proposal. So I tried to make something similar in python. There is how tipe module was created. Check it out if you are interested: https://github.com/mishankov/tipe
  • CoffeeScript for TypeScript
    5 projects | news.ycombinator.com | 27 Feb 2023
    We often add promising TC39 proposals into Civet so people can experiment without waiting.

    We've added https://github.com/tc39/proposal-pipeline-operator, a variant of https://github.com/tc39/proposal-pattern-matching, a variant of https://github.com/tc39/proposal-string-dedent and others.

    Since our goal is to be 99% compatible with ES we'll need to accommodate any proposals that become standard and pick up anything TC39 leaves on the table (rest parameters in any position, etc.)

  • [AskJS] Is JavaScript missing some built-in methods?
    13 projects | /r/javascript | 23 Feb 2023
    The Proposal is for the Hack pipe, so your example would be

What are some alternatives?

When comparing generator and proposal-pipeline-operator you can also consider the following projects:

angstrom - Parser combinators built for speed and memory efficiency

ionide-vscode-fsharp - VS Code plugin for F# development

assert-combinators - Functional assertion combinators.

content - The content behind MDN Web Docs

ppipe - pipes values through functions, an alternative to using the proposed pipe operator ( |> ) for ES

ramda - :ram: Practical functional Javascript

notion-sdk-js - Official Notion JavaScript Client

FiraCode - Free monospaced font with programming ligatures

IxJS - The Interactive Extensions for JavaScript

Gigablast - Nov 20 2017 -- A distributed open source search engine and spider/crawler written in C/C++ for Linux on Intel/AMD. From gigablast dot com, which has binaries for download. See the README.md file at the very bottom of this page for instructions.

async-generator - Async generator module.

proposal-partial-application - Proposal to add partial application to ECMAScript