PC6ÏÂÔØÕ¾ ¡ñ

·ÖÀà·ÖÀà

¹È¸èÍƳöеıà³ÌÓïÑÔ- Go

¹Ø×¢+2009-11-11×÷Õߣº

¹È¸èÖܶþÍƳöÁËÒ»ÖÖȫеıà³ÌÓïÑÔ-GO¡£ÔçÔÚÁ½ÄêÇ°Google¾Í¿ªÊ¼¶ÔGOÓïÑÔµÄÑз¢£¬²»¹ýÄ¿Ç°ÈÔ´¦ÓÚ²âÊԽ׶Σ¬Google¿ª·ÅÆäÔ´´úÂ룬ʵ¼ÊÉÏÒ²ÊÇΪÁ˵õ½Íâ½çµÄ°ïÖú¡£µ±³õ½«¸ÃÓïÑÔÉè¼ÆΪһ¿îϵͳ±à³ÌÓïÑÔ£¬¿ÉÒÔ±»ÓÃÓÚÍøÂç·þÎñÆ÷¡¢´æ´¢ÏµÍ³ºÍÊý¾Ý¿âÖС£µ«ÊǹȸèÈÏΪ£¬¸ÃÓïÑÔ»¹ÓÐÍû±»ÓÃÓÚÆäËüÁìÓò¡£

 

Rob Pike£¬GoogleÊ×ϯÈí¼þ¹¤³Ìʦ˵£º“ÎÒÃÇÐèÒª¸üºÃµÄ³ÌÐò¿âºÍ¹¤¾ß£¬¶ø¿ªÔ´ÉçÇøÄܹ»ÔÚÕâЩ·½ÃæΪÎÒÃÇÌṩºÜ´óµÄ°ïÖú¡£”¿ÉÒÔÔÚ²»ËðʧӦÓóÌÐòÐÔÄܵÄÇé¿öϽµµÍ´úÂëµÄ¸´ÔÓÐÔ¡£

 

Google ¹Ù·½²©¿ÍÉϵÄÔ­ÎÄ:

ÒýÓÃ

Go attempts to combine the development speed of working in a dynamic language like Python with the performance and safety of a compiled language like C or C++. In our experiments with Go to date, typical builds feel instantaneous; even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C. Go is designed to let you move fast.

We’re hoping Go turns out to be a great language for systems programming with support for multi-processing and a fresh and lightweight take on object-oriented design, with some cool features like true closures and reflection
 


¸ü¶àϸ½Ú²é¿´£ºGolang.org.

Hello WorldʾÀý:

Java´úÂë ¸´ÖÆ´úÂë
  1. 05 package main   
  2.   
  3. 07 import fmt “fmt” // Package implementing formatted I/O.   
  4.   
  5. 09 func main() {   
  6. 10 fmt.Printf(”Hello, world; or Καλημέρα κόσμε; or ¤³¤ó¤Ë¤Á¤Ï ÊÀ½çn”);   
  7. 11 }  
05 package main

07 import fmt “fmt” // Package implementing formatted I/O.

09 func main() {
10 fmt.Printf(”Hello, world; or Καλημέρα κόσμε; or ¤³¤ó¤Ë¤Á¤Ï ÊÀ½çn”);
11 }

 

Õ¹¿ªÈ«²¿

Ïà¹ØÎÄÕÂ

¸ü¶à+Ïàͬ³§ÉÌ

ÈÈÃÅÍƼö

  • ×îÐÂÅÅÐÐ
  • ×îÈÈÅÅÐÐ
  • ÆÀ·Ö×î¸ß
ÅÅÐаñ

    µã»÷²é¿´¸ü¶à

      µã»÷²é¿´¸ü¶à

        µã»÷²é¿´¸ü¶à

        ˵Á½¾äÍøÓÑÆÀÂÛ

          ÎÒÒªÆÀÂÛ...
          È¡Ïû