|
-
Mar 27th, 2001, 05:00 PM
#1
Thread Starter
Hyperactive Member
Will I be able to write a VB.net application that will be able to run without the presence of the VB runtime files. For example, could I write a simple hello world program that could run from a CD without having to "install" anything? I have heard that it will but was wondering if that is true.
-
Mar 27th, 2001, 06:02 PM
#2
Frenzied Member
no
ALL languages use ONE runtime dll
you STILL need to have soemthing
almost every language requires runtimes
even java
so you still need that dll installed somewhere
(windows will suplly this with windows of course)
-
Mar 27th, 2001, 06:26 PM
#3
Hyperactive Member
Originally posted by kovan
no
ALL languages use ONE runtime dll
you STILL need to have soemthing
almost every language requires runtimes
even java
so you still need that dll installed somewhere
(windows will suplly this with windows of course)
C, C++, and Assembly don't need no runtimes. They make stand-alone apps that don't require runtimes at all. Using C, C++, and ASM, you can even create your own OS's!
Designer/Programmer of the Comtech Operating System(CTOS)
-
Mar 27th, 2001, 07:15 PM
#4
Frenzied Member
your right
but maybe i wasnt clear on my reply
i was refering to visual c++
(microsoft stuff)
-
Mar 27th, 2001, 07:19 PM
#5
Hyperactive Member
Visual C? YES, that's interpreted. I think that is only interpreted if you use COM or MFC. Otherwise, I don't think you need anything to run it.
Designer/Programmer of the Comtech Operating System(CTOS)
-
Mar 27th, 2001, 07:48 PM
#6
Thread Starter
Hyperactive Member
No one has answered the question yet? C, C++, Visual C++, even Pascal and Delphi (oo pascal) can all make programs that don't need any additional files to run. Just a single executable could feasably be written that would run on a purely DOS system, its so simple. VB currently can't do that. If it doesn't have its runtime files it worthless.
VB is that way currently because it is an interpreted language... meaning. VB is actually an application that was written in C++. The code you write in VB gets translated to C++ before it can do anything. Thats why some peole (i.e. C programmers) say VB isn't a real programming language. To them VB programmers are like people who claim Microsoft Access is a programming language because you can make forms and reports with it. Like VB and its runtime files however, those forms and reports can't run outside of an access application on their own.
I have been told that VB.net is no longer interpreted, it compiles right to machine language. So my question is... is this true?
-
Mar 29th, 2001, 05:55 PM
#7
Hyperactive Member
Nope. It is not true. Microsoft's .Net will be much like Java, it will be a JIT Language. This is why programs written in .Net will eventually (cross your fingers) be portable to a Mac or even Linix. All that would be necessary is the .Net runtime environment. (Just like Java). The difference between java and .Net will be that on a Windows Machine, the interpreter will be integrated into the OS, theoretically making these application faster then current windows applications. But only time will tell.
-
Mar 29th, 2001, 06:34 PM
#8
Thread Starter
Hyperactive Member
Ahhhh, I understand. So you could copy a VB application right to a system and it would run without any other files but thats not because it doesn't require the support files or libraries anymore, its just because what it does require (the JIT compiler) will already be present in the OS. Makes sense. Thanks reeset.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|