in reply to Thoughts on "Go"?
Why is there no pointer arithmetic?
Safety. Without pointer arithmetic it's possible to create a language that can never derive an illegal address that succeeds incorrectly. Compiler and hardware technology have advanced to the point where a loop using array indices can be as efficient as a loop using pointer arithmetic. Also, the lack of pointer arithmetic can simplify the implementation of the garbage collector.
....isn't that similar to the argument they use for most interpreted langs? .... like why learn c.... computers are fast enough now, that interpreters run plenty fast
if i was to put in time learning something new.... i would go with something that allows me to make reliable external interfaces to the computer, like Ada
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Thoughts on "Go"?
by BrowserUk (Patriarch) on Nov 11, 2009 at 17:32 UTC | |
by zentara (Cardinal) on Nov 12, 2009 at 12:43 UTC | |
by BrowserUk (Patriarch) on Nov 12, 2009 at 13:39 UTC | |
by zentara (Cardinal) on Nov 12, 2009 at 13:55 UTC | |
by BrowserUk (Patriarch) on Nov 12, 2009 at 14:46 UTC | |
|