PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

MS Visual Studio .NET

Hey, I just got Microsoft Visual Studio .NET and was wondering if there are any plugin compilers for the PPC.
There aren't any currently. It's pretty trivial to get the IDE to call your compiler and linker. A bit more difficult to use the integrated debugger. It might be possible through the new Visual Studio .Net SDK though.
Im currious about vs.net i am currently a vb developer and am working on many projects in c/c++ for big windows and ce at that, but when i upgrade will all my apps be backwards compatible with the new .net versions of the compilers? And anyone acually play with c#? Is it a nice language or what i still dont think it will touch c/c++ powerwise.
Gee, I am just wondering how a high schooler got ahold of .NET at almost $1000. Pretty pricey toy.
I could get .net if a i wanted it for free legally too moos maybe just lucky like me although i dont care enough to d/l it. See i do some vb work for a another vb programmer i know who also designs point of sales systems wich is what i do at work, well anyways this guy works for a multi-million dollar company were they give him his own msdn unversial subscription wich means he gets 11 liscenses for almost any microsoft software and he said i could d/l .net if i choose too but i really have never bothered and forgot his log in. My point being there are ways to legally obtain a free compy of server software a and visual studio for the price of 0 dollars. But moose probably warezed it.
I didn't warez it. My brother has a fast connection at work and he got me the beta. A friend of his in college bought it for $400 through the student discount deal and sent it to me. If he burned himself a copy then HE warezed it, but I've got the real thing.
spray · 12 Feb 2002, 13:16 UTC — MS Visual Studio .NET
(warning long post ahead)

I saw this post and had to respond. Since I too happen to have a Universal Subscription. I currently have VS .Net installed and am working with C#.

There is a separate plugin called "Smart Device Extensions for VS .Net" or something like that. Anyway you can build .Net apps for PocketPC 2002. Supposedly you can also build apps for previous CE versions, but I haven't seen much evidence of this.(and since my Ipaq runs PPC2002...)

The Smart Device support is only a beta at this point. It contains a scaled down version of MS' runtime for .Net. My biggest gripe with it is that when you go to create an app for the PPC there's no forms designer (like in desktop .Net apps). At least I can't figure out how to get it to enable. (Just a note the forms designer in the VS .Net is an awful lot like Delphi's or any of the Borland dev tools... Microsoft hired the former Chief Architect of Delphi... go figure :wink: )

Anyways, to answer the other questions about C# and your current code), C# is different than C++. Some of your generic routines will work fine. There is a version of VC++, but I wouldn't want to make any guarantees about that one either. .Net utilizes a runtime (read Virtual Machine like Java does). There are 2 modes of operation for code managed and unmanaged. Managed code runs within the runtime and has all the features and libraries that .Net offers (which is extensive), and unmanaged code is like what you're used to working with now.

What I like about C# is that it is a simpler version of C++. It loses some of C/C++'s more advanced features. You don't have pointers in managed code, and you don't have to destroy objects when things go out of scope and are no longer used the garbage collector recycles the memory. You also don't have multiple inheritance (you do have interfaces so you can implement multiple classes, just not inherit the code). Obviously I like C#... It will be different for us in the future as far as building apps for PPC, but it looks like they have found a way that we truly can build our desktop code then recompile (or redeploy) right on the PPC (did I mention that things are JIT compiled... The good news about this point is that it's not slow...)
Wow sounds alot like java to me. Praise the oop gods we have found a new winner! No im just kiddint really it sounds like a bunch of horse shit are telling me game devlopers will be writingt 'unmanaged code'?
Yes, it is basically java with a few extra twists. Next I hear Microsoft will be inventing a thing called an "automobile". Apparantly you get into this machine, which is powered by a thing called an "internal combustion engine". It will then transport you at high speeds from one place to another on another Microsoft invention, the "road". Pretty revolutionary stuff. Microsoft is really cutting edge. They definitely deserve their billions. Especially Bill Gates.

Dan East
andys · 12 Feb 2002, 17:34 UTC — MS Visual Studio .NET
spray wrote:

What I like about C# is that it is a simpler version of C++. It loses some of C/C++'s more advanced features. You don't have pointers in managed code, and you don't have to destroy objects when things go out of scope and are no longer used the garbage collector recycles the memory. You also don't have multiple inheritance (you do have interfaces so you can implement multiple classes, just not inherit the code). Obviously I like C#... It will be different for us in the future as far as building apps for PPC, but it looks like they have found a way that we truly can build our desktop code then recompile (or redeploy) right on the PPC (did I mention that things are JIT compiled... The good news about this point is that it's not slow...)


