News for hackers. Stuff that matters.
Re:Nim 1.6 by kettunen on Tuesday October 19, 2021 @07:46AM (#28917063)
Yeah, these kind of statements feel very “empty” to me. That’s probably true that you could do everything with Nim, it’s also true that you can do everything with every language. Should you? That is another question.
Re:Nim 1.6 by GavinMcG on Tuesday October 19, 2021 @07:53AM (#28917102)
You say "empty", but each of the listed uses links to a project as evidence, and the claim is followed up with specific evidence about small binaries, fast compile times, native performance, multiplatform targeting, etc.

Given all that, what are you still looking for to make the statement non-empty?

Re:Nim 1.6 by xet7 on Tuesday October 19, 2021 @08:03AM (#28917176)
Unfortunately, it's not possible to do everything with every programming language. If thinking of rewrite of some software, it depends does all dependencies, database drivers, authentication, etc exist for some other programming language.
Re:Nim 1.6 by arc776 on Tuesday October 19, 2021 @10:06AM (#28918214)
Being able to compile to C, C++, ObjC, and JavaScript natively (and LLVM using https://github.com/arnetheduck/nlvm ), along with an excellent FFI (including to and from Python) means you don't need to rewrite dependencies as you can use them directly. Nim is great at glue code - arguably better/easier than Python.

Along with general language characteristics such as being high level and productive like Python, but with intricate "bare metal" control when you want it, really does make it suitable for writing almost everything.

Re:Nim 1.6 by xigoi on Tuesday October 19, 2021 @06:52PM (#28924741)
Can you show me how to write a frontend web app with C? Or how to make a keyboard driver with Python?