logo       

Re: How do you choose your programming language ?: msg#00087

culture.hackers.israel

Subject: Re: How do you choose your programming language ?

--- In hackers-il-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx, "Nadav Har'El"
<nyh@xxxx> wrote:
>
> On Wed, Nov 23, 2005, Gábor Szabó wrote about "Re: [hackers-il] How
do you choose your programming language ?":
> > What do you think in this regard about Perl6 and Parrot ?
>
> I don't know, I don't know anything about perl6. What has changed in
Perl 6
> regarding memory handling?
>
> Perl 5 had reference counting garbage collection, so if by the end of a
> scope an object had no references, it would be freed immediately. In
this
> scheme, both allocation and freeing is actually slower (even
considerably
> slower) than recent Java's "generation-based" garbage collection (if
anyone
> is interested, I can try to summarize what that means), but with the
Perl way,
> your program uses as much or as little memory as it actually needs. This
> is why Perl can be called a lot of things, but I've yet to hear
anyone calling
> Perl programs "memory hogs" or "sluggish", or other words
all-to-often used
> to describe Java *utilities*
> (like I said earlier, in an environment where you have just one huge
Java
> JVM - like cellphones, Web servers, and so on, Java's
use-all-memory-I-can
> model perhaps more sense).
>

How about this "hack" of Garbage Collector (Borland made it a bit
longer then really needed to be, but it gives you a demonstration
about how the strength of Delphi (and FPC):
http://bdn.borland.com/article/0,1410,28217,00.html

And you can use a unit that do all of it and just call the function ...

Hows that for language that does not have Garbage Collector ? :)
But I still prefer not to use this types of "hacks".

Ido





------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/eMf55D/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/hackers-il/

<*> To unsubscribe from this group, send an email to:
hackers-il-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise