i decided to start off by porting some core parts of the GAIA kernel related to the P2P Federated XML Database. these portions are relatively isolated from other parts, and involve quite a bit of XML manipulation, threading, file access, and other such system operations. so far, it's been fairly smooth. the things i've encountered so far are:
- what's the equivalent of System.currentTimeMillis()? it looks like DateTime.UtcNow.Ticks should be close, but maybe a factor of 10 off?
- i can't find a simple linked list in System.Collections. this seems odd, maybe i'm missing something. i need super-fast deletion of a list element, so ArrayList won't work
- the System.Threading namespace looks pretty powerful
- the EXML XML serialization code ignores transient data fields. i'm not sure what the equivalent .NET XML serialization mechanism is yet.
getting used to the get/set approach for variable access was straightforward. porting the Java event listener code to .NET events will take a bit more thought.
12:49:48 AM
|