Programming: Google programming language is now real! Programmēšana: Google programmēšanas valoda tagad ir reāls! Go GO Google! Go Go Google!
Posted on 12. Posted on 12. Nov, 2009 by Dragos in Coding Nov, 2009 by Dragos in Coding
First the Google Browser (Chrome), then the Google mobile operating system (Android), Google is getting really close to launching its own (and hopefully open source) operating system for computers. Pirmais Google Browser (Chrome), tad Google mobilo operētājsistēmu (Android), Google kļūst patiešām tuvu uzsāktu tās pašu (un, cerams, open source) operētājsistēmu datoriem. But before that, we needed to expect a “default” programming language from the Goliath of all technological times. Bet pirms tam, mums vajadzēja sagaidīt "default" programmēšanas valodas no visas tehnoloģiskās reizes Goliath. And it's here! Un tas šeit! GO is the name of Google's programming language, which from the words of the inventors it is a programming language that is: GO nosaukums Google programmēšanas valoda, kas rodas no izgudrotāju vārdiem sakot, tas ir programmēšanas valoda, kas ir:
- simple vienkāršs
- fast ātrs
- safe drošs
- concurrent vienlaicīgi
- fun jautrība
- and of course.. open-source un, protams .. atvērtā koda
Though the language looks very similar to C and C++, the developers say that the GO language has many improvements that put this novelty in the same row with languages such as C, C++, Java or Python. Lai gan valoda izskatās ļoti līdzīga C un C + +, izstrādātāji apgalvo, ka GO valodai ir vairāki uzlabojumi, kas izvirzīti šo jaunums vienā rindā ar valodām, piemēram, C, C + +, Java vai Python.
Here are some points, which are the main features of GO: Šeit ir daži punkti, kas ir galvenās iezīmes aiziet:
Go compilers produce fast code fast. Go kompilatori ražot ātri kods ātri. Typical builds take a fraction of a second yet the resulting programs run nearly as quickly as comparable C or C++ code. Tipisks būvē ņem daļu no otrā vēl rodas programmas darbojas gandrīz tikpat ātri kā salīdzināma C vai C + + kodu.
Go is type safe and memory safe. Go tips ir drošs un atmiņas droši. Go has pointers but no pointer arithmetic. GO ir norādes, bet nav rādītājs aritmētika. For random access, use slices, which know their limits. Izlases pieejamību, lietošanu šķēles, kas zina savas robežas.
Go promotes writing systems and servers as sets of lightweight communicating processes, called goroutines, with strong support from the language. Go veicina rakstiski sistēmām un serveriem, kā noteikts no viegliem komunikācijas procesu, ko sauc goroutines, ar lielu atbalstu no valodas. Run thousands of goroutines if you want—and say good-bye to stack overflows. Palaist tūkstošiem goroutines ja vēlaties, un teikt ardievas, lai kaudze pārplūšanas.
Go has fast builds, clean syntax, garbage collection, methods for any type, and run-time reflection. Aiziet ir strauji būvē, tīra sintakse, atkritumu savākšanas metodes jebkāda veida un izpildes laika pārdomām. It feels like a dynamic language but has the speed and safety of a static language. Tā uzskata, piemēram, dinamiskā valodā, bet ir ātrums un drošība statisku valodu. It's a joy to use. Tas ir prieks lietot.
Yet not convinced about the power of GO? Vēl nav pārliecināts par spēku GO? Russ Cox from Google, explains the fast compiles of big programs with GO: Russ Cox no Google, skaidro ātri apkopo lielu programmas ar GO:
Convinced now? Pārliecināts tagad? Then G O f o r i t ! Tad G O f o r i t! ![]()
Note from Google : The Go project was conceived to make it easier to write the kind of servers and other software Google uses internally, but the implementation isn't quite mature enough yet for large-scale production use. Paziņojumu no Google: Go projekts tika izstrādāts, lai būtu vieglāk rakstīt veida serverus un citu programmatūru, Google izmanto iekšēji, tomēr īstenošana nav pilnīgi pietiekama, tomēr liela apjoma ražošanu, lietošanu.
Related posts: Related posts:













































