patty
nimble
Our great sponsors
patty | nimble | |
---|---|---|
3 | 9 | |
263 | 1,228 | |
- | 1.1% | |
2.1 | 8.2 | |
about 1 year ago | 3 days ago | |
Nim | Nim | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
patty
-
Removing Garbage Collection from the Rust Language (2013)
This comment is misleading &| misinformed.
Sum types are built-in [1] for formal parameters. `nil` is only for `ref|ptr` types. In much code you can just use stack allocated value types and there is neither GC concern nor nil concern, but there is also a mode to help: https://nim-lang.github.io/Nim/manual_experimental_strictnot...
Nim has an easy-ish to use Lisp-like syntax macro system where you just receive & process an AST. So, to do the rest you can make libraries adding the feature without relying upon upstream compiler: such as https://github.com/beef331/sumtypes for variables with sum types or pattern matching libs like https://andreaferretti.github.io/patty/ | https://github.com/alehander92/gara.
- What would be your “perfect” programming language?
-
Patten Matching in Nim
...except that macros don't change the syntax of the language! They just offer convenience on top of it, most common example is the `=>` lambda operator from the `sugar` module. I do agree, that the pattern matching macro presented in the article is a bit hard to get used to, but you don't have to, if you don't like pattern matching. And of course there are plenty of alternatives available as well, the simplest one imo is https://github.com/andreaferretti/patty
nimble
-
Ask HN: What are some unpopular technologies you wish people knew more about?
I was using Nim for some of last years Advent of Code problems. I was mostly liking the syntax. Was a bit bother by the standard library have a snake case and camel case reference for each function (if I'm remember that correctly).
At the time nimble also required me to have NPM to install the the Nim package manager, Nimble. This was not ideal, but looking at [the nimble project install docs](https://github.com/nim-lang/nimble#installation) it seems like it is now package with the language.
Might try dusting it off for some AoC puzzles this year :)
-
My Nim Development Weekly Report (2/19)
nimble develop -g doesn't work A possible solution is to add "g" to where "global" is placed.
- nimble run --example (PR)
-
Question about nimble
I meant it's unfortunate that Nimble has no standard system-wide library management. It's one of the mains thing holding Nim back from being more prevalent in the Linux sphere in my opinion.
-
Alternative privacy-respecting front ends for popular services
`nimble` is the package manager for the programming language `nim` [1].
From [2], we can see that `nimble scss` simply generates the CSS files for the frontend.
The benefit of OSS is you can answer these questions yourself with a bit of poking around! IMO this is a fairly standard installation process, maybe the fact that it's using Nim instead of a more mainstream language makes it look more daunting than it is. The only out-of-the-ordinary thing here, IMO, is `nimble build` instead of `make build`.
[1]: https://github.com/nim-lang/nimble
[2]: https://github.com/zedeus/nitter/blob/master/nitter.nimble
-
Nim 1.6.2
Something I'm excited about: v1.6.2 integrates support for (not yet released) Nimble[1] v0.14, which introduces lockfiles. I've had terrible experiences with lockfiles in JS land, but they are sorely needed for Nim projects as (fingers crossed) they'll allow for reproducible builds without having to resort to the nimbus-build-system[2]. The latter isn't completely horrible — a lot of much appreciated hard work has gone into it, and it's been a real workhorse — but some days it feels like a big ball and chain.
[1] https://github.com/nim-lang/nimble#nimble
[2] https://github.com/status-im/nimbus-build-system
-
What are some anti features in a language?
So you wouldn't have a problem with a package manager where the configuration is in the same language, such as Nimble?
-
What best IDE/editor for NIM now.
if you structure your project with nimble (which can be be used for both libraries and applications) you can use nimble build and nimble run. While I do use nimble for managing dependencies for projects I don't use these commands that often while developing, e.g. because I'm working on a single test or something like that.
-
Using Ruby
Having similar syntax to Ruby makes it easier to port Ruby code to Crystal (ex: digest-crc -> digest-crc.cr). The Crystal stdlib is very complete and they have a growing "shards" ecosystem, roughly the same age as Rust's https://crates.io or Nim's nimble. You should look into Crystal again.
What are some alternatives?
Kind2 - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind]
Arraymancer - A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
samsara - a reference-counting cycle collection library in rust
prologue - Powerful and flexible web framework written in Nim
nitter - Alternative Twitter front-end
nimlsp - Language Server Protocol implementation for Nim
union - Anonymous unions in Nim
nimlings - Learn the Nim programming language by fixing tiny broken programs.
nim-zmq - Nim ZMQ wrapper
sumtypes - Easy to use Nim sum type library
omni - DSL for low-level audio programming.