For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2006 > Re: Bounds Check Overhead









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Bounds Check Overhead
James Giles

2006-05-30, 7:07 pm

Richard E Maine wrote:
....
> ptr => ptr_func(some_args)
> ptr = an_expression
>
> This new feature just allows you to abbreviate that as
>
> ptr_func(some_args) = an_expression
>
> which I regard as a minor convenience feature rather than something
> radical.


True. Given the first, the second is reasonable. The first
is not particularly reasonable. Having a function return
a pointer is a good way to have memory leaks. And that's
aside from the fact that I don't think the language should
have pointers at all.

--
J. Giles

"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com