/r/lowlevel

Photograph via snooOG

Low level programming and hacking subreddit for Linux and Windows.

  • Kernel Exploits
  • Low level programming techniques
  • Interesting articles
  • Help
  • /r/lowlevel

    12,712 Subscribers

    0

    how do i gain karma if all my posts get removed?

    i dont understand reddit

    5 Comments
    2024/12/02
    20:36 UTC

    8

    FBGL: A Lightweight Framebuffer Graphics Library for Linux

    I'm excited to share a project I've been working on: FBGL (Framebuffer Graphics Library), a lightweight, header-only graphics library for direct framebuffer manipulation in Linux.

    🚀 What is FBGL?

    FBGL is a simple, single-header C library that allows you to draw directly to the Linux framebuffer with minimal dependencies. Whether you're into embedded graphics, game development, or just want low-level graphics rendering, this library might be for you!

    ✨ Key Features:

    • Header-only design: Just include and go!
    • No external dependencies (except standard Linux libraries)
    • Simple API for:
      • Pixel drawing
      • Shape rendering (lines, rectangles, circles)
      • Texture loading (TGA support)
      • Font rendering (PSF1 format)
    • FPS calculation

    github: https://github.com/lvntky/fbgl

    https://reddit.com/link/1h10mrq/video/nw1cd9e9ze3e1/player

    0 Comments
    2024/11/27
    09:37 UTC

    8

    Resources for low level programming and IC design

    I posed this on another subreddit but I thought I might have better luck here.

    Hello!! I am a second year student studying I Japan for computer engineering and the stuff we do in school is all software engineering based but I’m all honesty I’ve never found that stuff particularly fun tbh. I started computer things because I love low level programming but more specifically IC design. On the past a made a simple 16 bit CPU and assembly to run real time on my computer all by myself aswell as a crappy raspberry PI operating system but I wanna learn more about more advance subjects things like parallelism, SIMD, shared memory, FPUs, in addition to stuff like computer cluster operating systems. My issue is I’m having trouble finding information to learn about this stuff because it’s legit sooo fricken cool and I wanna make some dumb stuff like perhaps designing my own Vector logic unit from logic gates or make my own mini supercomputer operating system and data manager from raspberry pis. Any help would be so amazing thank you for your time!!

    Also if anyone also likes this stuff and wants to be friends dm me I’d love to meet people o can geek out with!!

    11 Comments
    2024/11/02
    16:07 UTC

    0

    Any1 heard of Sphaerophoria

    Has any1 come across a youtuber by the name Sphaerophoria?? Recently came across his channel and he's beyond insane. I know this will sound crazy but how can I be like him, in terms of the amount of the amount of information he knows.

    1 Comment
    2024/11/02
    03:39 UTC

    13

    low-level programming community

    Hello everyone! I’m working on something related to low-level programming and systems programming. I’d like to find a community or a person who shares a passion for this area so I can follow and explore more. Can anyone recommend a group or community like that?

    4 Comments
    2024/08/24
    15:17 UTC

    7

    Getting into systems Programming

    I am a third year university student and want to make my career in low-level and systems programming ...can someone from the industry share a roadmap to follow ??

    0 Comments
    2024/08/14
    04:26 UTC

    1

    How to build a BGP speaker implementation from the scratch?

    I've recently got to know how BGP speakers work and I want to make my own implementation in Rust.

    How do I start? What things should I implement? How to split this big task to little subtasks?

    I'm a little stuck & would absolutely appreciate any help >__<

    2 Comments
    2024/07/27
    21:21 UTC

    8

    Why does setting CPU affinity increase cache misses for my single-threaded workload?

    I've been running some performance tests on a single-threaded workload using stress-ng and monitoring the results with perf stat. I noticed that binding the process to a specific CPU core using taskset results in significantly more cache misses compared to running it without setting CPU affinity. Example:

    Without affinity:

    • Migrations: 1
    • Context-switches: 1
    • Cache Misses: 10,010
    • Cache Miss Rate: 31.376%
    • Cycles: 1,796,855
    • Instructions: 2,385,959

    With taskset -c 20:

    • Migrations: 0
    • Contex-switches: 1
    • Cache Misses: 13,029
    • Cache Miss Rate: 65.840%
    • Cycles: 2,495,645
    • Instructions: 2,539,112

    Run script example:

    taskset -c 20 stress-ng --cpu 1 --cpu-load 100 --timeout 12s &
    PROCESS_PID=$!
    sudo perf stat -e migrations,context-switches,cache-misses,cycles,instructions,cache-references -p $PROCESS_PID

    The core 20 is aribrary (I checked others), free, not isolated.

    Any ideas why I get more cache misses when isolate workload? I'd expect rather less cache misses.

    OS: Ubuntu 20.04

    CPU: Intel Core i9-10980XE, no NUMA.

    Thanks!

    5 Comments
    2024/07/09
    11:51 UTC

    3

    Should I switch to emdedded programming?

    Hello,

    I graduated with a bachelor's and master's degree in computer science. I have been working as a professional backend developer for about 2 years. I work with Java and Spring boot at work. But what I have wanted to do since my childhood is to work with languages ​​such as C/C++/Assembly. Do you think I should or can I work as an embedded developer? I am 25 years old and I already have advanced knowledge of C and C++. Am I too late for such a domain change or is it right to switch to embedded development just to work in C? Thank you very much in advance for your answers.

    6 Comments
    2024/07/07
    13:48 UTC

    2

    Looking for DS-01 Compression Documentation

    Posting here to see if anyone knows of any documentation for the DS-01 compression algorithm. This is a legacy compression algorithm for DMSDOS compressed FAT filesystems.

    I have the emails from one "pali" who wrote the only DS-01 decompression implementation I can find.

    4 Comments
    2024/06/22
    08:40 UTC

    7

    Where can i find friends who likes low level programming?

    I really got no idea. Can you guys give me some discord servers, groups, etc.

    Or dm me if you want to :D

    4 Comments
    2024/06/01
    22:17 UTC

    8

    Reviewing a Filesystem I wrote with a friend to teach him the way

    1 Comment
    2024/05/25
    12:25 UTC

    1

    Research paper on reverse engineering.

    So the IEEE club of my university offered me to do do a research and lead a research team on any subject. The common topic for research would be AI and ML but i have decent knowledge of reverse engineering and low level stuff so i wanted to work on this subject rather than AI and ML.

    So i am looking for suggestions on what unique thing I can explore and research in reverse engineering. I searched online and most of the stuff related to RE is related to malware analysis, I am also open for that idea but I first need to know my goal exactly so here I am asking for help from reddit gods. I have experience with exploring malicious stuff with volatility but again I want something unqiue with a good learning outcome so that the paper actually gets published.

    One idea that has been in my mind was on reverse engineering self modifying binaries, but just analysis binaries with a RE framework won't be enough so I wanted to extend this by adding some more things into it like if I have a binary that injects shellcode during runtime and then modifies that shellcode etc etc. So pls suggestions are welcomed.

    6 Comments
    2024/04/24
    12:57 UTC

    5

    The Apple M-Series GoFetch Attack

    3 Comments
    2024/03/27
    13:30 UTC

    2

    About how many times have you encountered "EXC_BAD_ACCESS" when developing a program?

    4 Comments
    2024/03/01
    07:09 UTC

    0

    Determine DLLs needed by EXE complete tutorial

    2 Comments
    2024/02/09
    16:54 UTC

    Back To Top