22
this post was submitted on 20 Nov 2024
22 points (100.0% liked)
Linux
48323 readers
919 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What reason is there to use something like this over gtk or qt? I guess it's easier to work with?
FLTK compared to GTK and QT is lightweight, less complicated to learn and program in and is statically linked, meaning no runtime dependency required, while still being very small in binary size. As an example the FLUID program to create a GUI itself contains every widget and the binary is only half a megabyte. More about FLTK here: https://www.fltk.org/doc-1.3/intro.html
Ah that's kinda neat. Doesn't statically linked mean it won't work on some systems though? Pretty sure static linked binaries don't work on nixos
Why would they not? Statically linked means the application does not depend on libraries installed on the system. If anything, it means it works better, at least to my knowledge. I did a quick web search and couldn't find anything that says statically linked binaries would not work on NixOS. Never heard of this before too. Any specific details or a link I can research into?
You're right they do, I'm not sure where I got the idea that you couldn't run em but I'm sure I've got some error message about static linking before when trying to run a binary
Might've been whatever the opposite is (dynamically linked?)