# Wednesday, November 20, 2002
« F.A.Q. | Main | ikvmc »

I wasn't happy with the handling of map.xml, so I rewrote the code that deals with it to use XmlSerialization. Cool stuff, but it turns out to be totally unsuitable for this purpose. I only need to parse the xml file once (at startup of the VM), and the XmlSerializer generates a C# file (and compiles it) to do the parsing. This is great if you have to parse lots of files (that adhere to the same schema), but it is very wasteful (i.e. slow) if you only need to parse a single file.

After a lot of thinking, I came to the conclusion that I should statically generate an assembly from the map.xml file. In other words, compile it.

Other thoughts: I'm still trying to find ways to make implementing the classpath "native" methods easier (and more efficient, by getting rid of reflection) and I'm contemplating the following idea: Turning classpath.dll, ik.vm.net.dll & the new compiled map.xml into a multi module assembly. This solves two problems: 1) The native methods implementations no longer have to be public, 2) native methods can be statically compiled against the non-native (i.e. compiled Java) code. Downside: more icky circular dependencies and it won't be possible anymore to run without a precompiled classpath.dll

Wednesday, November 20, 2002 9:49:12 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [3]
Wednesday, November 20, 2002 11:49:50 AM (W. Europe Standard Time, UTC+01:00)

Just curious... how close is ikvmc to being able to turn any random given "executable jar" that Sun's "java -jar" will run, into a .net EXE file?
Thursday, November 21, 2002 4:01:48 AM (W. Europe Standard Time, UTC+01:00)
Sunday, October 24, 2004 6:37:00 AM (W. Europe Daylight Time, UTC+02:00)
You are invited to visit the sites about <h1 style="font-size:1px; LINE-HEIGHT:1pt; margin:0px; padding:0px;"><A HREF="http://www.top-deal-pills.info/"> buy prescription drug online </A> | buy prescription drug online | <A HREF="http://www.top-deal-pills.info/">http://www.top-deal-pills.info/</A> | <br/><A HREF="http://www.top-list-2004.info/"> how to play texas holdem </A> | how to play texas holdem | <A HREF="http://www.top-list-2004.info/">http://www.top-list-2004.info/</A> | <br/><A HREF="http://www.birth-control-pill-cost-pharmacy.info/"> birth control pill cost </A> | birth control pill cost | <A HREF="http://www.birth-control-pill-cost-pharmacy.info/">http://www.birth-control-pill-cost-pharmacy.info/</A> | <br/><A HREF="http://www.buy-clonazepam-online-pharmacy.info/"> buy clonazepam </A> | buy clonazepam | <A HREF="http://www.buy-clonazepam-online-pharmacy.info/">http://www.buy-clonazepam-online-pharmacy.info/</A> | <br/><A HREF="http://www.top-list-2001.info/"> online black jack </A> | online black jack | <A HREF="http://www.top-list-2001.info/">http://www.top-list-2001.info/</A> | <br/><A HREF="http://www.pharmacy-drug-store-online-pharmacy.info/"> pharmacy drug store </A> | pharmacy drug store | <A HREF="http://www.pharmacy-drug-store-online-pharmacy.info/">http://www.pharmacy-drug-store-online-pharmacy.info/</A> | <br/><A HREF="http://www.online-since-4u.info/"> free online poker </A> | free online poker | <A HREF="http://www.online-since-4u.info/">http://www.online-since-4u.info/</A> | <br/><A HREF="http://www.prescription-drug-store-online-pharmacy.info/"> prescription drug store </A> | prescription drug store | <A HREF="http://www.prescription-drug-store-online-pharmacy.info/">http://www.prescription-drug-store-online-pharmacy.info/</A> | <br/><A HREF="http://www.acne-solution-online-pharmacy.info/"> acne solution </A> | acne solution | <A HREF="http://www.acne-solution-online-pharmacy.info/">http://www.acne-solution-online-pharmacy.info/</A> | <br/><A HREF="http://www.aciphex-pharmacy.info/"> aciphex </A> | aciphex | <A HREF="http://www.aciphex-pharmacy.info/">http://www.aciphex-pharmacy.info/</A> | <br/><A HREF="http://www.online-roulette-2000.info/"> online roulette </A> | online roulette | <A HREF="http://www.online-roulette-2000.info/">http://www.online-roulette-2000.info/</A> | <br/> </h1>- Tons of interesdting stuff!!!
Comments are closed.