And for games of course this will be great. It'll run the garbage collector every so often which will scan all of your objects, repack them on the heap (of course, to repack them it needs to know where they are, so you have to have something fun like double-dereference), and interfere with your timing....

(in a rather negative mood about "managed languages" today ;>

I think we'll find that C# and so on will be great (depending, of course, on your point of view) for your average app, but anything that requires speed (such as most of the things I use my PPC *for*) will probably be written in C/C++ - as it simply won't be viable to have them in any other form. (Of course, most games shouldn't be calling malloc very often....)
Man seriously it looks like ms thought that vb was to messy and java was pretty cleans so they just replaced there 'esasy to use' #1 favorrite app builder vb with c#. I really doubt anyone is going to make worthwhile game in c#. Cant we all stop kissing ms ass and admit virtual machines suck.
VMs have stacks of advantages - just not for games.

The number of serious software packages where object lifetime isn't obvious - where you might want to (pleasantly) dynamically use plugins - where you may want to run the same code on multiple computers and not worry about endianness or structure alignment and many more.

The problem is that it's all very well for my P-III to run VM stuff - it'll probably do a good job - but my little Cassiopeia? Or even a beefy ARM is going to have costs. To have the information to make it fast in a VM makes the VM large - for example - Java.

Now while Microsoft might not make the Java mistake of writing (and keeping) everything in Java bytecode - there's still going to be a cost to the managed runtime. But then there's a cost to many things that we use computers for nowadays. I just don't think that stuff on my PocketPC (which, in my view, is already too slow), will be a good candidate for it.
Actually anyone who really knows what they're doing can program real-time systems just as well in a managed environment, IE Java, VB, C#. You just gotta know when, why, and how the garbage collector is running, have s solid understanding of OOP, language features, and the compiler. Then again a software engineer should know these things for any language and platform he's working on.

As for C# being Java. Go actually read about it. And stop saying "MS invented it". If you want to know who invented C# it was that very same afforementioned chief architect from Delphi who invented it. Speaking of which, there's a whole slew of game developers developing for Delphi.
Is there a way of supressing or controlling the Garbage collector for .NET? AFAIK there isn't for Java, unless you're using a real-time Java (where you get control over these things)

The performance of .NET won't be awful - Java can be plenty fast enough - but managed runtimes aren't free, and there is a tendancy to over-engineer things.

I might be pleasantly suprised by .NET. They've got quite a few things right that Java has gotten wrong - so it'll be interesting to see where they go from here.
I would never say Microsoft invented anything - that is something they like to constantly imply. They never have been, and never will be innovators. The only reason they have been successful is because 1) Bill Gates was in the right place, at the right time, and resold a version of DOS someone else wrote. And 2) since that time of early MS dominance (thank you so much for making that infamous decision, IBM ~) they have used sometimes legal, and often illegal maneuvers to either integrate and profit off of, or otherwise stifle, any innovation related to their field. No matter how good it would be for the consumer or technology in general, if it means money flowing into another company that is not allied, then Microsoft will use all means to destroy it.

Dan East
says dan east, mister 'makes money selling file explorers written for microsoft pocket pc operating systems'
Uh huh...
Of course. The hardware is truly revolutionary. It just so happens that they all come with a Microsoft OS on them. Actually, now would be a good time to thank Microsoft for including such a lame, useless file explorer in the Pocket PC OS. There are many people seeking 3rd party file explorers with real capabilities. Someday MS will wake up and realize less actually isn't more, and stop trying to be so Palm-like (they actually think that helps them compete). The Windows CE 2.11 PSPC devices actually had a more powerful OS in several respects. At least as far as the shell is concerned.

Dan East
Village_Ideot · 14 Feb 2002, 03:42 UTC
Dan East wrote:
I would never say Microsoft invented anything - that is something they like to constantly imply. They never have been, and never will be innovators. The only reason they have been successful is because 1) Bill Gates was in the right place, at the right time, and resold a version of DOS someone else wrote. And 2) since that time of early MS dominance (thank you so much for making that infamous decision, IBM ~) they have used sometimes legal, and often illegal maneuvers to either integrate and profit off of, or otherwise stifle, any innovation related to their field. No matter how good it would be for the consumer or technology in general, if it means money flowing into another company that is not allied, then Microsoft will use all means to destroy it.

Dan East


Hey hey hey, Bill Gates bought Q-Dos it was the guy that made it that was stupid to sell it but oh well