Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The Go Programming Language

The Go Programming Language

Scheduled Pinned Locked Moved The Lounge
csharpc++
38 Posts 17 Posters 49 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nemanja Trifunovic
    wrote on last edited by
    #1

    Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

    utf8-cpp

    Steve EcholsS R S C P 11 Replies Last reply
    0
    • N Nemanja Trifunovic

      Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

      utf8-cpp

      Steve EcholsS Offline
      Steve EcholsS Offline
      Steve Echols
      wrote on last edited by
      #2

      Interesting... This will kill me: if (a < b) f(); // INVALID for (i = 0; i < 10; i++) {} // INVALID Invalid!! But I've been typing it that way for 20 years! Grrrrr.... Plus the use of the pascal like := Still interesting though.


      - S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.

      • S
        50 cups of coffee and you know it's on!
        Code, follow, or get out of the way.
      N L K 3 Replies Last reply
      0
      • N Nemanja Trifunovic

        Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

        utf8-cpp

        R Offline
        R Offline
        Robert Surtees
        wrote on last edited by
        #3

        Probably worth pointing out that this is spawn of teh Google. Cnet[^]. Time to dump .Net. Party is over.

        N 1 Reply Last reply
        0
        • N Nemanja Trifunovic

          Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

          utf8-cpp

          S Offline
          S Offline
          Super Lloyd
          wrote on last edited by
          #4

          There is a plethora of newer, safer, easier to ease low level language. I particularly like D[^]. I even think they have some native compiler of a variant of C#. Anyway, sadly, none seems to take off or have good commercial and wide library support.... Hopefully Go will go further! :-)

          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

          modified on Tuesday, November 10, 2009 7:56 PM

          P 1 Reply Last reply
          0
          • Steve EcholsS Steve Echols

            Interesting... This will kill me: if (a < b) f(); // INVALID for (i = 0; i < 10; i++) {} // INVALID Invalid!! But I've been typing it that way for 20 years! Grrrrr.... Plus the use of the pascal like := Still interesting though.


            - S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.

            N Offline
            N Offline
            Nemanja Trifunovic
            wrote on last edited by
            #5

            Steve Echols wrote:

            Plus the use of the pascal like :=

            That part I like. In fact, I wish they departed from C syntax even more...

            utf8-cpp

            P K 2 Replies Last reply
            0
            • R Robert Surtees

              Probably worth pointing out that this is spawn of teh Google. Cnet[^]. Time to dump .Net. Party is over.

              N Offline
              N Offline
              Nemanja Trifunovic
              wrote on last edited by
              #6

              Robert Surtees wrote:

              Time to dump .Net. Party is over

              Go is hardly competing with .NET :) It claims to be a low-level system language (although this GC makes me wonder...)

              utf8-cpp

              1 Reply Last reply
              0
              • N Nemanja Trifunovic

                Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                utf8-cpp

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #7

                is it like the game? The rules are simple, but the practical strategy is extremely complex.

                image processing toolkits | batch image processing

                M 1 Reply Last reply
                0
                • N Nemanja Trifunovic

                  Steve Echols wrote:

                  Plus the use of the pascal like :=

                  That part I like. In fact, I wish they departed from C syntax even more...

                  utf8-cpp

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  Yes, C should have used := for assigment; it would avoid so many problems.

                  L 1 Reply Last reply
                  0
                  • N Nemanja Trifunovic

                    Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                    utf8-cpp

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #9

                    I'll stick with C# for now and continue to await The Coming Of The Great New Language.

                    S R 2 Replies Last reply
                    0
                    • P PIEBALDconsult

                      Yes, C should have used := for assigment; it would avoid so many problems.

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #10

                      and +:= or is it :+=?? :)

                      Luc Pattyn


                      I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


                      P 1 Reply Last reply
                      0
                      • N Nemanja Trifunovic

                        Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                        utf8-cpp

                        R Offline
                        R Offline
                        Rama Krishna Vavilala
                        wrote on last edited by
                        #11

                        To me it appears more like a scripting language rather than a systems language. Maybe I don't understand what systems language means.:~

                        1 Reply Last reply
                        0
                        • N Nemanja Trifunovic

                          Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                          utf8-cpp

                          C Offline
                          C Offline
                          CaptainSeeSharp
                          wrote on last edited by
                          #12

                          I would like to see a refined version of C++, taking lessons from C# but being native. A clean type system such as byte, sbyte, short, ushort, int, unit, long, ulong. Standard libraries much like what we have with the BCL, and an optional metadata scheme where metadata is compactly injected directly with the executable code that all C~ code can find.

                          Watch the Fall of the Republic (High Quality 2:24:19)[^]

                          1 Reply Last reply
                          0
                          • P PIEBALDconsult

                            I'll stick with C# for now and continue to await The Coming Of The Great New Language.

                            S Offline
                            S Offline
                            Super Lloyd
                            wrote on last edited by
                            #13

                            I am doing that too! But I'm wondering if The Great New Language won't be C# 6.0 running on Window 10.0? With all MS work on Midori / Singularity / Phoenix (?) etc... After all be C# could The Great New Language, if not for the performance and the lack of low level system access, but those managed OS attempt (above) could (and would, hopefully) bring it to C#!!!

                            A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                            K P 2 Replies Last reply
                            0
                            • N Nemanja Trifunovic

                              Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                              utf8-cpp

                              M Offline
                              M Offline
                              MikeMarq
                              wrote on last edited by
                              #14

                              If they want a modern systems/embedded programming language why don't they just use Ada? Granted I'm just starting to fool around with this language so I might be overlooking something, but as far as I can see Ada seems to have all the power and low level capabilities of c/c++ but seems to be on the opposite end of the spectrum when it comes to safety/error checking. In my opinion Ada seems to be very well thought out and modern and has the best error checking and type system of any programming language. From what I've read most safety critical software is written in Ada and I can't recall hearing of any airplane that crashed or nuclear power plant that exploded because of a bug so they must doing something right. As far as Go goes I have to agree I'm not sure if mandatory garbage collection is a good feature in a systems programming language since it can be a problem if you are writing anything that has real time requirements since garbage collection cycles have unpredictable timing.

                              S N 2 Replies Last reply
                              0
                              • C Chris Losinger

                                is it like the game? The rules are simple, but the practical strategy is extremely complex.

                                image processing toolkits | batch image processing

                                M Offline
                                M Offline
                                MikeMarq
                                wrote on last edited by
                                #15

                                I'm glad to know I'm not the only person who's discovered that game :-D

                                G 1 Reply Last reply
                                0
                                • N Nemanja Trifunovic

                                  Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                                  utf8-cpp

                                  L Offline
                                  L Offline
                                  leppie
                                  wrote on last edited by
                                  #16

                                  http://code.google.com/p/go/issues/detail?id=9[^] Kinda sloppy... Now if the other Go was a word processor or something else, you can live with it, but not like this :(

                                  xacc.ide
                                  IronScheme - 1.0 RC 1 - out now!
                                  ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                                  1 Reply Last reply
                                  0
                                  • M MikeMarq

                                    If they want a modern systems/embedded programming language why don't they just use Ada? Granted I'm just starting to fool around with this language so I might be overlooking something, but as far as I can see Ada seems to have all the power and low level capabilities of c/c++ but seems to be on the opposite end of the spectrum when it comes to safety/error checking. In my opinion Ada seems to be very well thought out and modern and has the best error checking and type system of any programming language. From what I've read most safety critical software is written in Ada and I can't recall hearing of any airplane that crashed or nuclear power plant that exploded because of a bug so they must doing something right. As far as Go goes I have to agree I'm not sure if mandatory garbage collection is a good feature in a systems programming language since it can be a problem if you are writing anything that has real time requirements since garbage collection cycles have unpredictable timing.

                                    S Offline
                                    S Offline
                                    Stuart Dootson
                                    wrote on last edited by
                                    #17

                                    MikeMarq wrote:

                                    as far as I can see Ada seems to have all the power and low level capabilities of c/c++

                                    More in some cases. Take a look at Ada representation clauses - much more powerful than anything C can offer.

                                    MikeMarq wrote:

                                    From what I've read most safety critical software is written in Ada and I can't recall hearing of any airplane that crashed or nuclear power plant that exploded because of a bug so they must doing something right

                                    I seem to remember there was a study that indicated that the choice of language impacted more on the efficiency of certain verification activities than on the safety of the system per se. Ada (and more specifically SPARK Ada) allow more design intent (e.g. specification of expected ranges for numeric types representing real-world quantities) to be expressed within code.

                                    MikeMarq wrote:

                                    I have to agree I'm not sure if mandatory garbage collection is a good feature in a systems programming language since it can be a problem if you are writing anything that has real time requirements since garbage collection cycles have unpredictable timing.

                                    Heap allocation of any sort (never mind garbage collected) is an issue - the allocation could fail and, even if it doesn't, it's difficult to predict the time that an allocation will take (e.g. if the allocator traverses a list of free blocks to find a big enough memory block), so in general all memory is allocated statically (i.e. in BSS or DATA segments) at initialisation.

                                    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                                    1 Reply Last reply
                                    0
                                    • N Nemanja Trifunovic

                                      Interesting...[^] Ken Thompson and Rob Pike are among the language designers. Personally, I dislike C-style syntax and a mandatory garbage collector (in a system language).

                                      utf8-cpp

                                      R Offline
                                      R Offline
                                      Rocky Moore
                                      wrote on last edited by
                                      #18

                                      Seems like a couple steps backward from where we are in today's world. I am only moving forward not backward... Make my life easier and less work not more.

                                      Rocky <>< Recent Blog Post: Win2008 Server without FrontPage Extensions, really?

                                      N 1 Reply Last reply
                                      0
                                      • M MikeMarq

                                        If they want a modern systems/embedded programming language why don't they just use Ada? Granted I'm just starting to fool around with this language so I might be overlooking something, but as far as I can see Ada seems to have all the power and low level capabilities of c/c++ but seems to be on the opposite end of the spectrum when it comes to safety/error checking. In my opinion Ada seems to be very well thought out and modern and has the best error checking and type system of any programming language. From what I've read most safety critical software is written in Ada and I can't recall hearing of any airplane that crashed or nuclear power plant that exploded because of a bug so they must doing something right. As far as Go goes I have to agree I'm not sure if mandatory garbage collection is a good feature in a systems programming language since it can be a problem if you are writing anything that has real time requirements since garbage collection cycles have unpredictable timing.

                                        N Offline
                                        N Offline
                                        Nemanja Trifunovic
                                        wrote on last edited by
                                        #19

                                        MikeMarq wrote:

                                        In my opinion Ada seems to be very well thought out and modern and has the best error checking and type system of any programming language.

                                        I agree. It seems it become unpopular because it was mandated for defense projects for a while. Also, the compilers were very expensive. It is a shame, though, it looks much nicer than any C-based language I have seen.

                                        MikeMarq wrote:

                                        As far as Go goes I have to agree I'm not sure if mandatory garbage collection is a good feature in a systems programming language since it can be a problem if you are writing anything that has real time requirements since garbage collection cycles have unpredictable timing.

                                        Amen!

                                        utf8-cpp

                                        K 1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          Steve Echols wrote:

                                          Plus the use of the pascal like :=

                                          That part I like. In fact, I wish they departed from C syntax even more...

                                          utf8-cpp

                                          K Offline
                                          K Offline
                                          Kevin McFarlane
                                          wrote on last edited by
                                          #20

                                          Nemanja Trifunovic wrote:

                                          I wish they departed from C syntax even more...

                                          There's a tendency to make most new languages use C or C-like syntax. I think they're frightened of alienating the C-syntax fanatics. :laugh: In the 21st century we ought to be moving on from C syntax IMO.

                                          Kevin

                                          P 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups