Go Lang Part - 01
In this blog I will teach Go programming language. Lets compare Go with other programming languages. Go is faster than interpreted programming languages like Python, JavaScript, Ruby, PHP. When we compare with the natively compile programming languages Rust, C, C++ its compile speed most similar. But Go has the runtime that manages the memory bit faster than Java and C#. Go uses less memory than Java and C#. Every file of Go code has a package main at the start of the file. So, that it can run as a standalone programme. There is one more import "fmt" Where we use in the main() function for standard libraries like stdout,stdin,stderr. Simple code package main import "fmt" func main(){ fmt.Println("starting Textio server") } First we write code in human readable then build the code then there will be a runtime file to execute the file. Machines does not understand human language so while we compile the code the human readable code converted to machine code. We can execute the programme after the compile finished. Lets say you have written a python code and shared to your friend. Your friend has installed python to run the code. But you dont have ownership of changing the code and what was changed in the code. Its like an opensource. In go programming language.

In this blog I will teach Go programming language.
Lets compare Go with other programming languages.
Go is faster than interpreted programming languages like Python, JavaScript, Ruby, PHP. When we compare with the natively compile programming languages Rust, C, C++ its compile speed most similar. But Go has the runtime that manages the memory bit faster than Java and C#. Go uses less memory than Java and C#.
Every file of Go code has a package main
at the start of the file. So, that it can run as a standalone programme. There is one more import "fmt"
Where we use in the main()
function for standard libraries like stdout,stdin,stderr.
Simple code
package main
import "fmt"
func main(){
fmt.Println("starting Textio server")
}
First we write code in human readable then build the code then there will be a runtime file to execute the file.
Machines does not understand human language so while we compile the code the human readable code converted to machine code. We can execute the programme after the compile finished.
Lets say you have written a python code and shared to your friend. Your friend has installed python to run the code. But you dont have ownership of changing the code and what was changed in the code. Its like an opensource.
In go programming language.