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



On Tue, 17 May 2005 16:17:19 -0700, Scott Moore
<samiamsansspam@xxxxxxx> wrote:

>Scott Moore wrote:
[snip]
>
>Windows, but not Apple Mac or X Windows, tends to encourage object oriented
>development because it relies heavily on callbacks, which match objects
>with virtual methods better than procedural code.
>
>I wanted to program Windows using procedural code, so I created a library
>(called the IP portability layer) to do that.

Another nice library (at least for C/C++) is the Simple DirectMedia
Layer. IIRC, apps written upon it are portable across all major OSes
and several minor ones.

>It's not that I find object
>oriented difficult, I just don't appreciate the idea that all of the old
>code has to be thrown out everytime the programming community gets
>a woody for some new programming paradigm. New ways to do things, great.
>New ways to do things while also supporting the old, much better.

I agree.
Most of my C++ code looks like C with classes[0]. I've tried to select
the nicest tools from different paradigms and then implement them in
other languages if possible to fully understand how they work. Lazy
evaluation in Haskell is useful, but really awkward to code
dynamically in C (without jumping through a lot of hoops involving
almost-but-not-quite-self-modifying code) and totally impossible to do
sensibly in Java.

The best way to learn to program well, IMO, is to get to know a large
variety of languages and APIs and then pick the best bits of each.
Thing is, so many people think that their favourite language is
flawless[1] and should only be used in a certain way. It always helps
to remember that everything becomes machine code in the end...

[0] But no templates. I've never quite got the hang of templates.

[1] The Software Engineering part of my degree course seems to boil
down to:
* C++ == bad
* Perl == worse
* Assembly == useless
* Java/Haskell == best
Which inclined me, in my usual contrary fashion, to start the Megaplex
Project: aiming to unify all languages and techniques once and for all
in the most spectacularly nasty programming language ever conceived.



Alex Davidson

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

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



Relevant Pages

  • Re: Book suggestion - Visual C++ 2005
    ... maybe they cover the basics of the language and further I will have to buy another book specifically for Windows. ... programming in languages that are translated into native binary code for given platform. ... I reckon that most of them use some kind of C++ library/framework in everyday job instead of direct programing against Windows API. ...
    (microsoft.public.vc.language)
  • Re: To C or not to C?
    ... I can give you some pros and cons for several Microsoft languages (and no ... but it won't work with future Windows ... folders, copy or delete files, modify the device registry, launch apps, ... all I need to know is where to get good OBJECTIVE advice on choosing a programming language for the application I'm going to develop for WM devices. ...
    (microsoft.public.pocketpc.developer)
  • How to find entry level work?
    ... My name is Shaun Bedingfield and I have been programming nonprofessionally ... Knowledge of many programming languages including Java, C/C++, C#, VB.NET, ... Assembler under Windows ... Knowledge of state of the art Object Oriented Design principles and patterns ...
    (microsoft.public.dotnet.general)
  • Re: restart after long time
    ... messing around with windows or environments does have me intimidated. ... I enjoyed Pascal programming, disliked the detail of assembly level ... Would like something that compiles rather then ... There are a great number of languages available freely today for most ...
    (comp.programming)
  • Re: Good C++ programming book.
    ... programming references I have used are versious versions of "The C++ ... for MFC I have two preferences "Visual C++ 4 ... excellent cook-book even for MFC 7.1) and "Programming Windows with MFC" ... I found templates to be the hardest thing to learn ...
    (microsoft.public.vsnet.general)