In a recent thread a claim was made for Nim to be the "one language to rule them all" and the Zen of Nim (rule #9) sort of implies that. I think it is both a fair claim (Nim does have some universal appeal and capabilities) and an absurd claim (extremely unlikely to happen for multiple reasons and I guess easy to reason why this is false). It is also sort of impolite (I like other programming languages and do not like the idea of one ruling over the others). And it may sound arrogant/dark/evil.
While I was pondering about this, the phrase "One Language to Rule the Mole" popped into my mind and I cannot get it out unless I share it (yeah, unlikely to work, but worth a shot). It seems to me a nice way to make the claim and make fun of it at the same time. And it plays well with Nim sort of being an underground language. And moles are cute. And you can make jokes about other types of moles.
So:
what is your best joke on Nim (or on moles)?
What do you call a mole who uses Nim and is afraid of spiders?
An Araqnophobiac.
I love the joke and the slogan. I wouldn't mind it being the official Nim motto at all :-)
Anyway, I like it better than the "them all" thing, which is kinda overused and unoriginal. It also has the self irony component which is important.
Humor is always a good thing, and it feels inclusive to new people (helps make them feel welcome).
You are welcome!
Okay but where is the crown ? That mole seems unrelated without one, you know :)
You are saying that we should hire the designer and having draw a series of moles with a clunky mole that keeps falling over their eyes or through their body, or ...? and then we should make swag out of it? yes! I absolutely agree!
I understand “one language to rule them all” as “Nim can be used for anything*”, not “Nim should be the only programming language”.
Agree, and I remember Araq saying something along the lines: "for everthying but not for everyone", meaning it can be used for anything but not necessarily everyone should like the design choices and that is perfectly fine.
> What do you call a mole who uses Nim and is afraid of spiders?
An Araqnophobiac.
what do you call a Nim programmer infiltrated in a Rust/Julia/Zig/Python/... chat?
a nimole!
You are saying that we should hire the designer and having him draw a series of moles with a clunky crown that keeps falling over their eyes or through their body
Yep! Exactly. That would be fun
Nim is nice but not perfect! it's use a single thread async dispatcher which contrary to modern days async server model.
I tried some hacks to achieve multi-thread async dispatcher in Nim on Windows, and I failed!
I tried prefork+handle inheritance, I tried unregister AsyncFD in the listen thread and re-register it on work thread it just not work that way.
by the end I find the only way to fix this is to have asyncdispatch refactored to make it thread-safe, and use singleton to have only one instance for all threads
so I give up, downgrade Nim's rule to processing data only, leave the io part to golang, the good news is that they can work together through cgo.
you can read more about this mole at https://www.nytimes.com/2017/10/23/arts/krtek-czech-mickey-mouse.html
having finished my share of NYT articles for the month, I went to read about Krtek in wikipedia: https://en.wikipedia.org/wiki/The_Mole_(Krtek)
very nice!
Oof, Krtek brings back dark childhood memories 😂
I know it has a special place in a lot of people's hearts, but I'm happy we can't use it for Nim due to copyright issues :-)