News for hackers. Stuff that matters.
Re:Linux Applications Programming by Example: The Fundamenta... by NewsaHackO on Friday March 20, 2026 @08:58PM (#47462937)
Is there an actual book available?
Re:Linux Applications Programming by Example: The Fundamenta... by fuzzybear3965 on Friday March 20, 2026 @09:06PM (#47462980)
Re:Linux Applications Programming by Example: The Fundamenta... by NewsaHackO on Friday March 20, 2026 @09:23PM (#47463092)
Of course, I saw that, but if the text of the book is not freely available, then the examples wouldn't really be helpful, no?
Re:Linux Applications Programming by Example: The Fundamenta... by chii on Saturday March 21, 2026 @01:50AM (#47464343)
So buy the book? The expectation of free stuff is all too common.
Re:Linux Applications Programming by Example: The Fundamenta... by NewsaHackO on Saturday March 21, 2026 @02:07AM (#47464408)
Regardless, a link to a repo of disjointed examples is not very interesting or helpful.
Re:Linux Applications Programming by Example: The Fundamenta... by tad_tough_anne on Saturday March 21, 2026 @05:55AM (#47465646)
If you don't wanna pay, Library Genesis has the first edition (2004), but, if you didn't find the examples to be at least modestly interesting in themselves, is this even your bag? As a Linux sysadmin and occasional writer of lousy C programs, I often consult NetBSD's source tree for when I want good examples that aren't as complex as GNU's, so I expect to come back to these.

Judging by the publisher's sample,[1] the second edition (2025) looked like a worthwhile upgrade, so I ordered it. Much of the material is in the manpages, but this presents it with better explanations.

___

1. <https://ptgmedia.pearsoncmg.com/images/9780135325520/samplep...>

Re:Linux Applications Programming by Example: The Fundamenta... by remix2000 on Saturday March 21, 2026 @07:02AM (#47465945)
Or perhaps maybe rather free stuff is all too uncommon…
Re:Linux Applications Programming by Example: The Fundamenta... by andreygrehov on Saturday March 21, 2026 @09:43AM (#47466966)
Re:Linux Applications Programming by Example: The Fundamenta... by Joel_Mckay on Saturday March 21, 2026 @04:34AM (#47465193)
Linux is rarely a porting issue for C++ or python: https://wxwidgets.org/

Static linking libraries for MacOS or Windows is contaminated by GPL/LGPL code, and this is why wxwidgets excludes the disclosure requirement.

Also, if you are looking for a VueJS cross-platform GUI framework for most Desktop and Mobile platforms (modern MacOS hardware and developer account is a requirement):

https://github.com/quasarframework/quasar

Qt5/Qt6 frameworks sooner or later cause more problems than they solve, and require a lot more maintenance/support.

Best of luck =3

Re:Linux Applications Programming by Example: The Fundamenta... by wolfi1 on Saturday March 21, 2026 @08:37AM (#47466467)
"contaminated by GPL/LGPL code"? really? if you want to make profit off of your code buy for several thousands of dollars commercial libraries and you are in the clear. if you don't want to pay for libraries you have to accept their conditions
Re:Linux Applications Programming by Example: The Fundamenta... by Joel_Mckay on Saturday March 21, 2026 @12:54PM (#47468764)
I usually prefer releasing under Apache 2.0 license, as I can't predict what people will need 10 years from now.

People use LGPL libraries in commercial software all the time, as the shared objects (.so) do not contaminate the source application license. The instant someone static links LGPL/GPL lib into an application binary its source also must carry a compatible open license. Note this obligation differs from publishing patches back to the main lib branch.

It gets messy when people release libraries under multiple licenses. Porting games and applications from *nix systems can be non-trivial. Best regards =3