Cool, its been ages since I've played freelancer.casio1987 wrote: No, not yet. My time is way too limited for another project right now. I'm currently still on uni, next to working on a major project as hobby, doing some freelance work and rl.
The code that I wrote is not a wrapper.casio1987 wrote: Hmm, I don't like wrappers for the native code. They're always getting out of date and the effort it takes to keep up to date is not worth it imho. It's better to stick with Matlo's branch, also for performance.
True ... and that's why I've already stated that I'm not targeting anything else but windows at least not with this C# project.casio1987 wrote: Besides that, I don't think it's possible to hook kb or mouse globally in mono (clr) or wine (boxed). The only way afaik know (no hard core linux user, so correct me if I'm wrong) is to capture it via x11 events. Otherwise you need to port the whole project to c# and p/invoke calls don't work either in mono (you can try com), so you may need wine. Wine on the other hand afaik does only support max .net framework 2.0 correctly.
Both options are poor options due to performance.
Partially true. Performance impact is not related to JIT, if anything a JIT compiler is a bonus to performance, due to the fact that when first executed it optimizes the code for particularities of the platform its running on.casio1987 wrote: So if you are asking for participation for Windows development only usinig a cli language, my answer is no, sorry. I tend to develop businss apps in c# nowadays (rad), but it's not smart to develop this solution in it, cause it's all about performance and you can't get it with jit, because of the natural overhead.
The performance impact (in my code) comes because there is no reliable high resolution timer that I can use. I need something that will provide a trigger at exactly 4ms intervals. Currently I'm abusing the stowatch ... in not a very smart way. I will probably change this in the future and that will massively increase the performance of the current code.
Above all else, thees a little device I'm looking forward too (Raspberry Pi) running on a ARM11 chip. It should be out fairly soon and I do hope I manage to secure one ... tho I highly doubt that ...
It would be most interesting to see a version of gimx run on that ...