· @subnivalis
2 followers · 12 posts · Server qoto.org

- как оказалось, весьма неплохой язык программирования. И автор - интересный немец.

#nimlang

Last updated 2 years ago

Patrick · @patrick
139 followers · 579 posts · Server o0o.social

is a weird (and hard) language... It feels like multiple languages mixed all together… but damn, I still managed to add a feature I want for a project without actually learning it

#nim #nimlang #foss #programming

Last updated 2 years ago

Lup Yuen Lee 李立源 · @lupyuen
1749 followers · 18210 posts · Server qoto.org
Jan <3 :gopher: 🛹 · @rollbrettklauen
6 followers · 209 posts · Server fosstodon.org

Okay, adding Automatic Reference Counting (ARC), which is thread safe, to what my dream should have. Compared to Swift, their preferred implementation, ORC, doesn’t leak memory when dealing with reference cycles. Although I don’t know if their implementation it thread safe, as well.

Maybe my theoretical should use atomic operations and warn, but leak upon reference cycles. It seems to make the implementation easier but still thread safe.

#swift #programminglanguage #nim #nimlang #languagedesign

Last updated 2 years ago

Alfred R. Baudisch · @alfredbaudisch
679 followers · 1441 posts · Server mastodon.gamedev.place

DREAM:
- A systems programming language with the safety of Rust
- a package manager
- the ecosystem/community size of Rust
- the tooling from C/C++ (debugger and LS)
- ALL OF THAT with a Ruby-like syntax.

The answer could be Crystal, but unfortunately it has a tiny tiny ecosystem and Windows is a 2nd class citizen and Crystal has probably the slowest compiler on Earth.

Nim is probably the answer (I'm already into Nim), but Nim loses on tooling. Suggestions?

#nim #nimlang #rust #rustlang

Last updated 2 years ago

Pietro Peterlongo · @pietroppeter
90 followers · 187 posts · Server fosstodon.org

This Saturday we (me and @hugogranstrom) are back with speaking hours! Come join us if you are curious about and ! calndr.link/event/FIR7M9Unkd github.com/pietroppeter/nimib/

#nimib #nimlang

Last updated 2 years ago

Lup Yuen Lee 李立源 · @lupyuen
1651 followers · 17264 posts · Server qoto.org
SalarRahmanian :scala: :nixos: · @softinio
378 followers · 979 posts · Server fosstodon.org

Nice read. Be interesting to do a similar integration that @mitchellh did here integrating and but instead integrating and mitchellh.com/writing/zig-and-

@deech I am waiting on you to try it with :)

#zig #swiftui #scala #scalanative #nimlang

Last updated 2 years ago

Pietro Peterlongo · @pietroppeter
87 followers · 180 posts · Server fosstodon.org

@lenary @dom hi Sam and welcome! Nim added some time ago support to prove validity of certain statements (e.g. if an index is out of bound, if after a sort algorithm an array is sorted, …) using z3. The functionality is called DrNim. It has not been very successful yet (cannot recall examples of other people using it) but it is still there for people to play with it… nim-lang.org/docs/drnim.html

#nim #nimlang

Last updated 2 years ago

Alfred R. Baudisch · @alfredbaudisch
599 followers · 1081 posts · Server mastodon.gamedev.place

And... I adopted the Nim lang officialy into work!

For Bash tasks, using NimScript.

So far I always added tasks to our Elixir monolithic app, but it always required making a new deployment and starting a new Heroku console instance which always start a new pool of DB connections (fake it till you make it!).

Or of course, I'd write plain Bash scripts.

For some tasks there's no way to avoid plugging into the Elixir codebase, but for others, I'll keep using Nim.

#nim #nimlang

Last updated 2 years ago

Lup Yuen Lee 李立源 · @lupyuen
1645 followers · 16692 posts · Server qoto.org
Pietro Peterlongo · @pietroppeter
87 followers · 180 posts · Server fosstodon.org

@b0rk and for those interested in how it works in the dragonbox implementation was added in 2021 and made available in 1.6 github.com/nim-lang/Nim/pull/1

#nimlang

Last updated 2 years ago

Nim Weekly · @nim_discussions
154 followers · 99 posts · Server mastodon.social
Nim Weekly · @nim_discussions
154 followers · 98 posts · Server mastodon.social

Nim recap for week 8/2023

discu.eu/weekly/nim/2023/8/

Get RSS feeds and support this bot with the premium plan: discu.eu/premium

#nimlang #programming

Last updated 3 years ago

Charlie · @charliezip
48 followers · 118 posts · Server peoplemaking.games

Etsy is so cool 😌​✨​

#nimlang

Last updated 3 years ago

Nim Weekly · @nim_discussions
151 followers · 97 posts · Server mastodon.social

How to write a Lexer in Go using State Functions --- by an original Go author --- applicable to all languages including Nim

youtube.com/watch?v=HxaD_trXwR

Discussions: discu.eu/q/https://www.youtube

#golang #nimlang #programming

Last updated 3 years ago

Nim Weekly · @nim_discussions
151 followers · 96 posts · Server mastodon.social

Nim Macros For Internationalization ( i18n ) and Localization ( l10n )

github.com/heinthanth/ni18n

Discussions: discu.eu/q/https://github.com/

#nimlang #programming

Last updated 3 years ago

Pietro Peterlongo · @pietroppeter
78 followers · 124 posts · Server fosstodon.org

and a new release is out, 0.3.1 (work by me and @hugogranstrom), motivated by the work Phil (not on Mastodon?) is doing to provide @CanLehmann owlkettle with nimibook-powered docs: github.com/pietroppeter/nimibo sometime a powerful way to contribute is just using a library. it does indeed provide extra motivation!

#nimibook #nimlang

Last updated 3 years ago

Pietro Peterlongo · @pietroppeter
78 followers · 123 posts · Server fosstodon.org

sometimes in a PR the things you are proud of is not the fix itself but the (sort of) clever way in you can write a low effort test:
```nim
check renderedToc.count("<ol") == renderedToc.count("</ol>")
```

github.com/pietroppeter/nimibo

#nim #nimlang #nimibook

Last updated 3 years ago

Nim Weekly · @nim_discussions
147 followers · 95 posts · Server mastodon.social

Nim recap for week 7/2023

discu.eu/weekly/nim/2023/7/

Get RSS feeds and support this bot with the premium plan: discu.eu/premium

#nimlang #programming

Last updated 3 years ago