this post was submitted on 01 Aug 2023
37 points (100.0% liked)

Programming

13384 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I've played around with Nim before, and thought some of the features such as default values were quite helpful, so it's quite nice that 2.0 is now officially released!

top 2 comments
sorted by: hot top controversial new old
[โ€“] Paradox@lemdro.id 9 points 1 year ago

Nim is one of my favorite little languages. It's got a lot going for it, and it's a joy to write. Output binaries are tiny, even compared to zig and pure c, and especially small compared to rust and go.

Only real problems with Nim are that cross compiling is difficult (or should I say isn't solved like with cross on rust), documentation is hit and miss, and the library and community support is very small. But everything I've built in it still works extremely well, and is very easy to update

[โ€“] insomniac_lemon@kbin.social 3 points 1 year ago* (last edited 1 year ago)

Nice, haven't seen much Nim on the Fediverse. EDIT: There is !nim but that doesn't seem to easily pop up in search (or at all?) and I am not seeing all of the posts via Kbin.

Still a lurker with it (done a few things, not much), really want some good graphical options (particularly ones that have an actual editor too, for ease/speed with simple stuff starting out) for projects.

Was somewhat interested in trying Raylib bindings, though waiting for Nim 2.0 was one reason I didn't try Naylib at that time.

(I'm more interested in polygons especially for 2D, so that makes things a bit more difficult. Godot 4 would be really nice but GDextension kinda threw a wrench into that)

For GUI-only (not games etc), I did try and like Owlkettle. Some things bothered me or lowered viability for what I wanted (and I may prefer Qt), but the bigger issue is that I don't really have many GUI-only ideas. I made a simple adventure book AKA CYOA reader (read a file line-by-line, story and buttons/descriptions/page target file defined), but didn't actually plan on writing one.