PureBasic Librarian
PureBasic Librarian
We really need a PureBasic Librarian to organize code since Tailbite has been EOL.
Re: PureBasic Librarian
yes , it sound weir when you can't even code a user library with the same programing language , what point is this ? a strip down version of language ?
C could code user library in C ,
C++ could code user library in C++
Purebasic ?
C could code user library in C ,
C++ could code user library in C++
Purebasic ?
Re: PureBasic Librarian
AZJIO wrote: Wed Jan 10, 2024 4:08 am https://www.purebasic.fr/english/viewtopic.php?t=80656
http://forum.ru-board.com/topic.cgi?for ... start=20#6
he means this userlibrary that inside the folder userlibrary:

How do you code this userlibrary ? see the list of library in the folder
Re: PureBasic Librarian
In the past, we could use Tailbite for this.moricode wrote: Wed Jan 10, 2024 4:45 am ... How do you code this userlibrary ? see the list of library in the folder
Some "gurus" wrote them in ASM or C...
I would also like to have the possibility to create user libraries again... Simple and native... This is one of my dreams

Re: PureBasic Librarian
1. If the code is converted to asm or C, then what is the problem with writing it?
2. What is the difference between lib and pbi? What compiles faster?
2. What is the difference between lib and pbi? What compiles faster?
Re: PureBasic Librarian
This is different concept hereAZJIO wrote: Wed Jan 10, 2024 8:54 am 1. If the code is converted to asm or C, then what is the problem with writing it?
2. What is the difference between lib and pbi? What compiles faster?

the "userlibrary" here is the special things that only exist in purebasic

so we hard-core fans need it as a PB native features, it is not like something in C or pbi
it is a FAITH of purebasic
Re: PureBasic Librarian
It's not different at all, the userlibrary will be a compiled version of a .pbi meaning than if the user which shipped the lib disappear out of the blue, you're left with unsupported library and function which will break sooner or later. We went trough this at the PB starts where a lot of user libs where available, none of them still work with current version. So the real only difference is you can 'hide' your code, if you don't want someone else to copy it easily (if you plan to sell it for example).
Re: PureBasic Librarian
Yeah, user libraries honestly just got annoying. For example, I wanted to use PureSpeech for SAPI output, but it no longer works with PB >= 4.00. If it had been in .pbi form, I could've just modified it myself.
Re: PureBasic Librarian
i also dont see the reason to create closed source stuff and target ONLY PureBasic community, make it dll , and target everyone in every languange...
btw isnt MAke Lib FActory the "new talbite" ? -> https://www.purebasic.fr/english/viewtopic.php?t=69323&
btw isnt MAke Lib FActory the "new talbite" ? -> https://www.purebasic.fr/english/viewtopic.php?t=69323&
Christos
Re: PureBasic Librarian
I believe I read somewhere that one of the things Tailbite did was to split all the procedures in a file into individual sections. They are placed in a user library. So when you compile the code only the procedures that are used are included in the final exe.
The use of a Librarian should be to organize your code and produce smaller executables.
The use of a Librarian should be to organize your code and produce smaller executables.
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: PureBasic Librarian
What Tailbite does is basically compiling a static library instead of a shared dll. I once made a linux version of it, but it doesn't exist anymore. I think ABBKlaus made a new port of Tailbite for Linux.akee wrote: Wed Jan 10, 2024 4:51 pm I believe I read somewhere that one of the things Tailbite did was to split all the procedures in a file into individual sections. They are placed in a user library. So when you compile the code only the procedures that are used are included in the final exe.
The use of a Librarian should be to organize your code and produce smaller executables.
Last edited by DarkDragon on Wed Jan 10, 2024 5:42 pm, edited 1 time in total.
bye,
Daniel
Daniel
Re: PureBasic Librarian
Something that would actually be really cool is if PB could generate static libraries (e.g. .lib files) instead of a DLL, so we can make libraries that can be statically linked in any programming language without needing a DLL.
Re: PureBasic Librarian
You could try Pb2StaticLib... Maybe it fits your needs.
Et cetera is my worst enemy
Re: PureBasic Librarian
User Library only makes sense if you program your own functions and controls in 'C' and include the headers from the Purebasic SDK.
Thus the user libraries can also be recompiled with 'C' with a new version of the Purebasic SDK and pblibrarymaker.
I do not mean here the 'C' backend of Purebasic!
But I haven't tried it myself yet
Thus the user libraries can also be recompiled with 'C' with a new version of the Purebasic SDK and pblibrarymaker.
I do not mean here the 'C' backend of Purebasic!
But I haven't tried it myself yet
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive