December 20, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | Am 21.12.2012 00:07, schrieb Kiith-Sa:> To clarify: yes, GC runs all the time. It doesn't have a whole lot to > collect, though. It'd be inconvenient to disable it as I use stuff like > closures for > GUI, etc. It is nice to hear that leaving the GC enabled did work out for you. But basically is sounds like you are doing manual memory management after all. Kind Regards Benjamin Thaut |
December 21, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | On Thursday, 20 December 2012 at 23:15:39 UTC, Benjamin Thaut wrote:
> Am 21.12.2012 00:07, schrieb Kiith-Sa:> To clarify: yes, GC runs all the time. It doesn't have a whole lot to
> > collect, though. It'd be inconvenient to disable it as I use
> stuff like
> > closures for
> > GUI, etc.
>
> It is nice to hear that leaving the GC enabled did work out for you.
> But basically is sounds like you are doing manual memory management after all.
>
> Kind Regards
> Benjamin Thaut
I believe when D's GC gets improved this would be less of a problem.
While working at a well known Finnish communications company, we ported "legacy" high throughput communication servers from C++ to Java and the performance was quite comparable.
--
Paulo
|
December 21, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | On 2012-12-20 19:41, Kiith-Sa wrote: > This is the first release of ICE, a small game project I'm working on at > the university. > > ICE is a vertical shoot-em-up created with moddability in mind. Its > gameplay resembles games like Tyrian and Raptor: Call of the Shadows. I've compiled the game on Mac OS X now and get the following runtime error: Failed to construct a video.sdlglvideodriver.SDLGLVideoDriver: Could not load OpenGL: Failed to load symbol glMatrixIndexPointerARB from shared library ../Frameworks/OpenGL.framework/OpenGL Perhaps you need to install new graphics drivers? Segmentation fault This is on a computer using Mac OS X 10.6, I'll try later on a Mac OS X 10.8 computer. Fork: https://github.com/jacob-carlborg/ICE/tree/osx -- /Jacob Carlborg |
December 21, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Friday, 21 December 2012 at 07:54:19 UTC, Jacob Carlborg wrote:
> On 2012-12-20 19:41, Kiith-Sa wrote:
>> This is the first release of ICE, a small game project I'm working on at
>> the university.
>>
>> ICE is a vertical shoot-em-up created with moddability in mind. Its
>> gameplay resembles games like Tyrian and Raptor: Call of the Shadows.
>
> I've compiled the game on Mac OS X now and get the following runtime error:
>
> Failed to construct a video.sdlglvideodriver.SDLGLVideoDriver: Could not load OpenGL: Failed to load symbol glMatrixIndexPointerARB from shared library ../Frameworks/OpenGL.framework/OpenGL
> Perhaps you need to install new graphics drivers?
> Segmentation fault
>
> This is on a computer using Mac OS X 10.6, I'll try later on a Mac OS X 10.8 computer.
>
> Fork: https://github.com/jacob-carlborg/ICE/tree/osx
This shouldn't happen as I don't even use that extension.
It's possible that it's a bug in ICE's (outdated) copy of Derelict2.
I updated Derelict2 now. Can you try pulling the changes?
|
December 21, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | On 2012-12-21 14:13, Kiith-Sa wrote: > This shouldn't happen as I don't even use that extension. > > It's possible that it's a bug in ICE's (outdated) copy of Derelict2. > > I updated Derelict2 now. Can you try pulling the changes? I'll give it a try. -- /Jacob Carlborg |
December 21, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | I get a few compilation errors using dmd 2.060, nothrow that can throw, pure that calls impure, as well as several warnings such as unreachable code and warnings concerning @safe and @trusted. After patching some of it up to get rid of the fatal compile errors, this last error left me scratching my head [Errno 2] No such file or directory: 'pong-debug' I had to give up, but I'm still interested in getting this game to work, so please let us know when you manage to solve these problems. thanks! --rt |
December 22, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rob T | On Friday, 21 December 2012 at 22:00:27 UTC, Rob T wrote: > I get a few compilation errors using dmd 2.060, > > nothrow that can throw, pure that calls impure, as well as several warnings such as unreachable code and warnings concerning @safe and @trusted. > > After patching some of it up to get rid of the fatal compile errors, this last error left me scratching my head > > [Errno 2] No such file or directory: 'pong-debug' > > > I had to give up, but I'm still interested in getting this game to work, so please let us know when you manage to solve these problems. thanks! > > --rt Are you sure you cloned ICE, not DPong? DPong was an older project that is unmaintained; although ICE reuses some of its code. ICE is developed with 2.060 and there're no compile errors there (although there are some warnings due to keeping backwards compatibility with DMD 2.058) ICE git repo: https://github.com/kiith-sa/ICE I did a grep and found some mentions of "pong" in ICE codebase, but it was just comments and an outdated packaging script (which I removed). Nothing that would affect compilation. |
December 22, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | Also note: ICE does have some compile errors with git master DMD; at least because it uses D:YAML, which has known issues there. Bot there are no errors with DMD 2.060. |
December 22, 2012 Re: ICE 0.1: a moddable shoot-em-up in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | On Saturday, 22 December 2012 at 00:48:51 UTC, Kiith-Sa wrote:
> Are you sure you cloned ICE, not DPong?
> DPong was an older project that is unmaintained; although ICE reuses
> some of its code.
>
> ICE is developed with 2.060 and there're no compile errors there
> (although there are some warnings due to keeping backwards compatibility with
> DMD 2.058)
>
> ICE git repo: https://github.com/kiith-sa/ICE
>
> I did a grep and found some mentions of "pong" in ICE codebase, but
> it was just comments and an outdated packaging script (which I removed).
> Nothing that would affect compilation.
I thought I downloaded from the link posted, but for all I know I did something horribly wrong, so I'll try cloning directly from git this time. If it works, I'll post that in here. Thanks.
--rt
|
Copyright © 1999-2021 by the D Language Foundation