Re: In a Pascal-like language, would being able to declare a subroutine as "purely functional" be of any value?

Srinivas Nayak <sinu.nayak2001@gmail.com>
Mon, 21 Mar 2011 22:00:05 -0700 (PDT)

          From comp.compilers

Related articles
[7 earlier articles]
Re: In a Pascal-like language, would being able to declare a subroutin noitalmost@cox.net (noitalmost) (2011-03-15)
Re: In a Pascal-like language, would being able to declare a subroutin wclodius@los-alamos.net (2011-03-15)
Re: In a Pascal-like language, would being able to declare a subroutin mcr@wildcard.demon.co.uk (Martin Rodgers) (2011-03-16)
Re: In a Pascal-like language, would being able to declare a subroutin sinu.nayak2001@gmail.com (Srinivas Nayak) (2011-03-16)
Re: In a Pascal-like language, would being able to declare a subroutin massimo_dentico@hotmail.com (Massimo A. Dentico) (2011-03-18)
Re: In a Pascal-like language, would being able to declare a subroutin gah@ugcs.caltech.edu (glen herrmannsfeldt) (2011-03-19)
Re: In a Pascal-like language, would being able to declare a subroutin sinu.nayak2001@gmail.com (Srinivas Nayak) (2011-03-21)
Re: Fortran PURE routines, was In a Pascal-like language, gah@ugcs.caltech.edu (glen herrmannsfeldt) (2011-03-24)
| List of all articles for this month |

From: Srinivas Nayak <sinu.nayak2001@gmail.com>
Newsgroups: comp.compilers
Date: Mon, 21 Mar 2011 22:00:05 -0700 (PDT)
Organization: Compilers Central
References: 11-03-032 11-03-040 11-03-043 11-03-044 11-03-047
Keywords: code, optimize
Posted-Date: 24 Mar 2011 10:20:40 EDT

Dear Glen,


You are correct...The similar thing is found in C++; static functions
can use only static variables.
But however strict a compiler may be, there is always a loop hole.
Pointer is one biggest threat.




Regards,
Srinivas



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.