文章导航PC6首页软件下载单机游戏安卓资源苹果资源

pc软件新闻网络操作系统办公工具编程服务器软件评测

安卓新闻资讯应用教程刷机教程安卓游戏攻略tv资讯深度阅读综合安卓评测

苹果ios资讯苹果手机越狱备份教程美化教程ios软件教程mac教程

单机游戏角色扮演即时战略动作射击棋牌游戏体育竞技模拟经营其它游戏游戏工具

网游cf活动dnf活动lol周免英雄lol礼包

手游最新动态手游评测手游活动新游预告手游问答

您的位置:首页操作系统谷歌操作系统 → 谷歌推出新的编程语言- Go

谷歌推出新的编程语言- Go

时间:2009/11/11 10:32:00来源:本站整理作者:我要评论(0)

谷歌周二推出了一种全新的编程语言-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 }

 

相关阅读 Chrome浏览器新老版本插件安装教程 谷歌浏览器新老版本插件安装方谷歌相机闪退怎么解决如何禁止谷歌浏览器隐藏url的www前缀 禁止chrome浏览器隐藏url的谷歌浏览器怎么安装离线插件 Chrome浏览器安装.crx离线插件教程谷歌浏览器商店打不开怎么办 Chrome应用商店进不去解决方法谷歌插件已损坏怎么办 Chrome插件提示已损坏解决方法谷歌Pixel 3手机曝光 谷歌Pixel 3配置一览谷歌Pixel2拍照为何这么强 Pixel2拍照高分原因分析

文章评论
发表评论

热门文章 没有查询到任何记录。

最新文章 Andromeda是什么意思 Google Chrome Frame的 Google Android系统将支持高速无线功能什么是谷歌操作系统Google教你搜索算法谷歌推出新的编程语言- Go

人气排行 Google Chrome Frame的安装及操作方法如何在在Gmail中查看PPT和TIFF格式文件Andromeda是什么意思 谷歌仙女座系统介绍什么是谷歌操作系统谷歌推出新的编程语言- GoGoogle Android系统将支持高速无线功能Google地图手机版新增语音搜索功能Google教你搜索算法