Jump to page: 1 24  
Page
Thread overview
Re: Nimrod language
Jan 02, 2011
bearophile
Jan 02, 2011
spir
May 24, 2012
Araq
May 24, 2012
Froglegs
May 24, 2012
Kevin Cox
May 24, 2012
Araq
May 25, 2012
Jacob Carlborg
May 25, 2012
Russel Winder
May 25, 2012
Jacob Carlborg
May 25, 2012
Russel Winder
May 25, 2012
Jacob Carlborg
May 25, 2012
Russel Winder
May 26, 2012
Mehrdad
May 26, 2012
Chad J
May 26, 2012
F i L
May 28, 2012
Araq
May 28, 2012
jerro
May 28, 2012
sclytrack
May 28, 2012
Araq
May 28, 2012
Araq
May 29, 2012
Chad J
May 29, 2012
Froglegs
May 30, 2012
Araq
May 29, 2012
Kagamin
May 25, 2012
Walter Bright
May 25, 2012
Araq
May 25, 2012
Jérôme M. Berger
May 26, 2012
Araq
May 25, 2012
Jacob Carlborg
May 25, 2012
dom96
May 26, 2012
Marco Leise
May 26, 2012
Marco Leise
May 26, 2012
Andrej Mitrovic
May 26, 2012
Jacob Carlborg
May 26, 2012
Jacob Carlborg
May 26, 2012
John Belmonte
May 29, 2012
Kagamin
January 02, 2011
Andrei:

> My fantasy: bearophile goes to the Nimrod forum and says "Hey, how about this D language, seems interesting..." :o)

That fantasy of yours means that I am interested in using my time to explain to Nimrod developers what's good in D, what may be modified or improved, to steal some of the good ideas of the D language for the development and spreading of Nimrod :-)

Bye,
bearophile
January 02, 2011
On Sun, 02 Jan 2011 01:46:46 -0500
bearophile <bearophileHUGS@lycos.com> wrote:

> > My fantasy: bearophile goes to the Nimrod forum and says "Hey, how about this D language, seems interesting..." :o)
> 
> That fantasy of yours means that I am interested in using my time to explain to Nimrod developers what's good in D, what may be modified or improved, to steal some of the good ideas of the D language for the development and spreading of Nimrod :-)

That's a Very Good Thing: imo, the programming community desperately needs Bearophile's (instead of each designer not even beeing aware of alternatives and/or believing in one only way and/or wearing blinders).

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com

May 24, 2012
On Sunday, 2 January 2011 at 06:46:46 UTC, bearophile wrote:
> Andrei:
>
>> My fantasy: bearophile goes to the Nimrod forum and says "Hey, how about this D language, seems interesting..." :o)
>
> That fantasy of yours means that I am interested in using my time to explain to Nimrod developers what's good in D, what may be modified or improved, to steal some of the good ideas of the D language for the development and spreading of Nimrod :-)
>
> Bye,
> bearophile

There is no need though. I'm already aware of D. And copied nothing from it; features like CTFE or UCS have been in Nimrod's design before D got them. Please consider that most of Nimrod's design is from 2004, but development is slow enough that other people got the same ideas. Nimrod is still different from D, and includes many features that D does not have (distinct types, AST macros, sum types, iterators, realtime GC) as well as lacks some "anti-features" (like unchecked unions or undetectable integer overflows).

May 24, 2012
 Like the design, syntax is way better than D

 But half of what makes a language are the compilers/debuggers/tool
May 24, 2012
On May 24, 2012 6:53 PM, "Froglegs" <lugtug@yahoo.com> wrote:
>
>  Like the design, syntax is way better than D
>
>  But half of what makes a language are the compilers/debuggers/tool

I like many ideas of the language but there are some show-stoppers for me. For example the fact that you have to define things in order.  I shouldn't have to deal with that in this day and age.


