I spend some time today thinking what would be the difficult/challenging parts in writing a game in scheme with Gambit-C kind of system. ...<br><br>So over all a lot of hot spots could be moved to C. Tight loops can happen completely in C. Game primitives can have their constructors, accessors, mutators, etc. in C as well and their representation in scheme could be as some atomic value, like an unsigned int for example, that would not require gc and would be easily communicated between scheme and the C functions. A lot of things could be declared constant, or as such as to not be GC'ed at all...<br>
<br>No matter of what I thought there was one thing that always came up, eventually the garbage collection would kick in and would want to do some house cleaning. More then likely the game would feel sluggish or stalling in at that point, no? Was that a problem when you guys were writing this game? And if it was a problem then how did you got around it? Did this impact the way you had to write the code for the game?<br>
<br>This may even not be an issue when Gambit is used, in which case forgive my naive questions, but I've mainly used Gambit and scheme for doing exercises in various books. I don't claim to have deep understanding of it or how it's best to talk between Gambit and C.<br>
<br>Could you guys share any thoughts on the gc problem or in general of any challenges you faced? That's is if your NDAs allows you talk about this, no matter how abstractly.<br><br>Thanks,<br>Pavel<br><br><br><div class="gmail_quote">
On Thu, Aug 13, 2009 at 10:56 AM, David St-Hilaire <span dir="ltr"><<a href="mailto:sthilaid@iro.umontreal.ca">sthilaid@iro.umontreal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Adrien Piérard wrote:<br>
> 2009/8/14 David St-Hilaire <<a href="mailto:sthilaid@iro.umontreal.ca">sthilaid@iro.umontreal.ca</a>>:<br>
><br>
>> Hehe, I wouldn't count on that... But, some might be interested to know<br>
>> that Guillaume and I are pushing our bosses to get the chance to also<br>
>> make a linux release. But there is nothing done toward this so far. ;)<br>
>><br>
><br>
> Did you work on that game?<br>
> I'd be interested in getting the names of the people behind this game<br>
> (at least the coders), if this isn't covered by any NDA…<br>
><br>
</div>Well this game was developed by Robert Lizee and designed by Martin<br>
Lizee. Guillaume Germain and I both joined/created the dev team in May.<br>
There is also a summer student working with us. I mostly worked on the<br>
internationalization of the game and Guillaume on refactoring the build<br>
system. We also both debugged and fixed problems until the final release<br>
was made.<br>
<br>
You might also be interested in trying to switch the langage to Japanese<br>
;). I also implemented a kana input manager, but I'm not sure if it was<br>
removed from the final build at the last minute or not...<br>
<br>
Working for this game was a lot of fun! I am looking forward for our<br>
next release for the iPhone! :)<br>
<div class="im">> Also, remember that you don't have to give access to the source code<br>
> for free either.<br>
> A licence like the GPL says roughly that "you can sell sell the source<br>
> for at most the price of the binaries".<br>
> So, given that the game (which is not GPL, I know), sells for a cheap<br>
> price, the source could be sold too.<br>
><br>
> Say: "binary, CAD 12.99", "source: CAD 30", "pack binary+source: CAD 50".<br>
> And with a proper licence on the source (which would be mostly "no<br>
> forking of the game" [1]), that could do some extra revenue.<br>
><br>
> What do you think of that ?<br>
><br>
</div>I can't answer this question without my lawyer... hehe<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></blockquote></div><br>