Updated Articles
[sdlgit/SDL-Site.git] / pages / blog-0020.html-inc
index ce0a8db..6e3de57 100644 (file)
@@ -1,6 +1,21 @@
 <div class="blog">
 <h1 id="NAME">
-Catching memory leaks in XS
+A summer of possibilities (SDL_perl and GSOC 2010 )
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>&nbsp;I slay dragons, yonder</i></div><br />So I am trying to find and plug memory leaks in SDL perl. Most of the <a href="https://rt.cpan.org/Ticket/Display.html?id=49084">memory leaks</a> occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on <a href="https://rt.cpan.org/Ticket/Display.html?id=17976">here</a>. The problem occurs where in XS there is<br /><br /><blockquote><i>RETVAL</i><i> = (cast *) safemalloc( ... );</i></blockquote>&nbsp;and safefree(...) is never called.<br />Here is a in <a href="http://github.com/kthakore/SDL_perl/blob/63ebaa682697728f5946f700a2b2c12534b1b821/src/SDL.xs">code example</a> lines 1082 on. <br /><br />My question is how I can mitigate these memory leaks? One idea I had was to store all malloc'd pointers to an array that is safefree'd on DESTROY or hooked into perl GC somehow .<br /><br /><br />Any guidance is helpful.<br /><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7742659740534179607?l=yapgh.blogspot.com'/></div></div>
\ No newline at end of file
+<h3>GSOC 2010 </h3><br />
+<p>As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications. <p><br />
+<br />
+<b>Process to Apply</b><br />
+<ul><li>Sign in as a student here http://socghop.appspot.com/</li>
+<li>Submit a proposal before April 5th</li>
+<li>Usually it helps to discuss the idea with us on irc (#sdl irc.perl.org)</li>
+</ul><br />
+<br />
+<h3>Ideas </h3><br />
+<p><a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki/gsoc2010">Here</a> are some ideas for SDL perl but we happily accepted student ideas.<br />
+ Make a student wiki page on this site of your ideas! We look forward to helping you guys with your  ideas :) </p><br />
+<br />
+--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7079398614405091312?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/0/da"><img src="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/1/da"><img src="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/Az4zDMAjcdY" height="1" width="1"/></div></div>
\ No newline at end of file