Re: What programming language is the most widely used to make viruses?



On 15 May 2005 19:33:28 -0700, gremlin_dude@xxxxxxxxxxx wrote:

[snip]
>I find java a useless
>language in terms of its usefulness and creation of worthwhile
>programs, whereas something like C++ or VB is good for windows
>application creation.

Java has its uses. Writing platform-independant code is impossible in
C, and crossplatform source is difficult in any language. I wouldn't
recommend using Java for large projects or mission-/speed-critical
software, but at the very least it's a good prototyping language. The
large standard library encourages the programmer to think in terms of
algorithms rather than counting CPU cycles.

And if you can get a Java implementation of an algorithm to run fast
enough, then you can convert it to C and tune it even more.

I've coded for Windows in C++. It was not an enjoyable experience. It
was even worse before I learned to use the API instead of MFC.

If you're coding with a single platform in mind, the final app should
probably be produced in C++ or VB (or any .NET language if you're
targeting 2K/XP). If you're aiming for many platforms without minimal
rewriting, Java is your friend.

As an example of what Java can do, my CompSci group project this year
was an Internet racing game. Our original spec required it to run on
any system. In Java, it took only a few weeks (maybe 80 man-hours,
since this wasn't our only assignment) to get the framework of the
renderer working. In C++, the boilerplate code alone would've taken a
week if it weren't for my already-extensive library of Windows source,
and we'd've had to write, test and debug the program for every CPU and
OS it had to run on.
I'd say Java is a very useful langauge, for certain things. As with
all languages it has its strengths and its weaknesses. Choosing the
correct tool for the job is an important part of app design.


Alex Davidson

----------------------------------------------------------------------

'You are in the presence of a System Administrator. KNEEL.' --Unknown
.



Relevant Pages

  • Re: C# is a proprietary programming language ??
    ... Java tried this too, of course. ... for calling the Windows API, SUN sued, and won. ... Java is the language where you can write code on one operating system ... Of course, if you write code in C# on Windows, you can't run it on UNIX. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Comparing Lisp conditions to Java Exceptions
    ... All the ISO standards in the world will not make the world ... Nothing keeps you from annotating your program with exceptions based on what ... language should adhere to your theory. ... Curiously, although you don't say it, Java has the opposite problem. ...
    (comp.lang.lisp)
  • Re: MFC updates and enhancements
    ... We're not talking about some fringe niche tool here, ... applications to run on Windows. ... I may not like the language but it is far from being a nice tool. ... To a large part the relative simplicity of the Java language is ...
    (microsoft.public.vc.mfc)
  • Re: casts
    ... This is why most shit programmers refuse to learn languages including ... C Sharp and Java. ... compiler in a later edition of Visual Basic, ... language for processing data. ...
    (comp.lang.c)
  • Re: C, really portable?
    ... > Wait, is Java a modern language superior to C, or is it still ... It is a much better OO language than C++, ... It depends what you are doing, Java aims for rigorous portability - the same ... regardless of platform. ...
    (comp.lang.c)