4 ms·
This Month with Nim: April and May 2022
- snthpy 4y agoI was excited to see Nim get a little bit more love on HN for once but unfortunately that's quite a short list. Looking forward to seeing Nim get more traction over time. This is a great talk on what makes Nim special IMHO for those new to it: https://youtu.be/j0fUqdYC71k https://youtu.be/j0fUqdYC71k
- akagusu 4y agoI like Nim and I think it is a really powerful language, but I simply don't find a use for it. If I need to write easy deployable backend apps I go for PHP. If I need GUI I go with Python and Qt. If I need to write numerical apps, data science, ML or related things I go for Python. I use Go for cli apps and http web services. For highly interactive front-end stuff, JavaScript. But I simple don't know where Nim fits within my needs. Any suggestions?
- str3wer 4y agonim is good for cli programs and backend, if you're enough experienced also websites frontend(js target, libraries like karax etc...)
- cb321 4y agohttps://github.com/c-blake/cligen https://github.com/c-blake/cligen can make the CLI integration part pretty frictionless.
- MintsJohn 4y agoA few times I've been looking at nim, always thinking of looks nice. Then I consider what libraries I need (most recently (rpc over) websockets, html parsing/manipulating), and can't seem to find them. The language nim is great, unfortunately the ecosystem seems rather in its infancy.
- khaledh 4y agoI'm using Nim to build an experimental kernel, so lots of low-level systems programming [0]. Right now it can boot under UEFI, switch to graphics mode, query some hardware information, create and schedule kernel threads, and a very simple shell (no userspace yet). In this regard I'd compare it to Zig (which I also tried for kernel programming) and Rust (which I find too complex). The thing that stood out for me about Nim is its elegance. I know it's subjective, but I like how the code "looks and feels." [0] https://github.com/khaledh/axiom https://github.com/khaledh/axiom
- planetis 4y agoThere were more that months, at least another big project. But not everyone is interested in writing anouncements.
- mcdermott 4y agoI really like nim and have used it to create dependency free cli tools for colleagues at work to use, and for crawling, data slice/dice reporting uses that would be too slow for Python. But had to stop using it last year when all the binaries it generated where being detected by CrowdStrike as a Trojan. The binaries would dissapear on execution and I'd be contacted by the security office. I uploaded a program to totalvirus and a few other AV systems also detected it as a trojan. At that point I stopped using it and switched to Go. Has that situation been fixed yet?
- lazypenguin 4y agoThis is not a problem exclusive to Nim. It’s a toolchain problem and happens with C/C++ projects as well. Some malware gets tagged and some part of its code is used to identify that’s some generic code generated by a compiler. The only way to fully avoid it on windows is to get an EV certificate but usually updating your tool chain works. I’ve had similar issues with other languagesz