V7 VS proposal-pattern-matching

Compare V7 vs proposal-pattern-matching and see what are their differences.

V7

Embedded JavaScript engine for C/C++ (by cesanta)
InfluxDB - Power Real-Time Data Analytics at Scale
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
V7 proposal-pattern-matching
3 67
1,401 5,344
0.0% 1.3%
1.8 9.0
over 3 years ago 8 days ago
C HTML
GNU General Public License v3.0 or later MIT 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.

V7

Posts with mentions or reviews of V7. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-02.
  • Flattening ASTs (and Other Compiler Data Structures)
    7 projects | news.ycombinator.com | 2 Jul 2023
    I used such a succinct AST structure to implement a JavaScript parser and interpreter for a severely memory constrained environment (embedded): V7 (https://github.com/cesanta/v7)

    We later switched to a ast->bytecode compilation step but for a while the implicit AST was directly traversed during interpretation.

  • Microvium Is Small
    4 projects | news.ycombinator.com | 21 Jun 2022
    Nice! A few years ago I took a stab at this problem space with https://github.com/cesanta/v7 ; with fun tricks like in-place compacting GC, stdlib JS object graph "frozen" in rom etc
  • JavaScript Is Weird
    7 projects | news.ycombinator.com | 28 Jun 2021
    https://github.com/cesanta/v7

    Languages are not all equal nor do they all function in the same way, and that's not my opinion.

    Javascript syntax itself is one thing, and you can certainly feel free to Javascriptify some C++ libraries and make it all look a certain way for specific tasks, while managing things behind the scenes, up to a point... but there is no getting around the fact that SOMEONE and some languages are needed to implement low level systems functionality.

    the power of Cython or the Python C FFI is that it allows you to script/glue modular native code.

    You then state "C++14 may have been ratified 7 years ago but it's not the target code your build chain spits out"

    no, a C++ COMPILER spits out assembler code that then gets assembled and linked into an executable.

    The C++ or C code corresponds directly to a given set of assembler instructions which correspond directly to CPU instructions.

    You claim that Python programming of microcontrollers is mainstream, but this is not true nor possible. Python SCRIPTING of code modules (that cannot be written in Python) is certainly one way to assemble a system from pre-built legos.

    If you refer to knowing what I'm talking about as gatekeeping and egoism, might I suggest that you insist less forcefully in the correctness of incorrect things you state? we could be done with this spat in short order if YOU would refrain from speaking falsehoods. lies.untrue things.

    I look forward to your lisp c compiler. make sure that it's 100% lisp from the bottom up, or I'll consider you're having ceded my point. Consider that the lisp you author in has a garbage collection system that lisp cannot have written originally, nor has any semantics for the underlying memory structures of, but hey, I guess if one is committed to pretending that all languages are equal for all tasks, who am I to question ones self-identification with a given language.

proposal-pattern-matching

Posts with mentions or reviews of proposal-pattern-matching. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-29.
  • Coming to grips with JS: a Rubyist's deep dive
    16 projects | dev.to | 29 Dec 2023
    Note, however, that there is a proposal to add pattern matching to JS.
  • Level up your Typescript game, functionally - Part 2
    2 projects | dev.to | 25 Nov 2023
    There's an ECMAScript proposal that is in the works to add this feature to the language! It's going to look something like this.
  • Building React Components Using Unions in TypeScript
    15 projects | dev.to | 1 Oct 2023
    More importantly, TypeScript typically commits to build things into itself when the proposal in JavaScript reaches Stage 3. The pattern matching proposal in JavaScript is Stage 1, but depends on many other proposals as well that may or may not need to be at Stage 3 as well for it to work. This particular proposal is interested on pattern matching on JavaScript Objects and other primitives, just like Python does with it’s native primitives. These are also dynamic types which helps in some areas, but makes it harder than others. Additionally, the JavaScript type annotations proposal needs to possibly account for this. So it’s going to be awhile. Like many years.
  • Explicit Software Design. Preliminary Conclusions
    3 projects | dev.to | 18 Sep 2023
    For true™ functional programming in JS, native pattern matching and partial function application are missing (at least for now: 1, 2). For proper OOP, it lacks real interfaces and compile-time dependency injection.
  • TypeScript Is Surprisingly OK for Compilers
    14 projects | news.ycombinator.com | 18 Aug 2023
    The proposal for pattern matching syntax seems more akin to what they're looking for.

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

  • [AskJS] C# in every Node.js job posting?
    2 projects | /r/javascript | 7 Jun 2023
    There's a proposal to add something like that to JavaScript but it's been stuck in limbo since 2017 although there are libraries like ts-pattern which implement it already.
  • [AskTS] What do you think will be the future of runtime type checking?
    10 projects | /r/typescript | 28 May 2023
    I'll admit, it is easy to assert that the TypeScript language should not be involved in the matters of packages but I also wonder if we're moving towards a point where interfaces will be as common as namespaces and whether or not it would be sensible for the language to incorporate such type assertions into the language formally, after all, it already compiles to various forms of JavaScript and there is a stage 1 proposal submitted to the TC39 committee to give JavaScript pattern matching. If adopted, wouldn't it make sense to allow TypeScript to compile a type into a type guard for the native JavaScript pattern matcher?
  • 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.

  • 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.)

What are some alternatives?

When comparing V7 and proposal-pattern-matching you can also consider the following projects:

V8 - The official mirror of the V8 Git repository

fp-ts - Functional programming in TypeScript

Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint

package.elm-lang.org - website for browsing packages and exploring documentation

Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

content - The content behind MDN Web Docs

libffi - A portable foreign-function interface library.

ecma262 - Status, process, and documents for ECMA-262

nelson - The Nelson Programming Language

proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.

Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.

proposal-record-tuple - ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!