• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
  • entries
    625
  • comments
    1446
  • views
    1006392

Epoch in the near future

Sign in to follow this  
Followers 0
ApochPiQ

468 views

I have to admit that after the whole "let's make the Epoch compiler 1000 times faster" adventure, I kind of burned out on Epoch for a little while, and haven't touched it a lot since. All the fun, exciting, sexy work in optimization was done, and "all" that was left was a giant pile of tedious reimplementation of mundane stuff.

A lot of what still needs to be done for the R12 compiler rewrite involves simple AST transforms and semantic validation. This is the kind of code that's really beautiful and easy to write in a functional language, and slightly masochistic in C++. Since the Epoch compiler is currently a C++ affair exclusively, this translates into lots of gross imperative nonsense and boilerplate to do some fairly trivial manipulations of the code tree.

I can't count the number of times I've been working in C++ on some large project, and desperately wished for a language that let me think abstractly and still hammer down on performance as necessary. That was, in essence, one of the biggest motivations for doing Epoch in the first place - to enrich the kinds of abstraction I can think in, without sacrificing the ability to do it fast and in reasonable amounts of memory.

Ironically, Epoch itself has become yet another prime example of this phenomenon. I no longer relish working on the compiler (at least the kinds of stuff I have to do at this immediate moment) because it's bogged down in an endless mire of standard library containers, iterators, smart pointers, exception safety, pointlessly stupid abstraction limitations, and missing language features. So many times I sit down to work on some part of the compiler, and immediately some elegant solution involving decomposing pattern matching pops into my head, and I spend a few minutes swearing under my breath at C++ and its dilapidated lack of power before closing Visual Studio and going out for a drink to relieve the stress.

Clearly, not much progress is being made this way.


Thankfully, one of my original goals with writing the Epoch compiler this way was to escape C++ implementation as soon as the Epoch language is rich enough to allow it. In essence, I want to write Epoch's compiler in Epoch itself. This is great on a number of fronts. First, it proves that the language is robust enough for prime time. Second, and just as important for Epoch's priorities, it proves that the execution environment is fast enough to do something nontrivial like compile itself. Third, it reduces the mental effort needed to implement the whole shebang, because I can finally start thinking at a more natural level of abstraction than I can easily do in C++.

My recent frustration with the compiler project has led to a refreshing conclusion, of almost slap-myself-upside-the-head obviousness: the time to start moving away from C++ is now.

Well, not now really; I have to get the compiler working again first. That means finishing and releasing R12 so I can get that out of the way. But as soon as the R12 compiler implementation works, I can at long last get my head above the murky, briny water of C++ and breathe some real, fresh air.


My roadmap for the next several months of Epoch development looks vaguely like this:

  • Finish semantic validation in the R12 compilation model
  • Implement code generation in the R12 compilation model
  • As a proof of readiness, build extended syntax highlighting into Era, using the new, faster parsing layer
  • Ship R12
  • Design and implement bindings between the R12 parser and the Epoch runtime
  • Implement language features/data structures/library functionality such that Epoch programs can traverse Epoch code
  • Port semantic validation into Epoch
  • Port code generation into Epoch
  • Remove the C++ back-end from the compiler entirely
  • As a proof of readiness, compile the Epoch compiler in itself, as well as Era and the compiler test suite
  • Ship R13
  • Examine the feasibility of moving more and more of the Epoch implementation into Epoch and out of C++
  • Reassess the situation and devise a plan for R14 and forward
    This is starting to get me really excited about the project again. There's a light at the end of this damnable C++-shaped tunnel.

    I've spent many years longing for a language environment where I could easily build the kinds of software I'm interested in working on, and even extend my language and its development tools where they fall short. It looks like that future is finally beginning to dawn.

0
Sign in to follow this  
Followers 0


0 Comments


There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now