Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Java vs. C#
  
User name:
Password:
Reply:
 

UserPost
dan
Posts: 60/782
Originally posted by HyperHacker
Get VB6 (at least the runtimes are small ), learn the API, then when you know it well enough start doing C.


If you know Java, then doing this would only make you realise what a waste of time Visual Basic is for anything but a small application.

Microsoft are really pushing the whole .NET thing, but the problem I have with .NET is the GUI library, Winforms. Quite frankly, it sucks. It's quite slow, but it is fast when it comes to developing with it.

So yeah, maybe sticking with Java might be best.
MathOnNapkins
Posts: 137/2189
I already know C and C++ it's just my perception that development time in a VB/C# environment will be faster/less hassle perhaps. The only concern I have at this point is the fact that the so-called C# "EXE" requires runtimes. Damn, why even call it an EXE if it needs that shit...

I think I've decided to look at the java gui builders and see what works. For one, speed is not really an issue here. Second, I might as well write it in java since it'd probably easier to integrate it with the 65816 emulator I mentioned in Rom hacking. Don't know if handling the graphics is going to be a pain though.

I was wanting to make a program similar to XVI32, the hex editor I use, which was written in Delphi, but I'll save Delphi for another time perhaps.
HyperLamer
Posts: 506/8210
Both Java and C# are crap. Anything that needs runtimes is. (Yes, even VB, once I figure out some of these API functions it's C all the way for me. ). If they could be compiled to a real EXE, they wouldn't be so bad (but Java's language itself is still pretty lousy), but noooo. Get VB6 (at least the runtimes are small ), learn the API, then when you know it well enough start doing C.
Euclid
Posts: 49/193
If you want to develop your project rapidly then i suggest C#.

There's also this program for java which is quite good for GUI apps, it's called JBuilder or something like that, gui is quite easy with that program.
neotransotaku
Posts: 509/4016
with computers nowadays, is the slowness that noticable? as for writing a small batch program, that is what executable jars are for.

as for Java GUIs...if you want total control, you use AWT--but your stuff isn't going to look good outside the platform...

but anyways, C# and java are both have their merits and drawbacks--i guess determining which one is better depends how the language responds when you try to use it.
kiwibonga
Posts: 91/266
Still, Java is relatively slow and distant from Windows. With .NET applications, you don't need to write a batch file to run a program, you just double click it, that's already a plus. Both languages are similar enough, so if you don't plan on making your program universal you're better off not using Java...

And about that Windows 95 remark and the size of the download -- Look at Directx... If the user needs a .NET program bad enough he'll download everything he needs from windows update.

Java GUIs freak me out... They just CAN'T have objects located at certain coordinates like in microsoft visual studio, they have to be part of a grid or whatever, and the graphical editors for them are the most awkward tools I've ever witnessed...
Dish
Posts: 48/596
Originally posted by Kegan Marius
Soon enough, .Net will be standard in every Windows installation


9 years later... many people are still running Win95

Don't count on everyone having the most current OS available. Most people will need to download new runtimes if your app requires them. Even if they come standard in new OSes.
Kegan Marius
Posts: 18/18
Um... current compilers might produce .Net or Mono code, but that doesn't mean the LANGUAGE requires it. Soon enough, .Net will be standard in every Windows installation, so it's not that big of a deal. C# has several features over Java that are really useful, like properties and generics (think C++ templates), though the latter won't be available until C# 2.0 later this year.

If you're only going to use Windows (though I think Linux has a Mono implementation too), then C# is an excellent tool. It's fast enough and quick to learn and use, especially if you use a Forms development tool like Borland's C#Builder or SharpDevelop.
MathOnNapkins
Posts: 129/2189
I was under the impression that apps created in C# didn't require a runtime (.NET) but I'm guessing I'm wrong. Well I guess that makes sense given that the menus and stuff it creates look kind of funny (VBish in fact, maybe that's where the runtime was based off of.) Hell all I want is an executable, but Java is kind of a pain sometimes, and I don't think the graphical presentation I want to do will be easy in Java.

Maybe I'll just go about getting Delphi...or use VC++ 6.0. (I have all but Delphi)
neotransotaku
Posts: 503/4016
one reason to avoid C#, because it is a 23MB download if people don't have the .NET Runtimes (compared to only 8MB for Java Runtime)

other than that, C# is nothing more than a cross between C and Java. There are GUI developers for Java, I believe Eclipse is one (but I'm not sure about that). However, for me, I program GUI by hand. If you do not know your way around Swing yet, then of course it is a pain to program a GUI for Java. However, once you get used to knowing how to use Swing, then you can whip up working stuff pretty quickly. It look me only 90 minutes to get something decent going.

MathOnNapkins
Posts: 127/2189
I am currently considering developing a gui based hacking tool for snes games and most of my past experience has been with java. But recently I played around with MS Visual C# and I found that the gui could be developed quite rapidly and I think what I want to do will actually be easier.

That said, are there any significant reasons I should avoid C#? Many articles online detail the problems with .NET but none of them seem to pertain in particular to what I want to do. I just want to develop my app as quickly as possible. So... anything I should know before I jump in?
Acmlm's Board - I2 Archive - Programming - Java vs. C#


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.007 seconds.