INim VS pixie

Compare INim vs pixie and see what are their differences.

INim

Interactive Nim Shell / REPL / Playground (by inim-repl)

pixie

Full-featured 2d graphics library for Nim. (by treeform)
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
INim pixie
4 22
625 725
0.0% -
2.8 4.0
7 months ago 17 days 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.

INim

Posts with mentions or reviews of INim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • Nim
    5 projects | news.ycombinator.com | 6 Dec 2023
    - `nim secret`[0]: code is interpreted with Nim's vm, it is limited to compile-time (e.g. no C/C++).

    - `nlvm r`[1]: nlvm backend supports JIT compilation and repl-like interface was added in latest release.

    - `inim`[2]: supports all nim code, but it's not really a true repl. It adds code to a file and recompiles it (you can see the source file with `ctrl+x`). I'd recommend to use it with clang compiler, because it's a bit faster than gcc in my experience. It's the best option right now. And I use it almost daily.

    First two options have rudimentary input system. But you can get command history and left-right navigation by wrapping them with rlwrap (should be preinstalled on most *nixes): `rlwrap nim secret`, `rlwrap nlvm r`.

    There are plans to support incremental compilation for the next Nim release (it is currently broken). That would improve inim and other repls experience significantly.

    [0]: https://nim-lang.org/docs/manual.html#restrictions-on-compil...

    [1]: https://forum.nim-lang.org/t/10697

    [2]: https://github.com/inim-repl/INim

  • Could Nim be a complete replacement for Python?
    3 projects | /r/nim | 2 Jan 2023
  • Writing a presentation to introduce rustlang to my dev team, and I've got to the "downsides" part.
    1 project | /r/rustjerk | 26 Jan 2022
    Go must be terrible to google too! Nim's easy to google though, it's how I got to rust really. I'm actually the maintainer of inim, the nim repl: https://github.com/inim-repl/INim
  • Nim Version 1.6 Released
    37 projects | news.ycombinator.com | 19 Oct 2021

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 INim and pixie you can also consider the following projects:

nlvm - LLVM-based compiler for the Nim language

tiny-skia - A tiny Skia subset ported to Rust

vscode-nim

godot-nim - Nim bindings for Godot Engine

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

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

packages - List of packages for Nimble

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

norm - A Nim ORM for SQLite and Postgres

nimview - A Nim/Webview based helper to create Desktop/Server applications with Nim/C/C++ and HTML/CSS

raqote - Rust 2D graphics library