awesome-nim VS pixie

Compare awesome-nim vs pixie and see what are their differences.

awesome-nim

A curated list of awesome Nim frameworks, libraries, software and resources. (by ringabout)

pixie

Full-featured 2d graphics library for Nim. (by treeform)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
awesome-nim pixie
9 22
1,034 725
- -
4.6 4.0
11 days ago 11 days ago
Nim Nim
Creative Commons Zero v1.0 Universal 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.

awesome-nim

Posts with mentions or reviews of awesome-nim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-01.
  • 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.

  • Hamarosan itt a Nim programozási nyelv 2.0.0-s változata
    1 project | /r/codingHungary | 2 Apr 2023
    Hasznos cuccok hozzá: https://github.com/ringabout/awesome-nim
  • Nim 2.0.0 RC2
    10 projects | news.ycombinator.com | 31 Mar 2023
    Ecosystem-wise - a brief subset of Nim packages:

        https://github.com/ringabout/awesome-nim
  • Twenty five thousand dollars of funny money
    3 projects | news.ycombinator.com | 3 Dec 2022
    One can, of course, go much further than simply distinct number types: https://github.com/ringabout/awesome-nim#science

    (Unchained seems maybe the most featureful of those units packages.)

  • An Intuition for Lisp Syntax
    2 projects | news.ycombinator.com | 28 Aug 2022
    > This is useful for compiler programmers, or maybe also those writing source code analyzers/optimizers, but is that it?

    It is also useful for anyone wanting to implement language-level features as simple libraries. Someone else brought up Nim here: it's a great example of what can be done with metaprogramming (and in a non-Lisp language) as it intentionally sticks to a small-but-extendable-core design.

    There's macro-based libraries that implement the following, with all the elegance of a compiler feature: traits, interfaces, classes, typeclasses, contracts, Result types, HTML (and other) DSLs, syntax sugar for a variety of things (notably anonymous functions `=>` and Option types `?`), pattern matching (now in the compiler), method cascading, async/await, and more that I'm forgetting.

    https://github.com/ringabout/awesome-nim#language-features

  • Nim: Curated Packages
    7 projects | news.ycombinator.com | 27 May 2022
    Just under their table of contents, they say that "This list is fairly outdated." and point you to https://github.com/xflywind/awesome-nim - and that repo seems to have recent updates.
  • Nim Community Survey 2021 Results
    4 projects | news.ycombinator.com | 14 Jan 2022
    Thanks for making these, I actually had no idea these existed! I don't "need" them now but seeing these gives me ideas for projects and makes future things easier.

    I wish discovery of community libraries was higher, I'm constantly discovering libraries that do amazing things 'hidden' away. I know there's https://nimble.directory/ and https://github.com/xflywind/awesome-nim but most of the time I end up using a search engine for something specific if I think of it.

  • Prologue: A powerful web framework written in Nim
    4 projects | dev.to | 21 Oct 2020
    awesome-nim: https://github.com/xflywind/awesome-nim

pixie

