Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

vb vs c


ghost's Avatar
0 0

Me and an online friend were having a debate on which language is better for trojans, I prefer c and he like vb, which language do you guys prefer?


yours31f's Avatar
Retired
10 0

C++ all teh way.


ghost's Avatar
0 0

yours31f wrote: C++ all teh way.

I agree, I don't know why I put c :angry:


yours31f's Avatar
Retired
10 0

yeah i could program c++ all day c gets boring.


ghost's Avatar
0 0

I agree C++ yo. VB is too obvious and is too easy to understand if you're the victim.


AldarHawk's Avatar
The Manager
0 0

If you look at it from both sides here is how it would go.

VB is simpler to get a quick Trojan coded up. You can make it invisible just as if you coded it in C/C++ so I do not see where you guys are stating it is easier to find because and executable is an executable.

C/C++ is a lower level programming language. This makes it more robust in its use. You can make it do a lot more than VB can because VB is a top level Programing language. but again with C/C++ you need more coding knowledge than with VB.

These are, of course, my opinions on the matter but both are good. That being said C/C++ is more powerful.


richohealey's Avatar
Python Ninja
0 0

pffft.

VB is fucked. offhand i can only think of one person i respect who codes mainly in VB (and she a] is learning python b] makes vb do things it doesn't know it can)

C ftw

[edit: altered syntax to make reading easier]


ghost's Avatar
0 0

well, there you go. You heard it from Richo himself. & xD Aldarhawk


AldarHawk's Avatar
The Manager
0 0

COD3 wrote: well, there you go. You heard it from Richo himself. & xD Aldarhawk

COD3, you class me with Richo now? NICE!


ghost's Avatar
0 0

I made more trojans in VB than in C.. I do not know what people mean when they say you can do a lot more in C/C++ than in VB.. unless you bring in language specific paradigms.. but then it could be said that you can do a lot more in VB by considering VB specific paradigms.

shrug

in terms of functionality you can pretty much do most things in VB that you can do in C.

VB has the added bonus of Rapid Application Development. ^_^

To be fair though people didn't define what criteria they used when determining their preference. If it's only based widespread zealous opinion and not on experience then I don't think they should be judging it.

In one scenario one language could be considered "best" but in another - different - scenario a different language could be considered "best"

You also have to consider the outcome.. if I am a newbie coder attempting to write a trojan I would probably have more difficulty writing it in C.. and may end up being discouraged and stop coding it.. where as had I gone with VB I may have had something functional created sooner.. then I could focus on spreading mechanisms and other interesting parts which may further motivate me to do more.

What one person prefers is not what the next person needs. Also you should be careful of whose opinion you trust. Many people give opinions based on bias.. not experience. I think most people who replied here have not used either language enough to give a solid opinion.


AldarHawk's Avatar
The Manager
0 0

You proved my points exactly mate :)


richohealey's Avatar
Python Ninja
0 0

Chinchilla3k wrote:

in terms of functionality you can pretty much do most things in VB that you can do in C.

VB has the added bonus of Rapid Application Development. ^_^

So, what operating systems are built in C?


ghost's Avatar
0 0

richohealey wrote: [quote]Chinchilla3k wrote:

in terms of functionality you can pretty much do most things in VB that you can do in C.

VB has the added bonus of Rapid Application Development. ^_^

So, what operating systems are built in C?[/quote]

I'm sure a lot of languages go into making different operating systems. It would really depend on what you consider part of the operating system. I think what you are trying to get at is many of the most popular open source operating systems were predominantly coded in C. However, I do not understand why you point that out unless you believe that it's justification that no other language can do the tasks that C was used to do in those operating systems.

C has a larger advantage in Operating System development as there is a finer mapping between C and processor opcodes. Visual Basic will also have overhead in that you need many of it's dependencies.. and in a lot of cases you would have to modify the functionality of it's dependencies since they are so closely tied to the windows operating system. This is the trade-off you get when you have a general low level language and a specific high-level language.

Visual basic can import and use functions from libraries. That alone makes it as functional as any other language. Even in your operating system case.. it's not like the C standard defines ways the language specifically calls interrupt handlers. That would still probably be done in ASM. Likewise, you can define functions in ASM within a library to make those same calls and have VB call them. The only problem is that VB will have more overhead before it could be put to use. In a lot of cases the same overheads apply to both C and VB.

