this post was submitted on 20 Nov 2024
21 points (100.0% liked)

Linux

48287 readers
632 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I started to learn how to use FLTK in Rust this year, so its fair to assume this update is specifically made for me; its so obvious. FLTK is basically a suckless toolkit for GUIs, with the goal of being small, light and standalone without being complicated. It is very small and can be compiled into the app without runtime requirements. It has most common functionality you would expect from a toolkit and should work cross platform.

Happy to see this update! Need to experiment and learn more about it soon for my first FLTK app.

you are viewing a single comment's thread
view the rest of the comments
[–] thingsiplay@beehaw.org 2 points 1 day ago (1 children)

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

[–] flashgnash@lemm.ee 2 points 1 day ago (1 children)

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

[–] thingsiplay@beehaw.org 2 points 1 day ago (1 children)

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?

[–] flashgnash@lemm.ee 2 points 1 day ago

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?)