Honestly, rewriting things for the ds will be a major pain as the so said "linux" environment is minimal and everything (or almost) has to be rewritten. I used to work on a homebrew for DS, and I experienced every possible and impossible failures.
Btw the Wifi lib hasn't been developed much and the processor will slow many things down. On http://nocash.emubase.de
there was a page/pdf about all the features of a DS(fat) and all the bugs it has.
Finally, managing programs with 4MB of ram in which put all the executable code isn't funny. you'll have to stick with the minimalist way to program.