Using a library: Your preferred method

For everything that's not in any way related to PureBasic. General chat etc...

Best to worst, how would you like your library?

PureLib - dll - lib/obj (import)
1
8%
PureLib - lib/obj (import) - dll
5
42%
dll - lib/obj (import) - PureLib
4
33%
dll - PureLib - lib/obj (import)
1
8%
lib/obj (import) - dll - PureLib
1
8%
lib/obj (import) - PureLib - dll
0
No votes
 
Total votes: 12

Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Using a library: Your preferred method

Post by Dare2 »

People providing libraries for PureBasic can now do it in three main ways.

It may be useful for developers to know which order of preference would suit us best.

Please give your preferences. For example, if you prefer lib/obj via import overall, and dll least of all, pick 6. If you reckon a PureLib beats all else, and an imported lib/obj file sucks, pick 1.

Thanks!
@}--`--,-- A rose by any other name ..
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

A alternative is missing.

I prefer: include - dll - PureLib - lib/obj (import)
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Yes, include is best.

Sourceless, though?
@}--`--,-- A rose by any other name ..
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Inlcude file, always!

For some custom changes and/or sake of future releases!
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Yep. Given, undeniably, that sources are best - which non-source lib. ;)

I went import - dll - purelibrary because import and dll are less likely to break, methinks, with changes to PureBasic.

Import, like PureLib, can also build directly into your prog (with just the used functionality).

Whereas DLL will load all, and unless two or more apps are using that dll it has no advantage over lib.



So lib/obj import. Also because it is cool. :)
@}--`--,-- A rose by any other name ..
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Another option is missing, include - lib, so either of those two but never a DLL since ... well, why have bagage, and runtime files? :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

No dlls for me, so I can't answer the poll :D
Post Reply