Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Newbie Question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kent Tegels  
View profile  
 More options Apr 1 2004, 7:48 pm
Newsgroups: perl.perl6.internals
From: kteg...@msn.com (Kent Tegels)
Date: Thu, 01 Apr 2004 18:23:17 -0600
Local: Thurs, Apr 1 2004 7:23 pm
Subject: Newbie Question
Hello, all, and greetings from Omaha.

I read in the FAQ, vis a vis using the .NET instead of writing your own "The
.NET VM didn't even exist when we started development, or at least we didn't
know about it when we were working on the design. We do now, though it's
still not suitable."

I'm curious as to why its not suitable.

Nothing up my sleave here, just trying learn what the issues are.

Thanks!
Kent Tegels

_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN
Premium!
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439a...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Goplat  
View profile  
 More options Apr 1 2004, 7:48 pm
Newsgroups: perl.perl6.internals
From: mrnobo1...@yahoo.com (Goplat)
Date: Thu, 1 Apr 2004 16:34:52 -0800 (PST)
Local: Thurs, Apr 1 2004 7:34 pm
Subject: Re: Newbie Question
--- Kent Tegels <kteg...@msn.com> wrote:

> Hello, all, and greetings from Omaha.

> I read in the FAQ, vis a vis using the .NET instead of writing your own
> "The .NET VM didn't even exist when we started development, or at least we
> didn't know about it when we were working on the design. We do now, though
> it's still not suitable."

> I'm curious as to why its not suitable.

> Nothing up my sleave here, just trying learn what the issues are.

The paragraph above that says

Those VMs are designed for statically typed languages. That's fine,
since Java, C#, and lots of other languages are statically typed. Perl
isn't.  For a variety of reasons, it means that Perl would run more
slowly there than on an interpreter geared towards dynamic languages.

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paolo Molaro  
View profile  
 More options Apr 2 2004, 6:48 am
Newsgroups: perl.perl6.internals
From: lu...@debian.org (Paolo Molaro)
Date: Fri, 2 Apr 2004 13:09:58 +0200
Local: Fri, Apr 2 2004 6:09 am
Subject: Re: Newbie Question

On 04/01/04 Goplat wrote:
> > I read in the FAQ, vis a vis using the .NET instead of writing your own
> > "The .NET VM didn't even exist when we started development, or at least we
> > didn't know about it when we were working on the design. We do now, though
> > it's still not suitable."
[...]
> Those VMs are designed for statically typed languages. That's fine,
> since Java, C#, and lots of other languages are statically typed. Perl
> isn't.  For a variety of reasons, it means that Perl would run more
> slowly there than on an interpreter geared towards dynamic languages.

People may want to take a look at this paper:
http://www.python.org/pycon/dc2004/papers/9/IronPython_PyCon2004.html
It suggests a few techniques to implement dynamic languages on the CLR
(some surprisingly similar to the ones I suggested on these lists or in
private emails to people asking: kudos to Jim for actually writing the
code instead of just talking like me:-).
As it has been suggested, python on the CLR runs significantly faster
for some programs and significantly slower for others: now to find out
what case is more prevalent in common code:-) It seems safe to say,
though, that it can run rougthly at the same speed as the current C
implementation, but with all the interoperability advantages that
running on the CLR gives. That sounds good enough for me: I would pay a
50% speed degradation on the dynamic language side when I can easily
implement the time-critical code in C# and have that chunk run 10+
times faster. This new version of IronPython seems to
implement all/most of the semantics of python so it's also likely that
it could be improved to be even faster.
Note also his conclusions, though:

"IronPython can run fast on .NET and presumably on any decent
implementation of the CLR. Python is an extremely dynamic language and
this offers compelling evidence that other dynamic languages should be
able to run well on this platform. However, implementing a dynamic
language for the CLR is not a simple process. The CLR is primarily
designed to support statically typed OO and procedural languages.
Allowing a dynamic language to run well on this platform requires
careful performance tuning and judicious use of the underlying CLR
constructs."

lupus

--
-----------------------------------------------------------------
lu...@debian.org                                     debian/rules
lu...@ximian.com                             Monkeys do it better


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kent Tegels  
View profile  
 More options Apr 2 2004, 7:48 am
Newsgroups: perl.perl6.internals
From: Kent.Teg...@hdrinc.com (Kent Tegels)
Date: Fri, 2 Apr 2004 06:14:18 -0600
Local: Fri, Apr 2 2004 7:14 am
Subject: RE: Newbie Question
Thanks all, I'll give said paper a read and see if it has the details I'm digging for. I was already passively aware of the static typing issue, but wondered if there were others.

kt

________________________________

From: Paolo Molaro [mailto:lu...@debian.org]
Sent: Fri 4/2/2004 5:09 AM
To: perl6-intern...@perl.org
Subject: Re: Newbie Question

On 04/01/04 Goplat wrote:
> > I read in the FAQ, vis a vis using the .NET instead of writing your own
> > "The .NET VM didn't even exist when we started development, or at least we
> > didn't know about it when we were working on the design. We do now, though
> > it's still not suitable."
[...]
> Those VMs are designed for statically typed languages. That's fine,
> since Java, C#, and lots of other languages are statically typed. Perl
> isn't.  For a variety of reasons, it means that Perl would run more
> slowly there than on an interpreter geared towards dynamic languages.

People may want to take a look at this paper:
http://www.python.org/pycon/dc2004/papers/9/IronPython_PyCon2004.html
It suggests a few techniques to implement dynamic languages on the CLR
(some surprisingly similar to the ones I suggested on these lists or in
private emails to people asking: kudos to Jim for actually writing the
code instead of just talking like me:-).
As it has been suggested, python on the CLR runs significantly faster
for some programs and significantly slower for others: now to find out
what case is more prevalent in common code:-) It seems safe to say,
though, that it can run rougthly at the same speed as the current C
implementation, but with all the interoperability advantages that
running on the CLR gives. That sounds good enough for me: I would pay a
50% speed degradation on the dynamic language side when I can easily
implement the time-critical code in C# and have that chunk run 10+
times faster. This new version of IronPython seems to
implement all/most of the semantics of python so it's also likely that
it could be improved to be even faster.
Note also his conclusions, though:

"IronPython can run fast on .NET and presumably on any decent
implementation of the CLR. Python is an extremely dynamic language and
this offers compelling evidence that other dynamic languages should be
able to run well on this platform. However, implementing a dynamic
language for the CLR is not a simple process. The CLR is primarily
designed to support statically typed OO and procedural languages.
Allowing a dynamic language to run well on this platform requires
careful performance tuning and judicious use of the underlying CLR
constructs."

lupus

--
-----------------------------------------------------------------
lu...@debian.org                                     debian/rules
lu...@ximian.com                             Monkeys do it better


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »