Re: My thoughts on C# and gaming.

Jon Watte <[email protected]>
Newsgroups gmane.games.devel.sweng
Message-ID <[email protected]>
You could use weak pointers

I'm not saying you would *use* *weak pointers, *I'm saying you would *use
weak pointer infrastructure* to implement safety guarantees.
Specifically, the case you suggest, DisposePools() could raise a
"PoolStillReferencedException" when you still have bad references. It could
even print out a complete list of the reachable set of objects that lead to
the disposed pool.
You're saying that doing so "shifts burden from the runtime to the
programmer," but I'm not so sure that's not what you want. Consider file
systems as an example. It's not the role of the runtime system to guarantee
that a given file exists before you depend on data in that file. If you use
memory pools, you're making the same kind of determination of who is
responsible for what.

Sincerely,

jw


--
Americans might object: there is no way we would sacrifice our living
standards for the benefit of people in the rest of the world. Nevertheless,
whether we get there willingly or not, we shall soon have lower consumption
rates, because our present rates are unsustainable.



On Thu, Feb 25, 2010 at 2:30 PM, Raymond Barbiero <
[email protected]> wrote:

> Job listings might not ask for C# proficiency now, but that doesn't mean
> they won't in the future!
>
> C# wasn't a viable language to use on the Xbox 360 and PS3 until Mono
> achieved ahead of time compiling. It is inevitable we will see an increased
> adoption rate of CIL based languages in games. I wouldn't be surprised to
> see games using something like VMKit to translate MSIL or Java bytecode (or
> maybe even LUA bytecode someday) -> LLVM IR -> ahead of time compiled
> machine code in the future. At that point the only thing that will matter
> is: which language will give you the best productivity gain given your
> problem domain?
>
>
> On Wed, Feb 24, 2010 at 12:34 PM, Brandon Van Every <[email protected]>wrote:
>
>> On Tue, Feb 23, 2010 at 11:07 AM, Douglas Cox <[email protected]> wrote:
>> >
>> > I will say that we have had several times the number of applicants with
>> C#
>> > experience vs Lua.
>>
>> Do your job listings tend to ask for C# and not Lua?
>>
>>
>> Cheers,
>> Brandon Van Every
>> _______________________________________________
>> Sweng-Gamedev mailing list
>> [email protected]
>>
>> http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
>>
>
>
>
> --
> Raymond "VisualPhoenix" Barbiero
> Programmer
> EA Montreal
>
> _______________________________________________
> Sweng-Gamedev mailing list
> [email protected]
> http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
>
>

_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.