in reply to Thoughts on "Go"?

...from the docs:

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


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

Replies are listed 'Best First'.
Re^2: Thoughts on "Go"?
by BrowserUk (Patriarch) on Nov 11, 2009 at 17:32 UTC
    i would go with something that allows me to make reliable external interfaces

    Doesn't this float your boat?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      it isn't the fact that it allows you to interface to the external world.....Perl lets me do that right now by writing directly to any memory address, which then all it needs is a PCI board, or just write to the good old Parallel port addresses and hook them to optoisolators thru a hacked printer cable. ...so why would i need another abstraction layer of software to write bit flips?

      .... the real test is can the lang prevent and/or automatically recover from system memory overruns or processor hijacking, and all that good hacking stuff, that you must design for in the real world..... as opposed to the win32 philosophy ;-)

      ...as far as that goes, i am quite happy with my experiences with Perl under Linux, and probably would risk my life that my program would perform well enough to gaurantee my safety..... however, that would preclude running other complex software simultaneously, which is connected to the internet...like web browsers running javascript.. :-)


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku

        So when you spoke of

        reliable external interfaces
        , you meant that you want to peek and poke memory and IO ports? And that's why you'd favour ADA?

        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.