Different languages have different means towards the same end.. many people choose a language depending on how easily you can reach that end. C is more general so it has more flexibility and more advantage - but that's the trade-off you make when you choose a higher level language.

Even if you were right on this argument.. I still don't understand how it applies to this situation. The topic is specifically about trojan. You may have just wanted to point out how a statement I made is incorrect in general. However, I was addressing a topic that was operating system specific o_O. You using that argument as support in this topic is like saying "Tylenol helps with a wider range of body illnesses.. so let's give this cancer patient tylenol as opposed to chemotherapy" (note that I pointed out IF you were right)

I also pointed out that you can do most things in VB that you can do in C. That was mainly to cover my ass in case people began flaming about the out-of-the-box generality C provides over VB and other functionality C makes EASIER to use.

You should be ashamed of yourself for providing such a definitive stance on something you know nothing about.. especially since a lot of members on this website probably look up to you as a valid source of information. The very least you can do is state your preference for C but that you do not have enough experience in either language to make a solid argument for which is better. It says a lot about this community if you're considered one of the more knowledgeable individuals here. I still consider myself a rookie.

If I misinterpreted anything then please clarify. If I was vague on something I said please point it out.


ghost's Avatar
0 0

richohealey wrote: [quote]Chinchilla3k wrote:

in terms of functionality you can pretty much do most things in VB that you can do in C.

VB has the added bonus of Rapid Application Development. ^_^

So, what operating systems are built in C?[/quote]

What operating systems are built in Visual Basic? o_O


ghost's Avatar
0 0

Chinchilla3k wrote: [quote]richohealey wrote: [quote]Chinchilla3k wrote:

in terms of functionality you can pretty much do most things in VB that you can do in C.

VB has the added bonus of Rapid Application Development. ^_^

So, what operating systems are built in C?[/quote]

I'm sure a lot of languages go into making different operating systems. It would really depend on what you consider part of the operating system. I think what you are trying to get at is many of the most popular open source operating systems were predominantly coded in C. However, I do not understand why you point that out unless you believe that it's justification that no other language can do the tasks that C was used to do in those operating systems.

C has a larger advantage in Operating System development as there is a finer mapping between C and processor opcodes. Visual Basic will also have overhead in that you need many of it's dependencies.. and in a lot of cases you would have to modify the functionality of it's dependencies since they are so closely tied to the windows operating system. This is the trade-off you get when you have a general low level language and a specific high-level language.

Visual basic can import and use functions from libraries. That alone makes it as functional as any other language. Even in your operating system case.. it's not like the C standard defines ways the language specifically calls interrupt handlers. That would still probably be done in ASM. Likewise, you can define functions in ASM within a library to make those same calls and have VB call them. The only problem is that VB will have more overhead before it could be put to use. In a lot of cases the same overheads apply to both C and VB.

Different languages have different means towards the same end.. many people choose a language depending on how easily you can reach that end. C is more general so it has more flexibility and more advantage - but that's the trade-off you make when you choose a higher level language.

Even if you were right on this argument.. I still don't understand how it applies to this situation. The topic is specifically about trojan. You may have just wanted to point out how a statement I made is incorrect in general. However, I was addressing a topic that was operating system specific o_O. You using that argument as support in this topic is like saying "Tylenol helps with a wider range of body illnesses.. so let's give this cancer patient tylenol as opposed to chemotherapy" (note that I pointed out IF you were right)

I also pointed out that you can do most things in VB that you can do in C. That was mainly to cover my ass in case people began flaming about the out-of-the-box generality C provides over VB and other functionality C makes EASIER to use.

You should be ashamed of yourself for providing such a definitive stance on something you know nothing about.. especially since a lot of members on this website probably look up to you as a valid source of information. The very least you can do is state your preference for C but that you do not have enough experience in either language to make a solid argument for which is better. It says a lot about this community if you're considered one of the more knowledgeable individuals here. I still consider myself a rookie.

If I misinterpreted anything then please clarify. If I was vague on something I said please point it out.[/quote]

damn….