Tiny Core Linux

Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: ferran on April 25, 2020, 04:05:39 AM

Title: [Poll Point] What do you thing about ´Go´ language?
Post by: ferran on April 25, 2020, 04:05:39 AM

Let's talk about Go

The "Go" language gives a lot to talk about in some places. Praise and criticism go hand in hand.


(https://images.squarespace-cdn.com/content/506216e1e4b0de8491d9eaef/1389270298760-1RTK5TQSY5Z0WOSRHADS/Go+gofer.png?content-type=image%2Fpng)
Go's logo


Go" is a Google programming language and therefore module support is going to be important. It is being sold as a networking language (back-end programming and APIs).

I took a look at it yesterday and my opinion is that it is another version of C, emulating aspects of Python and that it picks up things from both. The most "relevant" thing is that it doesn't implement OOP. I wasn't too impressed, but I appreciate the "old style" of programming structured code.

However, the truth is that the programmers' salary in Go has gone up a lot (maybe because there aren't many in the job market yet).

And what do you think about it?

Will it be one more on the list or will it prevail in the community?


Discuss


Related links:

https://golang.org/ (https://golang.org/)

https://lvivity.com/top-highly-paid-programming-languages (https://lvivity.com/top-highly-paid-programming-languages)

https://hackernoon.com/should-i-go-the-pros-and-cons-of-using-go-programming-language-8c1daf711e46 (https://hackernoon.com/should-i-go-the-pros-and-cons-of-using-go-programming-language-8c1daf711e46)

https://www.tutorialspoint.com/go/index.htm (https://www.tutorialspoint.com/go/index.htm)

Title: Re: [Poll Point] What do you thing about ´Go´ language?
Post by: hiro on April 27, 2020, 01:04:18 AM
i don't see the relation to python, but it seems like a great C++ or java replacement.
one of the most special things about go is that it's inspired by hoare's concurrency, several other languages also got implemented on plan9, then limbo on inferno, and golang seems to be the culmination of all lessons learned, and allows them to ditch the OS completely (or make the language their new OS).
Title: Re: [Poll Point] What do you thing about ´Go´ language?
Post by: mocore on May 20, 2020, 03:35:39 AM

Praise and criticism go hand in hand.



wrt to the latter : https://wiki.theory.org/index.php/YourLanguageSucks#Go_sucks_because , perhaps ¯\_(ツ)_/¯ this wiki has some points ?
**(idk tbh!!)
Title: Re: [Poll Point] What do you thing about ´Go´ language?
Post by: hiro on May 22, 2020, 01:33:23 AM
what i don't like about go is how many different libraries everybody imports, how it's hard to use offline (when go get doesn't work any more, all kinds of stuff assuming always-on connectivity).

also, i don't like that it isn't C.

when i read the implementation of stuff like the garbage collection i don't understand anything :)

and i am sad that they abandoned their own OS (plan9), instead they assume everything is ubuntu or mac os, with hard dependencies on stuff like bash and no wish to stay platform independent in any way. for example plan9 support (which was there from the beginning in some sense and naturally arose from them having used the plan9 compiler originally to bootstrap everything) is getting worse over time, as externals have to try and keep that working and without good coordination with the core devs.
Title: golang: what made golang become popular. creators look back
Post by: gadget42 on May 23, 2022, 04:07:02 AM
slashdot:
https://developers.slashdot.org/story/22/05/23/045213/what-made-golang-become-popular-its-creators-look-back

full text at cacm.acm.org:
https://cacm.acm.org/magazines/2022/5/260357-the-go-programming-language-and-environment/fulltext
(also available as a pdf by substituting "pdf" instead of "fulltext")

keywords:
Bell Labs
Plan9
Russ Cox
Robert Griesemer
Rob Pike
Ian Lance Taylor
Ken Thompson

sharing is caring
Title: Re: [Poll Point] What do you thing about ´Go´ language?
Post by: mocore on May 24, 2022, 07:59:02 PM

https://cacm.acm.org/magazines/2022/5/260357-the-go-programming-language-and-environment/fulltext
(also available as a pdf by substituting "pdf" instead of "fulltext")


hi & thanks for this intresting link ...

Quote from: The Go Programming Language and Environment
Also, in existing languages we used, importing one library could cause the compiler to recursively load all the libraries that one imported. In one C++ compilation in 2007, we observed the compiler (after #include processing) reading more than 8 GB of data when handed a set of files totaling 4.2 MB

 :o

this 'cpu' is the most intresting thing i have heard of implemented in go

& after reading hiro comment ,wrt the history

golang seems to be the culmination of all lessons learned, and allows them to ditch the OS completely (or make the language their new OS).

perhaps its not by accident

- 'Plan 9 CPU command, in Go, for Linux
the network is the computer -- for real this time'
https://fosdem.org/2022/schedule/event/plan_9_cpu_cmd/
Quote
I have reimplemented the Plan 9 cpu command in pure Go, available at github.com/u-root/cpu. It uses the ssh transport protocol for data, and the 9p protocol for file system traffic.

 8)
Title: Re: [Poll Point] What do you thing about ´Go´ language?
Post by: mocore on February 24, 2023, 11:11:06 PM

while reading elsewhere i was reminded of this topic by a (ot) comment about the go lang tools

Quote from: ejolson
As far as modern languages go,
Go somehow surpassed Turbo Pascal for a proliferation of magic comments that are not syntax checked for errors.

elsewhere = https://forums.raspberrypi.com/viewtopic.php?t=336843&start=475#p2044876



Title: Re: [Poll Point] What do you thing about ´Go´ language?
Post by: hiro on February 25, 2023, 01:43:18 AM
https://github.com/golang/go/discussions/58409
no comment