Great to see a new release! I've discovered two problems with the "Download" (http://nim-lang.org/download.html) page:
What happened to the Windows build?
A lot of us Windows users are not very familiar with build tools and such, which are common and necessary on Linux, but aren't generally needed for most things under Windows - the missing one-click install is a barrier of entry that will make a lot of Windows users uncomfortable.
Languages that succeed on Windows (such as Go) generally come with a completely self-contained one-click installation option, e.g. a complete build environment, C compiler, package manager etc. all bundled and configured out of the box - I think this is crucial if you want to start generating some buzz about this language.
@mindplaydk:
Me too cant wait for the build, and went ahead to download the zip file from the download page. Executed build64.bat on Windows and it compiled cleanly!
Great work!
I got it working as well, but it took me a couple of hours to figure out what to download (and how to install and configure) the mingw environment, before I could get to run the build64.bat script, which did compile and run.
Will the Windows binary distribution include Nimble? It should.
The previous binary distribution included an editor or some sort, which I think could be a separate download - most people already have a text editor they are comfortable with, the one that came with the distribution didn't do much for me; I wouldn't care about a bundled editor unless it had some real IDE features, you can get syntax highlighting just about anywhere - but maybe that's just me.
Getting off-topic here, but are there any plans for a "live" code analysis service of some sort? One of my favorite features of TypeScript, is the language analysis service, which delivers really advanced IDE features like auto-completion, inspections, type-checks, etc. in real time - having this component as part of the language distribution itself, means that we're getting easy implementation of deep, consistent TypeScript intelligence and quick, painless adoption by IDE and editor developers, which is something that really helps propel language adoption.
@Varriount: Four paths appended as follows:
R:\Nim\dist\mingw
R:\Nim\dist\mingw\bin
R:\Nim\bin
R:\Nim\dist\babel
First three are fine. Last is the (temporarily) erroneous babel/nimble.64 bit installed version doesn't seem to want to compile anything. Couldn't even get hallo.nim to compile. Works fine with 32 bit version though.
for "nim c hallo" the 64 bit output is:
...
Hint: used config file 'R:\Nim\config\nim.cfg' [Conf]
Hint: system [Processing]
Hint: hallo [Processing]
CC: hallo
CC: stdlib_system
In file included from r:\test\nimcache\hallo.c:8:0:
R:\Nim\lib/nimbase.h:385:13: error: size of array 'assert_numbits' is negative
typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof
(NI)*8 ? 1 : -1];
^
In file included from r:\test\nimcache\stdlib_system.c:8:0:
R:\Nim\lib/nimbase.h:385:13: error: size of array 'assert_numbits' is negative
typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof
(NI)*8 ? 1 : -1];
^
Error: execution of an external program failed; rerun with --parallelBuild:1 to
see the error message
EDIT: Hmmm ... could it be the 32 bit version of mingw is being installed (when checking the mingw checkbox) by the 64 bit installer?
EDIT2: I've verified this. The 64 bit Nim installer is installing mingw32 instead of the 64 bit version.