When comparing LiveCode vs Nim, the Slant community recommends Nim for most people. In the question“What is the best programming language to learn first?” Nim is ranked 12th while LiveCode is ranked 40th. The most important reason people chose Nim is:
Checks your code at compile time.
Ranked in these QuestionsQuestion Ranking
Inside LiveCode's IDE you can build for OSX, Linux and Windows, and (making use of Xcode and the Android SDK) for iOS and Android too
Pro Fast to get results
Pro Extremely simple to get started
Single-click install of entire development environment, and all-in-one IDE makes it easy to go from visually layout out a user interface to writing code to power it to creating your own single-file applications.
Pro Approachable yet capable language
Pro GUI-driven development
In LiveCode, you start by dropping GUI elements into place, then add the code that makes them function. This lets beginners see visual results right away, which is often more exciting (especially for young students). It also lets you focus on the user interaction before you get into the nitty-gritty of code implementation.
Pro Highest ROI compared to other popular cross-platform development tools
Fluid production - from prototyping to delivery in one toolkit. With a high-level language that includes GUI controls as native elements, code more directly expresses the end-user experience. And the platform coverage is awesome, nearly unmatched.
Pro Strict typing
Checks your code at compile time.
Pro Really crossplatform
The same code can be used for web, server, desktop and mobile.
Pro Easy to read
Nim has a lot of common with Python in terms of syntax.
Indentation-based syntax, for/while loops
Pro Built-in Unicode support
You can use unicode names for variables, there is "unicode" module for operations with unicode
Pro Multi paradigm
Imperative, OOP, functional programming in one language.
Pro Great metaprogramming features
There are generics, templates, macros in Nim. They can allow you to write new DSL for your application, or avoid all boilerplate stuff.
Pro Type interferencing
You only need to specify types in your procedures and objects - you don't need to specify type when you're creating a new variable (unless you're creating it without initialization)
Pro Has built-in unittest module
With built-in "unittest" module you can create test with a very readable code
You don't need to deal with all those manual memory allocations, Nim can take care of it!
But also you can use another GC, or tweak it for you real-time application or a game
Pro Easy to integrate with another languages
You can use Nim with any language that can be interfaced with C.
There's a tool which helps you to create new C and C++ bindings for Nim - c2nim
Pro Compile-time execution
Nim has built-in VM, which executes macros and some other code at compile time.
For example - you can check if you're on Windows, and Nim will generate code only for it
Pro Supports UFCS (Unified Function Call Syntax)
writeLine(stdout, "hello") can be written as stdout.writeLine("hello")
proc add(a: int): int = a + 5 can be used like 6.add.echo or 6.add().echo()
Pro Has built-in async support
Nim has "asyncdispatch" module, which allows you to write async applications.
Con Poor ecosystem
Not a mainstream programming language.
Con Still in pre 1.0
Not very stable and has a rather small community.