A Hard Days Work

| 2 Comments | No TrackBacks
So, its been a while since my last post, but that is mostly because I am working hard (on this and other things!). I am at a stage in the code, where there is just a lot of grunt work that has to be done.

I have discovered that Prometheus is a much larger work that I initially wanted it to be. I am really working hard at figuring out an elegant architecture for the interpreter. The normal approach for engines, is that you start the engine, which then loads and interprets the game scripts as needed. For Prometheus I would really like it the other way around, so that it is the lisp code that kicks everything off. This way, you could easily design any kind of application around the code, and only the components that you actually need will be loaded. 

My biggest problem in this regard right now, is figuring out how to do a nice and elegant interop layer that works with a baseset of dlls. I have worked with a few scripting languages and even co-maintained once, have worked with swig, etc, so I have a pretty good idea how to do this. The problem is that none of the solutions I have seen so far, are really as elegant as I would like. If you have any good ideas, pointers, experiences you want to share, etc., feel free to contact me.

For Project Phoenix  I am rediscovering a lot of algorithms that I had long forgotten such as bresenham, painters algorithm, cbuffers, view frustum clipping, etc. I will probably put this project on the backburner a bit, as I don't want to have too many things going on at the same time.

No TrackBacks

TrackBack URL: http://www.lai.as/cgi-bin/mt/mt-tb.cgi/16

2 Comments

Have you checked out gambit scheme? Its foreign function interface lets you code functions directly in C++, or wrap existing functionality. It can also compile straight to a .exe file now.

http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page

Leave a comment

About this Entry

This page contains a single entry by gorm published on September 13, 2009 10:24 PM.

The Rebirth of Software Rendering? Project Phoenix was the previous entry in this blog.

The Project-Based Virtual Company is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

  • Games
OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.01