Posts with mentions or reviews of pixie. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-01.
  • Nim v2.0 Released
    49 projects | news.ycombinator.com | 1 Aug 2023
    We have written pixie: https://github.com/treeform/pixie . Pixie is a 2D graphics library similar to Cairo and Skia written entirely in Nim. Which I think is a big accomplishment. It even has python bindings: https://pypi.org/project/pixie-python/
  • How can I add graphics to my nim program?
    10 projects | /r/nim | 4 Jun 2023
  • Simple Gamepad Support
    7 projects | /r/nim | 10 May 2023
    I made it because I really like pixie/boxy/windy combo, but there is no gamepad support built-in.
  • Why I enjoy using the Nim programming language at Reddit.
    10 projects | /r/RedditEng | 14 Nov 2022
    With Nim, you can continuously optimize and improve the hot spots in your code. For example, in the Pixie graphics library, path filling started with floating point code, switched to floating point SIMD, then to 16-bit integer SIMD. Finally, this SIMD was written for both x86 and ARM.
  • Is Fidget usable for implementation of 3D rendering?
    9 projects | /r/nim | 12 Nov 2022
    The author Fidget actually has a number of other great libraries that are part of the rendering stack. Notably, Pixie for text and shape rendering in 2D, Boxy for rendering textures to the GPU via opengl, and then Windy for an OS window context and user events, and a number of other libraries related to 3D rendering.
  • Ask HN: What's the best source code you've read?
    46 projects | news.ycombinator.com | 10 Sep 2022
    Perhaps not the "best" source code I've ever read, but libVF.io had some beautiful code for what's generally gnarly system-glue code. The iommu setup code is a good example and inspires me to think that system-glue code doesn't need to be gross or impenetrable: https://github.com/Arc-Compute/LibVF.IO/blob/master/src/libv...

    Another one I've appreciated reading (and learned more about 2d graphics from) is Pixie, a 2d graphics library written in Nim. Here's the implementation of a fair subset of SVG paths: https://github.com/treeform/pixie/blob/master/src/pixie/path...

    And one last one for basic algorithms: https://github.com/nim-lang/Nim/blob/version-1-6/lib/pure/al...

    Of course Knuth's original code is still some of the best classic code. K&R's original C book is a classic.

  • How are Images Compressed? An explanation of JPEG [video]
    1 project | news.ycombinator.com | 27 Jun 2022
    I recently helped work on a new open source JPEG decoder in Nim. (Over here on GitHub: https://github.com/treeform/pixie/blob/master/src/pixie/file...)

    This video was extremely helpful to understand the "why" of all the things the spec was trying to explain. It made a huge difference in us being able to get things working.

    We talk a bit about JPEG and actually writing our decoder in Nim here: https://www.youtube.com/watch?v=vYwD7OynFcg

    Overall, our concluding opinion is that JPEG has some extremely cool and really smart ideas for how to compress images but the binary file format itself has some very painful things in it (progressive and restart markers as a couple examples).

  • Nim: Curated Packages
    7 projects | news.ycombinator.com | 27 May 2022
    I am working on OpenStreetMap renderer in Nim - see https://github.com/severak/lunarender3/ (but work somewhat stalled)

    I needed some language which is:

    - compiled to binaries

    - and really fast

    - has needed libraries (HTTP server, protocol buffers, sqlite and image generation)

    - it's easy to set up

    It was nice experience and Nim simply worked for my needs. People on Nim forum were nice and helped me when I ran into problems. It has nice and usable built-in library and I was really impressed by graphic library pixie - https://github.com/treeform/pixie

    I would use Nim again when I when I will see this application is suited for it (e.g. some command line apps).

  • Building a simple room-based chat application in Nim (using HTMX)
    9 projects | news.ycombinator.com | 17 Dec 2021
    > but not so small that there are no useful libraries written...

    Says the person responsible for a ton of really useful, well-done Nim libraries, such as this amazing Cairo/Skia-like library: https://github.com/treeform/pixie#readme

    Thank you for all the things you've made for Nim!

  • What sort of mature, open-source libraries do you feel Rust should have but currently lacks?
    22 projects | /r/rust | 1 Nov 2021
    A 2d graphics library like Nim’s pixie

What are some alternatives?

When comparing awesome-nim and pixie you can also consider the following projects:

prologue - Powerful and flexible web framework written in Nim

tiny-skia - A tiny Skia subset ported to Rust

nim-chronos - Chronos - An efficient library for asynchronous programming

godot-nim - Nim bindings for Godot Engine

awesome-prologue - Plugins for prologue written in Nim.

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

prologue-examples - A repository to host examples for Prologue framework written in Nim language.

canvas - Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc.

nimtraits - Automatic trait implementation for nim types

nlvm - LLVM-based compiler for the Nim language

enu - A Logo-like 3D environment, implemented in Nim

raqote - Rust 2D graphics library