Cutting-edge experiment No. 7: Simplifying structure with Go
Over the years, languages seem to grow hairy and large. What began as a simple idea turned into an overweight omnibus as everyone added their own features and thoughts. Then it's time to create something entirely new and prune the beast.
Go is one such language created by language experts at Google. The syntax will be largely familar to C and Java programmers although it is significantly simpler. The code is compiled using defined types but can be modified when running. Garbage collection routines handle all of the memory allocation. There's also a very lightweight mechanism for organizing concurrent methods so you can write code that might run in parallel.
Google distributes the compiler and runtime stack for Unix, Linux, Mac OS X, and Windows under a very liberal open source license. A number of companies are experimenting with the language, and Google says it is using the code in some production environments. An interactive tour with links to the code is available at tour.golang.org.
The best argument for cleaning house with a language like Go is the same reason that people reorganize companies or redesign an office. Simplifying the structure makes it easier for everyone to work together because there's less time spent just trying to understand and more time spent achieving. Go's devotees praise the langauge for allowing them to work with others to deliver a clean, functioning product. The simplicity minimizes the communication and synchronization hassles of working together.
- Read the Off the Record blog for on-the-job stories from IT pros -- and share your own
- Dev-olution: Saluting 19 generations of computer programmers
- Safeguard your code: 17 security tips for developers
- 15 workplace barriers to better code
- 9 key career issues software developers face
- Top 7 dilemmas facing today's developers
- 7 programming myths -- busted
- 10 hard truths developers must learn to accept
- 11 programming trends to watch
- 12 programming mistakes to avoid
- 10 programming languages that could shake up IT
- 9 popular IT security practices that just don't work
- 10 crazy IT security tricks that actually work
- Download: InfoWorld HTML5 Deep Dive
- Download: Malware Deep Dive Report
- Download: Data Loss Prevention Deep Dive Report
- Download: Insider Threat Deep Dive Report
- Quiz: "Hello, world": Programming languages quiz
- Quiz: Java IQ test
- Quiz: HTML5 IQ test
- Quiz: Programming IQ test: Round 3
- Quiz: Programming IQ test: Round 2
This article, "7 cutting-edge programming experiments worth trying," originally appeared at InfoWorld.com. Follow the latest news in programming at InfoWorld.com. For the latest business technology news, follow InfoWorld.com on Twitter.