Feeds

Google 'experiment' crossbreeds Python with C++

Multi-core coding on the Go

  • alert
  • submit to reddit

3 Big data security analytics techniques

Google has open-sourced an experimental programming language that attempts to crossbreed a dynamic web-happy language like Python with a compiled language like C++.

"There is a growing rebellion against cumbersome type systems like those of Java and C++, pushing people towards dynamically typed languages such as Python and JavaScript, [but] some fundamental concepts such as garbage collection and parallel computation are not well supported by popular systems languages," the company says.

"We believe it's worth trying again with a new language, a concurrent, garbage-collected language with fast compilation."

Dubbed Go, the new language was unveiled today via the Google Open Source blog. "Want to write a server with thousands of communicating threads? Want to spend less time reading blogs while waiting for builds? Feel like whipping up a prototype of your latest idea? Go is the way to go!"

Google says the language is type safe and memory safe, and it's specifically designed for building software that runs on multi-core machines. Systems and servers are written as lightweight processes called goroutines. "Run thousands of goroutines if you want - and say good-bye to stack overflows," Google says.

But more than anything else, Google plays up the speed of the language - at both compile time and run-time. "Typical builds feel instantaneous," the company says. "Even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C. Go lets you move fast."

In a video trumpeting the new language, Googler Russ Cox shows off the Go math package, which includes about 1,000 lines of code across and about 20 files. It builds in about 20 milliseconds, he says, and he can test the package - which involves rebuilding and running - in under a second.

The project's developers include Unix founding father Ken Thompson; fellow Bell Labs Unix developer Rob Pike; and Robert Griesemer, known for his work on the Java HotSpot compiler. They call the language Go because, well, you know. "'Ogle' would be a good name for a Go debugger," the company says.

For Go, go here. ®

Top three mobile application threats

More from The Register

next story
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Inside the Hekaton: SQL Server 2014's database engine deconstructed
Nadella's database sqares the circle of cheap memory vs speed
Oh no, Joe: WinPhone users already griping over 8.1 mega-update
Hang on. Which bit of Developer Preview don't you understand?
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
IRS boss on XP migration: 'Classic fix the airplane while you're flying it attempt'
Plus: Condoleezza Rice at Dropbox 'maybe she can find ... weapons of mass destruction'
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
Ditch the sync, paddle in the Streem: Upstart offers syncless sharing
Upload, delete and carry on sharing afterwards?
prev story

Whitepapers

Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
SANS - Survey on application security programs
In this whitepaper learn about the state of application security programs and practices of 488 surveyed respondents, and discover how mature and effective these programs are.