To be chewed in detail how to create lib/dll libraries or all the pros and cons of using them, etc. Well, examples in C++ . I tried to find some kind of book, but only ran into articles.

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer to the participants Oceinic , Regent , LEQADA , Peter Olson , xaja Oct 15 '15 at 9:37 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

    3 answers 3

    but only ran into articles

    of course only on the article. You would also look for the book "The syntax of the if statement in five volumes." What do you think should be in the whole book devoted to such a narrow topic, worthy of the strength of one chapter?

    Just in case, I summarize: there are probably no such books, and if there is, then surely this is an utter game, the author of which actively used the method of "copy-paste" and Mayakovsky when writing his opus to increase the number of pages in it. To understand the essence of your problem and its solution is quite enough a number of articles, which in great variety can be found on the Internet

    • Assumed such an answer :). While [this] [1] was enough [1]: wm-help.net/books-online/book/59464/59464-12.html#h19 - Robert Pinkman
    • [offtopic] And what is the "Mayakovsky trick"? Google issued 1 link to the story about the ring for Lilichka. - atwice
    • As such, "the trick of Mayakovsky" history does not know. This is how I put it. The fact is that the proletarian poet was very fond of writing poems by the "ladder." A vivid example:> My verse> with labor> will break through a bunch of years> and come> weightily,> roughly,> visibly,> as it is today> the water supply system entered,> worked out> still slaves of Rome. And since the Soviet journals were paid for each line to the poets at that time, it turned out that Mayakovsky received more money for the same amount, for which he was accused by some poets of fraud. However, it was really ale , I don't know - DreamChild
    • one
      Come on, Mayakovsky began to write like that before the revolution. - skegg
    • 2
      I do not claim that he wrote so only for reasons of knocking out more money. Otherwise, he would be a petty crook, not a Soviet classic - DreamChild

    Well, not a book, of course, but fifty pages called

    "How To Write Shared Libraries"

    True, for * nix.

    -

    In general, it would be interesting to read something like "The Art of Developing Libraries". Naturally, I do not mean the keys ld, ar, etc., but rather the stories of the developers of popular libraries about why they implemented this particular set of functions.

      There is a great book on designing .NET libraries, called the Framework Design Guidelines . Examples in C #, and the culture there, too. NET th transmitted. But, on the other hand, the development of user-friendly libraries is a task that depends little on the language. Therefore, there you will find a lot of useful things.

      For example, it repeatedly mentions the importance of library usability. A good library allows you to do simple things — simple, and complex things possible. This is something that many libraries, by the way, lack.

      There, the standards and coding idioms, which differ from language to language, are quite densely traversed, but the general idea in this book will be possible to adopt.

      • “For example, they repeatedly talk about the importance of ease of use by the library.” Many recommenders to parse ML retexpami disagree with you, moreover, they actively resist this approach. Try to convince them that they are idiots, and you will not have enough material for one book. According to psychology. - user6550
      • I did not quite understand it, since the cause-and-effect relationship is not detected :) Many .NET libraries are convenient enough to use, but not all. And I do not speak for Microsoft Patterns and Practices, which are wretched a little more than completely, I speak for a specific book, which is very good and fits the requirements of the topic starter (except that it is for C # /. NET, and not for C ++). - Sergey Teplyakov