Penguin

Differences between version 19 and predecessor to the previous major change of SamJansen.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 19 Last edited on Tuesday, March 9, 2004 2:09:05 pm by SamJansen Revert
Older page: version 15 Last edited on Thursday, June 26, 2003 12:09:36 am by SamJansen Revert
@@ -1,42 +1,17 @@
-[SamJansen]. Me. I attend to WaikatoUniversity. I used to run DebianLinux on my home computer (along with MicrosoftWindows at times), but I am now a GentooLinux convert. I do all my programming in [Vim]; I am a programmer by trade. Programming languages I use, in order of how much I use them include:  
-* C++  
-* Java  
-* C  
-* Perl  
-* Any other random language I don't use much or was forced to learn like Python / Scheme / Haskell / etc. 
+[SamJansen]. [ Me|http://www.wand.net.nz/personDetail.php?id=211] . I attend to WaikatoUniversity. I used to run DebianLinux on my home computer (along with MicrosoftWindows at times), but I am now a GentooLinux convert. I do all my programming in [Vim]; I am a programmer by trade. Programming languages I use, in order of how much I use them include:  
+* [C]  
+* [ C++]  
+* [Python]  
+* [Perl]  
+* [Java]  
+* Any other random language I don't use much or was forced to learn like [ Scheme] / [ Haskell] / etc. 
  
-Note that the above list says little about preference. 
+Note that the above list says little about preference. For example, [IHateJava]. [C++] is generally my language of choice, but I am also a big [Python] fan
  
-These days I spend my time working on my honours project in the WandGroup working with FreeBSD. I'm playing around with adding a new network stack to a network simulator. Information about this project can be found at [http://voodoo.cs.waikato.ac.nz/~stj2/420 /]. 
+I spend my time working on my PhD project in the WandGroup working with [ FreeBSD] . These days I'm the TCP expert of the WandGroup. I added the FreeBSD network stack in the NS-2 network simulator as part of my honours project, and I am now continuing this research in my PhD . Information about this project can be found at [http://voodoo.cs.waikato.ac.nz/~stj2/]. 
  
-My program, 'Memhog':  
-  
-C++:  
- while(1)new int;  
-C:  
- #include <stdlib.h>  
- while(1)malloc(3);  
-  
-  
-From the above it is obvious the C is more verbose than C++ -- it needs an whole extra line! Note that malloc-ing 3 bytes means it looks somewhat neat as it links to the manpage. There is no other reason for the number.  
-  
- I would write 'Memhog' in other languages, but those damn garbage collectors get in the way.  
-  
-''Actually, it should still be fairly easy - try making a global array or similar, and loop adding objects to it. There would be other ways depending on the GarbageCollector that is being used - some can't deal with self-referential loops of objects, for example.''  
-  
-Agreed. However, it is often hard to be quite as terse as the C/C++ equivalent. For example, in Java the easiest way to use up all the memory is just to keep adding things into a list:  
- public class Mem  
- {  
- public static void main(String args[]) {  
- java.util.LinkedList list = new java.util.LinkedList();  
- while(true) list.add(new Integer());  
- }  
- }  
-Now, the other problem here is that in a language like Java, once the heap it full it exits rather racefully with an "Exception in thread "main" java.lang.!OutOfMemoryError". This, to put it quite frankly, is no fun.  
-  
-  
-Seriously, though, what coding I do in my spare time is generally done on BungGameEngine
+See BungGameEngine for something I've spend quite a bit of my spare coding time on. 
  
 Some C/C++ links of note: 
 * [wxWindows] (multi platform GUI -- like a much better MFC) 
 * [OpenGL|http://www.opengl.org] (simple multi platform 3d graphics API)