Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

id Tech 4 and C++ Goto page Previous 1, 2

| Inside3d Forums Forum Index -> General Discussion

View previous topic :: View next topic
Author | Message
--- | ---
dreadlorde Joined: 24 Nov 2009 Posts: 86 |

Posted: Wed Jan 27, 2010 2:19 pm Post subject: |

Not to stray too far off my main topic, but I've been thinking of re-implementing some of my Quake engine in Go. This would obviously be a while down the road for me, but Go seems really interesting and the way it does OOP seems a lot better than some other languages mentioned here. Plus there's no inheritance.
This is Go in a very small nutshell for those who are too lazy to go to the project page.

Quote:
What is the purpose of the project? No major systems language has emerged in over a decade, but over that time the computing landscape has changed tremendously. There are several trends:

- Computers are enormously quicker but software development is not faster.
- Dependency management is a big part of software development today but the “header files” of languages in the C tradition are antithetical to clean dependency analysis—and fast compilation.
- 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.
- Some fundamental concepts such as garbage collection and parallel computation are not well supported by popular systems languages.
- The emergence of multicore computers has generated worry and confusion.

We believe it's worth trying again with a new language, a concurrent, garbage-collected language with fast compilation. Regarding the points above:

- It is possible to compile a large Go program in a few seconds on a single computer.
- Go provides a model for software construction that makes dependency analysis easy and avoids much of the overhead of C-style include files and libraries.
- Go's type system has no hierarchy, so no time is spent defining the relationships between types. Also, although Go has static types the language attempts to make types feel lighter weight than in typical OO languages.
- Go is fully garbage-collected and provides fundamental support for concurrent execution and communication.
- By its design, Go proposes an approach for the construction of system software on multicore machines.

Great UNIX, and Plan 9 hackers, along with some great systems programmers like Ken Thompson, Rob Pike and Russ Cox, along with many more are working on it.
_________________

Ken Thompson wrote:
One of my most productive days was throwing away 1000 lines of code.

Get off my lawn!

Back to top |

frag.machine Joined: 25 Nov 2006 Posts: 728 |

Posted: Wed Jan 27, 2010 3:49 pm Post subject: |

OOP is for wimps. I'll use BF in my next Quake port. _________________ frag.machine - Q2K4 Project http://fragmachine.quakedev.com/

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> General Discussion | All times are GMT Goto page Previous 1, 2
Page 2 of 2

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group