May 24, 2012
On Thursday, 24 May 2012 at 22:56:52 UTC, Kevin Cox wrote:
> On May 24, 2012 6:53 PM, "Froglegs" <lugtug@yahoo.com> wrote:
>>
>>  Like the design, syntax is way better than D
>>
>>  But half of what makes a language are the compilers/debuggers/tool
>
> I like many ideas of the language but there are some show-stoppers for me.
> For example the fact that you have to define things in order.  I shouldn't
> have to deal with that in this day and age.

Nimrod is full of constructs that have inlining semantics and as such declaration order matters quite a bit. The D compiler has/had bugs with this feature for a reason. ;-)
I'm considering to weaken the requirement but I don't mind this feature: Having the order reflect the call graph has its advantages too. Many consider the resulting order *backwards*, but at least there is *an* order.

May 25, 2012
On 5/24/2012 12:58 PM, Araq wrote:
> There is no need though. I'm already aware of D. And copied nothing from it;
> features like CTFE or UCS have been in Nimrod's design before D got them. Please
> consider that most of Nimrod's design is from 2004, but development is slow
> enough that other people got the same ideas. Nimrod is still different from D,
> and includes many features that D does not have (distinct types, AST macros, sum
> types, iterators, realtime GC) as well as lacks some "anti-features" (like
> unchecked unions or undetectable integer overflows).

Nice to see you here! Welcome!

May 25, 2012
Araq wrote:
> On Sunday, 2 January 2011 at 06:46:46 UTC, bearophile wrote:
>> Andrei:
>>
>>> My fantasy: bearophile goes to the Nimrod forum and says "Hey, how about this D language, seems interesting..." :o)
>>
>> That fantasy of yours means that I am interested in using my time to explain to Nimrod developers what's good in D, what may be modified or improved, to steal some of the good ideas of the D language for the development and spreading of Nimrod :-)
>>
>> Bye,
>> bearophile
> 
> There is no need though. I'm already aware of D. And copied nothing from it; features like CTFE or UCS have been in Nimrod's design before D got them. Please consider that most of Nimrod's design is from 2004, but development is slow enough that other people got the same ideas. Nimrod is still different from D, and includes many features that D does not have (distinct types, AST macros, sum types, iterators, realtime GC) as well as lacks some "anti-features" (like unchecked unions or undetectable integer overflows).
> 
	One D feature I'm really missing in Nimrod is the
scope(exit/success/failure) statement. Other than that, I tend to
prefer Nimrod (easier syntax, better choice of names...)

		Jerome
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr



May 25, 2012
On 2012-05-25 01:21, Araq wrote:

> Nimrod is full of constructs that have inlining semantics and as such
> declaration order matters quite a bit. The D compiler has/had bugs with
> this feature for a reason. ;-)
> I'm considering to weaken the requirement but I don't mind this feature:
> Having the order reflect the call graph has its advantages too. Many
> consider the resulting order *backwards*, but at least there is *an* order.

I don't know about Nimrod but in Ruby and I assume in other languages like JavaScript, PHP and similar, the order of declarations only matters at top level. Example in Ruby:

def foo (args)
  bar(args)
end

foo(3)

def bar (args)
  p args
end

Results in:

NoMethodError: undefined method ‘bar’ for main:Object

But if I wrap everything in a class the order doesn't matter:

class Bar
  def foo (args)
    bar(args)
  end

  def initialize
    foo(3)
  end

  def bar (args)
    p args
  end
end

Bar.new

Prints '3' as excepted.

-- 
/Jacob Carlborg
May 25, 2012
On Fri, 2012-05-25 at 10:43 +0200, Jacob Carlborg wrote: [...]
> I don't know about Nimrod but in Ruby and I assume in other languages like JavaScript, PHP and similar, the order of declarations only matters at top level. Example in Ruby:

Surely with dynamic languages like Python, Ruby, Groovy etc. declaration order is irrelevant, it is execution order that matters.  Your example holds but only by following what execution happens not what the compiler does.

[...]
> Prints '3' as excepted.

No exception there ;-)

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


« First   ‹ Prev
1 2 3 4