The Go Programming Language
-
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).
-
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).
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.
-
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).
-
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).
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
-
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.
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...
-
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...)
-
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).
is it like the game? The rules are simple, but the practical strategy is extremely complex.
-
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...
Yes, C should have used := for assigment; it would avoid so many problems.
-
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).
I'll stick with C# for now and continue to await The Coming Of The Great New Language.
-
Yes, C should have used := for assigment; it would avoid so many problems.
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
-
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).
To me it appears more like a scripting language rather than a systems language. Maybe I don't understand what systems language means.:~
-
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).
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.
-
I'll stick with C# for now and continue to await The Coming Of The Great New Language.
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.
-
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).
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.
-
is it like the game? The rules are simple, but the practical strategy is extremely complex.
-
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).
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 -
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.
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
-
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).
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?
-
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.
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!
-
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...
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