Nimrod programming language: efficient, expressive with nice standard libs

Nimrod is a new imperative (would say normal) although with some Object Oriented programming language.
It compile the relatively high-levvel to C to make supposedly easily distributable executable.

One of the think that seems most interesting is a lot of libraries (GTK, SDL, etc) standardly distributed in the distribution.
So, no special “link with that library” options needed, and so on Linux or Windows.
Compiling your GTK + SDL is as simple as:
nimrod c -r myprogram.nim
(compile then run myprogram)

Syntax use indentation to make code quite readable.
Use modules, so you just import SDL and GTK modules at the begin of your programs.

Threads are there, but seems to be a bit evolving yet… with an actor model.

Please visit the website: http://nimrod-lang.org/ for the details.

I’ll never understand why people think that removing symbols such as “(”, “)”, “;”, “{”, “}” makes the programming language easier. It just makes is messier and illogical.

[code]var count = 0;
var sum = 0;

for (line in stdin.lines)
{
count += 1;
sum += line.len;
}

echo "Average line length: ",
if (count > 0) : sum / count else: 0;[/code] Some minor changes but it makes it look a lot more logical at first glance doesn’t it? It’s no less high level than their original example.

They are the hipsters of programming languages, going against the stream.

VB.NET possibly has the worst syntax of them all. Try it if you haven’t, after you’re done you’d like to punch someone in the balls.

[php]Dim number1 As Integer
Dim number2 As Integer
Dim multiplier As Integer
Dim answer As Integer
Dim i As Integer

number1 = Val(TextBox1.Text)
number2 = Val(TextBox2.Text)

multiplier = 2

For i = number1 To number2

answer = i * multiplier

ListBox1.Items.Add(i & " Times " & multiplier & " = " & answer)

Next i[/php]

Did you have to do that, Cadavre? /facepalm

I had to use that language at my previous job, but that code was an example grabbed from some site.

since end-of-line acts as ; in VB.NET you had to append _ to the end of the line to tell the interpreter that the code continues on the next line. really retarded.