• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[GO] Google programming language.

I wouldn't be surprised if this language became quite popular. That is - if what they say about is true. C-like speed with garbage collector? Quite awesome, and no bloody .net.
Plus remember that they have the money to promote it.
 
If u don't know Google want to beat Microsoft with their new OS :peace:
They want to make things easier and I think They will beat Microsoft becouse They're doing good work not like Microsoft.
Microsoft just copy things from Linux and many ppl don't know about it :blink:

Ofc It'll take some time but when They finish It, It will be good


Sorry if I make mistake in this Text but my language isn't perfect.
 
Google want to rule the internet. It's not just facts, it's the truth. They want to take over one thing each, until everything is theirs.

Google (replace yahoo/altavista etc)
Gmail (replace hotmail etc)
Google Chrome (replace FF, IE etc)
Google Wave (replace MSN ?)
GO (replace C++ etc)
YouTube (replace any other video sites)

Their new OS...

Believe me, they got lots of more stuff going on, and they want to replace all the big stuff in the web, I bet they're also planing to make their own Video Game console...

I won't say their services are bad, but.... They will rule the net in no time!

Take your time and read this: http://googleworlddomination.com/ and http://www.youtube.com/watch?v=RRj2HJx5Il0
 
Last edited:
There have been cases where Python + Psyco performs just as good as C. Personaly I'll stick to Python along time.

Some compares between Go and Python
Hello world (Go):
Code:
package main

import "fmt"

func main() {
  fmt.Printf("Hello, world")
}
Python:
Code:
print ("Hello, world")
Webserver (GO):
Code:
package main

import (
	"flag";
	"http";
	"io";
	"log";
	"strings";
	"template";
)

var addr = flag.String("addr", ":8000", "http service address")
var fmap = template.FormatterMap{
	"html": template.HTMLFormatter,
	"url+html": UrlHtmlFormatter,
}
var templ = template.MustParse(templateStr, fmap)

func main() {
	flag.Parse();
	http.Handle("/", http.HandlerFunc(QR));
	err := http.ListenAndServe(*addr, nil);
	if err != nil {
		log.Exit("ListenAndServe:", err);
	}
}
func QR(c *http.Conn, req *http.Request) {
	templ.Execute(c);
}

func UrlHtmlFormatter(w io.Writer, v interface{}, fmt string) {
	template.HTMLEscape(w, strings.Bytes(http.URLEscape(v.(string))));
}


const templateStr = `
<html>
<body>
{.section @}
Hello, world!
{.end}
</body>
</html>
`
Python:
Code:
import BaseHTTPServer

class Handler(BaseHTTPServer.BaseHTTPRequestHandler):

    def do_GET(self):
        self.send_response(200)
        self.send_header("Content-type", "text/html")
        self.end_headers()

        self.wfile.write('<html> \
        <body> \
        Hello, world! \
        </body> \
        </html>')

httpd = BaseHTTPServer.HTTPServer(("", 8000), Handler)
httpd.serve_forever()
 
Last edited:
Back
Top