Welcome to xMule: A P2P Client derived from eMule BerliOS Developer LogoSourceForge.net Logo


Links
- Visit the Forums!
- SF.net Project Page
- xMule Screenshots

Modules
· Home
· Content
· Downloads
· Recommend Us
· Search
· Statistics
· Top
· Topics
· Your Account

Who's Online
There are currently, 2 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

 
xMule: A P2P Client derived from eMule: The Great Refactor

Search on This Topic:   
[ Go to Home | Select a New Topic ]

The Great Refactor Our Situation
Posted by HopeSeekr on Sunday, October 03 @ 18:28:55 CDT (2197 reads)

"But the greatest waste is war...We waged war on ourselves with nuclear testing...poisoned the lakes...and every time there was a glimpse of peace, we scurried to find a new enemy so that we could continue this mindless wasting... "And meanwhile we decayed. When I was bor, when I grew up in the fifties, we believed our country [America] was the land of opportunity, where nobody was doomed to remain poor, where every person of goodwill had a chance to rise. By the time my child was born in the nineties, beggars were crowding the streets of every city, accosting shoppers in the malls... "Our compassion eroded faster than the topsoil, and when we began to notice the earth changes, the droughts and the warming and the die-offs of the animals, the hole in the ozone layer and the epidemics of strange diseases...when we still had a chance to save so much and avert the worst of what followed, we continued to distract ourselves with war." "The only war that counts is the war against imagination." [ full context ] -- Poet Diane di Prima. -- Excerpt from "The Fifth Sacred Thing", p.238-239 by Starhawk.

(Read More... | 4603 bytes more | 13 comments | Score: 1.6)

The Great Refactor Coding Blog: Nearly 50% Rewritten!
Posted by HopeSeekr on Monday, August 30 @ 22:54:59 CDT (1068 reads)

I've worked *hard* over the last 17 months to bring you all the best p2p client ever. There have been numerous and severe personal setbacks for me, the most serious having been myself running up against the increasingly fascist apparati of the United State[s] of America since George W. Bush took office. Here are detailed (graphs and everything ;-) stats of how much each individual contributor has done for xMule. Notice: I have personally rewritten virtually 49.5% of all xMule code. The leader of a fork of xMule...

(Read More... | 837 bytes more | 3 comments | Coding Blog | Score: 3)

The Great Refactor Coding Blog: The Great Refactor: Step 4: Make Heavy Use of Forward Declarations
Posted by HopeSeekr on Friday, August 20 @ 15:52:48 CDT (814 reads)

Now that we have sufficiently plotted the dependencies of objects via header documentation (1, 2) we can now get to the Good Stuff (TM): Heavy use of Foward Declarations...

(Read More... | 2240 bytes more | 1 comment | Coding Blog | Score: 3)

The Great Refactor Coding Blog: The Great Refactor: Resumed documenting headers
Posted by HopeSeekr on Wednesday, August 18 @ 02:10:36 CDT (1024 reads)

Now that the 1.9.0 necessities are out of the way, I have resumed documenting cpp header inclusions..an essential first step towards ever greater refactoring efforts. Total time spent: 13 hr 38 min.
Total headers: 915
Unneeded headers: 341
Modified at 16:30 on 18 August 2004.


(Read More... | 2365 bytes more | 1 comment | Coding Blog | Score: 3.33)

The Great Refactor Coding Blog: Great Refactor: Step 5: Remove all memory errors
Posted by HopeSeekr on Monday, July 12 @ 10:17:08 CDT (828 reads)

We've come a LONG way since eMule 0.26d, when memory would leak at many megs an hour. Now you can run xMule for many hours without noticing much of an increase from the startup memory of 20MB. This will take it to the next level. Memory warnings fixed: 21 out of 39
Memory leaks fixed: 0 out of 5
Initial run: 6664 errors from 43 contexts. Modified at 9:44 (-5 UTC) on 12 July 2004


(Read More... | 614 bytes more | 3 comments | Coding Blog | Score: 0)

The Great Refactor Coding Blog: The Great Refactor: Step 4: Make Heavy Use of Forward Declarations
Posted by HopeSeekr on Wednesday, June 30 @ 03:35:35 CDT (503 reads)

Now that we have sufficiently plotted the dependencies of objects via header documentation (1, 2) we can now get to the Good Stuff (TM): Heavy use of Foward Declarations...

(Read More... | 2171 bytes more | comments? | Coding Blog | Score: 0)

The Great Refactor Coding Blog: The Great Refactor: Step 3: Document Headers in .cpp Files.
Posted by HopeSeekr on Saturday, June 26 @ 01:52:43 CDT (630 reads)

Thanks to Celdesus, the first 4 cpp files are already documented...yay!! On the off chance that *YOU* would want to help in this relatively low-IQ, zero required experience endeavor, go here for a guide on what to do. This will likely take a while, so I'm going to update this story often :p. Modified at 22:41 on 17 August 2004.

(Read More... | 2736 bytes more | comments? | Coding Blog | Score: 1)

The Great Refactor Coding Blog: The Great Refactor: Step 2: Document Headers
Posted by HopeSeekr on Wednesday, June 23 @ 03:57:51 CDT (1044 reads)

This really is *quite* essential from a maintainer's (that'd be me :-) perspective. How else can one even begin to formulate how to compartmentalize such a complex app? This will likely take a while, so I'm going to update this story often :p. Headers processed: 87 OldNewChange Inclusions51627247.3% Fewer Compile Time6m 32s4m 21s33.5% Faster ASM Instructions1,240,7191,240,5650.012% Preprocessed Code140M (5.1M lines)110M (4.1M lines)21.4% Smaller Total time spent: 14h 20m
Finished: 12:36 (-5 UTC) on 25 June 2004.


(Read More... | 4799 bytes more | 4 comments | Coding Blog | Score: 3.66)

The Great Refactor Coding Blog: The Great Refactor: Step 1: Replace nstrdup
Posted by HopeSeekr on Tuesday, June 22 @ 15:50:05 CDT (478 reads)

Replace the local nstrdup() implementation with standard strdup() one. Primarily a performance increase, but this also has several major advantages... First advantage: Decoupling
The biggest performance issue in xMule right now is its module interdependencies. In an oportune environment, every single .h file should include only a minimal number of files. Decoupling decreases compile time dramatically, makes programs less likely to segfault, and decreases CPU and memory usage.


(Read More... | 1838 bytes more | Coding Blog | Score: 0)



PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.31 Seconds