Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Java vs. C# | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
MathOnNapkins Math n' Hacks Level: 67 Posts: 127/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
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? |
|||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 503/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
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 Math n' Hacks Level: 67 Posts: 129/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
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) |
|||
Kegan Marius Micro-Goomba Level: 8 Posts: 18/18 EXP: 1866 For next: 321 Since: 03-15-04 From: Chico, California, United States of America Since last post: 553 days Last activity: 339 days |
| ||
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. |
|||
Dish Spiny Level: 38 Posts: 48/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||
Originally posted by Kegan Marius 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. (edited by Disch on 04-27-04 10:10 PM) |
|||
kiwibonga Double metal axe Level: 27 Posts: 91/266 EXP: 106040 For next: 10119 Since: 03-15-04 From: Montreal, QC, Canada Since last post: 126 days Last activity: 3 days |
| ||
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... |
|||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 509/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
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. |
|||
Euclid Cheep-cheep Level: 23 Posts: 49/193 EXP: 65528 For next: 2195 Since: 03-15-04 From: Australia Since last post: 24 days Last activity: 7 days |
| ||
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. |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 506/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
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. | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 137/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
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. |
|||
dan Snap Dragon Level: 43 Posts: 60/782 EXP: 534516 For next: 30530 Since: 03-15-04 Since last post: 20 hours Last activity: 14 hours |
| ||
Originally posted by HyperHacker 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. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Java vs. C# | | | |