r/linux_programming • u/Yairlenga • 18d ago
The Hidden Cost of localtime(): repeated systems calls in glibc
r/linux_programming • u/Yairlenga • 18d ago
r/linux_programming • u/Clean-Upstairs-8481 • 28d ago
While working with high-level C++ applications, it is easy to lose sight of where the program is getting all its memory chunks from. In a previous post, Understanding C++ Memory Layout for Systems Programming, I discussed the memory map of a typical C++ program. Here, we will put the theory into practice and check where objects are stored within a running process’s virtual address space.
In this post, I will take a closer look at Linux memory management, scrutinize the various allocations that are happening in a C++ program, use Linux memory management tools, and verify whether the objects are located in the expected memory regions.
r/linux_programming • u/Clean-Upstairs-8481 • Sep 16 '26
Simple explanation of page allocator, buddy algorithm, slab allocator, free_area.
r/linux_programming • u/Clean-Upstairs-8481 • Sep 13 '26
Simplified discussion on Linux Physical memory.
r/linux_programming • u/Feldspar_of_sun • Sep 05 '26
r/linux_programming • u/I_save_in_jpeg • Aug 10 '26
r/linux_programming • u/edparadox • Aug 04 '26
r/linux_programming • u/AppJedi • Jul 23 '26
r/linux_programming • u/AppJedi • Jun 18 '26
I am trying to setup a Linux laptop that can act as a LAN that may or may not be connected to the internet. It is used as an API server for a PWA app that must work offline not connected to this LAN or the internet. iPad and iPhone require a cert to install for offline use so I need an ssl cert on my Linux Ubuntu LAN. Any suggestions?
r/linux_programming • u/AppJedi • Jun 08 '26
I am looking to setup a linux laptop server as a mobile server running PHP, Laravel, MariaDB, Node.JS. Any recommendations? I have heard Chromebooks can be used but I think I prefer an actual laptop.
r/linux_programming • u/AppJedi • Jun 08 '26
I am looking to setup a linux laptop server as a mobile server running PHP, Laravel, MariaDB, Node.JS. Any recommendations? I have heard Chromebooks can be used but I think I prefer an actual laptop.
r/linux_programming • u/yurtrimu • Jun 03 '26
I made a udp sockets wrapper that works with both UNIX and WIN32 and I think it turned out to be great. Im not an expert on UNIX headers and functions which are in the 'unix.c' file. So I would appreciate any feedback.
r/linux_programming • u/Middlewarian • May 16 '26
I'm building a C++ code generator that helps build distributed systems. It's implemented as a 3-tier system. The back and middle tiers only run on Linux. The front tier is portable. It's free to use. Each of the tiers use this library.
My comments in this thread provide some more context. Please let me know what you suggest to improve matters. I think "rustifying" the code would be a good idea. Stars on my repo are appreciated. Thanks in advance.
r/linux_programming • u/JustRoccat • Apr 27 '26
it has lua plugin support, it has playlists, and mpris and a 10 band eq, it also has nvim like controls, and it has themes
r/linux_programming • u/aioeu • Apr 27 '26
r/linux_programming • u/web_tas • Apr 17 '26
Hi, To solve the much-needed lack of native touchpad gestures (3 and 4-finger swipes) on X11 desktop environments, I developed a lightweight background daemon in pure C. You can bind any custom shell command instantly through a simple config.ini file (changes apply in real-time, no need to restart the daemon).
I would be really happy if you could check it out, give some feedback, or drop a star if you find it useful!
r/linux_programming • u/Jack1101111 • Apr 13 '26
Linus Slopvalds ?
r/linux_programming • u/yyebbcyi • Apr 01 '26
Please provide your feedback on correctness and design. Thank you.
r/linux_programming • u/Substantial-Pop470 • Mar 12 '26
r/linux_programming • u/space_monki_901 • Mar 05 '26
r/linux_programming • u/ngdangtu • Mar 02 '26
IME (Input Method Editor) in Linux is built on ibus framework if I recall correctly. However, my IME got few troubles with Wayland. So I plan to build one for my own and wondering if there are any alternative option that is more friendly to Wayland?
r/linux_programming • u/swe129 • Feb 24 '26
r/linux_programming • u/Intelligent_Comb_338 • Feb 19 '26