Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 29th, 2004, 02:16 AM
fredtheman fredtheman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 61 fredtheman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 54 m 15 sec
Reputation Power: 5
Linker for VB?

Hi,

I just read an article written by someone complaining about the lack of a linker for .Net development, and that got me wondering if such a thing was ever developed in order to shrink the run-time and compile statically only the stuff that a given VB program actually uses, rendering distribution of an EXE even easier by not requiring the runtime to be installed.

Thx
Fred.

Reply With Quote
  #2  
Old January 29th, 2004, 10:18 AM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,193 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 13 h 55 m 17 sec
Reputation Power: 142
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
I very seriously doubt that MS would take that route. That's the entire point of .NET - the framework. It allows you to combine segments of code from virtually any language. I don't see that distribution would be all that difficult, though, when MS allows you to redistribute the framework with your install.

Reply With Quote
  #3  
Old January 30th, 2004, 04:24 AM
fredtheman fredtheman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 61 fredtheman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 54 m 15 sec
Reputation Power: 5
Fisherman >> I don't see that distribution would be all that difficult, though, when MS allows you to redistribute the framework with your install

Joel was actually talking about two things:

- until the .Net framework is available on the great majority of PC's, it'd be cool to be able to static-link his app with just the API's it actually uses instead of redistributing the whole framework

- currently, .Net is still under development, and early adopters are experience issues with incompatibilities. So, the argument that the framework ships with XP doesn't hold, as even those user may already need to update the framework (1.0 -> 1.1, and I assume a 1.2 beta is under development)

So... nobody heard of a linker for VB5 or VB6, making it possible to statically link only those API's that my app actually used, instead of shippping the whole VB runtime?

Thx
Fred.

Reply With Quote
  #4  
Old January 30th, 2004, 10:12 AM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,193 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 13 h 55 m 17 sec
Reputation Power: 142
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
nope- never heard of it. I think Joel might want to reexamine his argument, however, since the framework is an attempt to further class-orient VB and remove API calls, though, they haven't completed that work yet... so yes, it is still a work in progress. Theoretically, you could run a .NET application on any platform (Linux, UNIX, Mac), so long as the framework is installed. This is not likely to happen, since most Linux and UNIX adminstrators don't want MS products, but oh well. The reason you can't distribute VB apps without either the runtime or framework, however, is that VB compiles programs as an intermediate language - in fact, in .NET, all languages compile to "Microsoft Intermediate Language" (MSIL), which is how you get the Common Language Runtime - so that C++, COBOL, C#, VB, JScript, and PERL code all runs on the same platform, against the framework, and with the same level of performance. In VB6, the Ruby engine was included with the runtime to compile the intermediate code to machine native at run. It's always been a complaint with "open" programmers that Microsoft does this, and until .NET, I would have agreed. But I think the benefits of being able to develop in so many languages with very, very close levels of efficiency in .NET far outweigh the costs of distributing the framework.

Last edited by Fisherman : January 30th, 2004 at 10:26 AM.

Reply With Quote
  #5  
Old January 31st, 2004, 10:52 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
I'm agreed with Fisherman...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Linker for VB?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT