futhark VS npeg

Compare futhark vs npeg and see what are their differences.

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
futhark npeg
8 2
341 321
- -
7.6 5.1
9 days ago about 1 month ago
Nim Nim
MIT License 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.

futhark

Posts with mentions or reviews of futhark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-21.
  • C23: A Slightly Better C
    2 projects | news.ycombinator.com | 21 Jan 2024
    You don't want nimterop, you want futhark (https://github.com/PMunch/futhark).

    The C FFI Nim library lineage goes c2nim --> nimterop --> something i forgot --> futhark.

  • Nim v2.0 Released
    49 projects | news.ycombinator.com | 1 Aug 2023
    Ones that have not been mentioned so far:

    nlvm is an unofficial LLVM backend: https://github.com/arnetheduck/nlvm

    npeg lets you write PEGs inline in almost normal PEG notation: https://github.com/zevv/npeg

    futhark provides for much more automatic C interop: https://github.com/PMunch/futhark

    nimpy allows calling Python code from Nim and vice versa: https://github.com/yglukhov/nimpy

    questionable provides a lot of syntax sugar surrounding Option/Result types: https://github.com/codex-storage/questionable

    ratel is a framework for embedded programming: https://github.com/PMunch/ratel

    cps allows arbitrary procedure rewriting to continuation passing style: https://github.com/nim-works/cps

    chronos is an alternative async/await backend: https://github.com/status-im/nim-chronos

    zero-functional fixes some inefficiencies when chaining list operations: https://github.com/zero-functional/zero-functional

    owlkettle is a declarative macro-oriented library for GTK: https://github.com/can-lehmann/owlkettle

    A longer list can be found at https://github.com/ringabout/awesome-nim.

  • Why does Nim "wrap" C, rather than allow C code to be pasted directly to .nim files?
    1 project | /r/nim | 2 Jun 2022
    Have a look at Futhark . It does what you are requesting.
  • Current Goals for Nim?
    3 projects | /r/nim | 3 Jan 2022
    I'm not sure if Nimterop was created specifically to make Nim more mainstream. We have quite a couple different C/C++ interop tools, from c2nim in the core distribution to something like Futhark which automatically wraps things based on libclang.
  • Nim -- a modern "glue" language like Python
    9 projects | dev.to | 11 Oct 2021
    c2nim is a tool to translate ANSI C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand after the translation process. If you are tired of wrapping C library, you can try futhark which supports "simply import C header files directly into Nim". Similar to futhark, cinterop allows one to interop with C/C++ code without having to create wrappers. nimLUA is a glue code generator to bind Nim and Lua together using Nim's powerful macro. nimpy and nimporter is a bridge between Nim and Python. rnim is a bridge between R and Nim. nimjl is a bridge between Nim and Julia! Last but not least, genny generates a shared library and bindings for many languages such as Python, Node.js, C.
  • Automatic wrapping of C headers in Nim
    1 project | news.ycombinator.com | 9 Oct 2021
  • Futhark: Automatic wrapping of C headers in Nim
    2 projects | /r/nim | 22 Sep 2021

npeg

Posts with mentions or reviews of npeg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-20.
  • Pratt Parsers: Expression Parsing Made Easy
    6 projects | news.ycombinator.com | 20 Jan 2024
    Ha, nice to see this on HN: this article was pretty helpful to me to understand the concept a few years back when extending my PEG parsing library [1] with a Pratt parser; this mitigates the problem of PEG parsers not allowing left recursion and allows for a much more concise notation of grammars with operator precedence. Thank you Bob:

    1. https://github.com/zevv/npeg

  • Nim v2.0 Released
    49 projects | news.ycombinator.com | 1 Aug 2023
    Ones that have not been mentioned so far:

    nlvm is an unofficial LLVM backend: https://github.com/arnetheduck/nlvm

    npeg lets you write PEGs inline in almost normal PEG notation: https://github.com/zevv/npeg

    futhark provides for much more automatic C interop: https://github.com/PMunch/futhark

    nimpy allows calling Python code from Nim and vice versa: https://github.com/yglukhov/nimpy

    questionable provides a lot of syntax sugar surrounding Option/Result types: https://github.com/codex-storage/questionable

    ratel is a framework for embedded programming: https://github.com/PMunch/ratel

    cps allows arbitrary procedure rewriting to continuation passing style: https://github.com/nim-works/cps

    chronos is an alternative async/await backend: https://github.com/status-im/nim-chronos

    zero-functional fixes some inefficiencies when chaining list operations: https://github.com/zero-functional/zero-functional

    owlkettle is a declarative macro-oriented library for GTK: https://github.com/can-lehmann/owlkettle

    A longer list can be found at https://github.com/ringabout/awesome-nim.

What are some alternatives?

When comparing futhark and npeg you can also consider the following projects:

c2nim - c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.

awesome-nim - A curated list of awesome Nim frameworks, libraries, software and resources.

nimporter - Compile Nim Extensions for Python On Import!

jsony - A loose, direct to object json parser with hooks.

futhark - :boom::computer::boom: A data-parallel functional programming language

torrentinim - A very low memory-footprint, self hosted API-only torrent search engine. Sonarr + Radarr Compatible, native support for Linux, Mac and Windows.

nimpy - Nim - Python bridge

nlvm - LLVM-based compiler for the Nim language

nimjl - A bridge between Nim-lang and Julia !

mummy - An HTTP and WebSocket server for Nim that returns to the ancient ways of threads.

owlkettle - A declarative user interface framework based on GTK 4

FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project