News for hackers. Stuff that matters.
Re:Nimrod by Example by tdees40 on Thursday July 17, 2014 @01:40PM (#8048975)
There really are only three ways to create a usable language, honestly:

1) Huge institutional support. See: C#, Java, Go.

2) Give it 20 years. See: Python, Haskell.

3) Weird, idiosyncratic factors. See: Javascript, mostly.

So it's hard for me to get excited about these sorts of things.

Edit: fair point, Javascript is really a case of #1, with Netscape as the institution.

Re:Nimrod by Example by skrebbel on Thursday July 17, 2014 @01:57PM (#8049084)
You're missing 4) piggybacking on existing ecosystems. E.g. Scala, Clojure, F#.
Re:Nimrod by Example by def- on Thursday July 17, 2014 @02:04PM (#8049122)
In Nimrod it's easy to piggyback on C, which has the most extensive ecosystem of all languages.
Re:Nimrod by Example by sanderjd on Thursday July 17, 2014 @03:12PM (#8049545)
But C's ecosystem is so extensive that everybody can piggyback on it (with varying levels of ceremony).
Re:Nimrod by Example by tdees40 on Thursday July 17, 2014 @03:25PM (#8049642)
See CPython, Haskell, C++....
Re:Nimrod by Example by sitkack on Thursday July 17, 2014 @10:36PM (#8051395)
This might already exist, but if Nimrod could piggy back on Javascript (Node), Python and Ruby for libraries this would be huge. Native glue.
Re:Nimrod by Example by ascent on Friday July 18, 2014 @07:07PM (#8056046)
This is what Perl6 with Parrot VM aim for.

http://en.wikipedia.org/wiki/Parrot_virtual_machine

Re:Nimrod by Example by Pacabel on Saturday July 19, 2014 @07:47PM (#8059140)
I don't think that we can really consider Perl 6 and Parrot to be anything but abysmal failures at this point. The people developing and advocating for them have had many years now to product something that's even minimally usable, and we just haven't seen that happen.

Writing traditional compilers and interpreters, or emitting C, or targeting LLVM have all proven to be good ways of getting production-grade programming language implementations created and usable quickly. Messing around with Parrot has never resulted in anything useful.

Re:Nimrod by Example by chromatic on Saturday July 19, 2014 @10:07PM (#8059366)
That was the goal, but Parrot failed to meet that goal and P6 is years away from being usable.
Re:Nimrod by Example by S4M on Thursday July 17, 2014 @03:18PM (#8049586)
How about Perl, Ruby and C?

pg said that for a language to become popular, it has to be the scripting language of something popular. That's the category where the three languages I mentioned are falling.

So the answer is simple: one has to build something really nice in Nimrod and use Nimrod as the extension language of that thing. Maybe the embedded world would be a nice field from Nimrod due to having nice interop with C? (I haven't used Nimrod in my life yet, although I am tempted because it looks very easy).

Re:Nimrod by Example by tdees40 on Thursday July 17, 2014 @04:10PM (#8049900)
Perl is a (3) as it was the scripting language on *Nix, and CGI was pretty crucial in the early web.

Ruby I guess is a (3): Rails is a killer app.

C, well, it's the a major accomplishment of human civilization and has held up for half a century. I'd call that idiosyncratic.

Re:Nimrod by Example by WaxProlix on Thursday July 17, 2014 @04:36PM (#8050063)
I feel like Lua is used pretty broadly for UI scripting in the games ecosystem (addons, plugins, etc) but I don't see it used really anywhere else aside from maybe IRC chatbots. Being the scripting language for something popular is maybe a necessary but probably not sufficient condition.
Re:Nimrod by Example by pjmlp on Thursday July 17, 2014 @05:04PM (#8050173)
C had AT&T and was UNIX system programming language.

As UNIX spread into the industry, so did C.

All languages required by OS vendors as the official ones to target their OS, succeed in the market if the OS succeeds.

Re:Nimrod by Example by tlo on Thursday July 17, 2014 @05:58PM (#8050452)
True, Objective-C comes into mind.
Re:Nimrod by Example by zabcik on Thursday July 17, 2014 @01:43PM (#8048989)
I think it's only the first two. Javascript happened because of Netscape (1).