On Mon, Jan 25, 2016 at 8:54 AM, Jy V <[email protected]> wrote: > On Mon, Jan 25, 2016 at 4:59 AM, silvioprog <[email protected]> wrote: > >> >> Yes, it can be easily implemented in TP comps. ASA nghttp2 get a pascal >> header, BTW with a ng header in hands, you can use this one with any pascal >> code. :-) >> > > Instead of relying on external libraries such as nghttp2, > [...] >
Hm... I don't understand why many Pascal users hates external libraries, even when it's written in C, one of the best languages to create fast and stable libraries, with a lot of users around the world provinding support for that. :-/ Many units in Free Pascal and Delphi uses C libraries... when aren't using a C library (an API system call, an third party library call, etc.), are using assembly, ie, mostly time Pascal is used as a high-level language to consume some low-level code written in C or assembly. Just an example, the Embarcadero Delphi provides support for BJSON and MongoDB, so you can find libraries like `libbson-1.0.dll` and `libmongoc-1.0.dll` in the Delphi directory, and it was a very nice choice, because these libraries implements a lot of features and they are maintained for many programmers. I saw some Pascal libraries for MongoDB, but they seem have been abandoned by their maintainers before being concluded. I use Pascal for high-level logic and sometimes for low-level logic using pointers, but when I need a feature that Pascal hasn't implemented yet, I search a C library to solve it, so I don't see a problem in using external libraries. :-) -- Silvio Clécio
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
