loading...

re: Finding a programming language to call home VIEW POST

FULL DISCUSSION
 

I was the same, I am kinda nonconformist, if you are still open to try...,
I can recommend you a new language that ticked all checkboxes.

nim-lang.org
Nim is a statically typed compiled programming language.
It has Type Inference, can also be Interpreted (NimScript),
can do OOP and Functional programming, with good support for both,
it compiles to several targets, it can compile to C, C++, JavaScript, NodeJS, ObjectiveC, and NimScript.
Theres additional targets like LLVM IR, WebAssembly, Vulkan, etc.
Compiles to tiny single-file dependency-free native binary executables.
Compilation is fast, small binary size, you wont need Nim once compiled.
It runs on Backend, it runs on Frontend. Whole stack with 1 language.
It has 6 Garbage Collectors, including a Rust-like one, or No GC (manual).
It can interoperate with anything that has C/C++ or JS API.
Package Manager builtin, scriptable with NimScript.
Code Beautifier, Style Checker, Documentation generator builtin.
Any performance achievable with C is achievable with Nim, if you know it.
Nim is written on Nim, compiles itself, easy to hack into, MIT licensed.
Compile Time function execution, including compile time FFI, JSON, Regex.
Its multipurpose, it can do anything, web, frontend, backend, scripts, etc.
For me it completely replaced NodeJS, Python, Go.

Hello World:

echo "Hello World"

Tutorial and Docs:
nim-lang.org/learn.html

 

I did look at nim a while back - from what I can remember I did enjoy it as a language. I'll take another look at some point soon - currently Clojure has me hooked so want to spend some time with that :)

Code of Conduct Report abuse