PHIPS BLOG

  •  Home
  •  Get To Know Me

Rust

Screenshot: PhipsBoot Output
Programming & DevOps

Introducing PhipsBoot – My x86 Relocatable Bootloader

Today, I’d like to introduce you to PhipsBoot. 🎉 I started working on it in September 2023 or so, but polished it just recently. A lot of knowledge from my previous blog post about x86 Kernel Development & Relocatable Binaries went into this project. PhipsBoot is a relocatable x86_64 bootloader Read more…

By Philipp Schuster, 1 year2024-01-30 ago
Screeshot: Live Audio Visualization of Waveform (original vs lowpass filter)
Programming & DevOps

Live Audio Visualization With Rust in a GUI Window

In early 2021 I had a closer look into several aspects of digital signal processing (DSP), including lowpass filters, frequency spectrum analysis, and audio visualization. I used Rust to experiment with this. The Rust ecosystem didn’t offer simple-to-use libraries for my use cases back then, or at least they were Read more…

By Philipp Schuster, 3 years ago
Screenshot of Sourcecode
Programming & DevOps

Direct Systemcalls to Linux from Rust Code (x86_64)

What I show in this blog post is nothing new or unique, but it is something I wish someone would have shown me in this simplicity in my second or third semester at university. In this post, I briefly explain how you can talk to Linux without the libc or Read more…

By Philipp Schuster, 4 years2021-09-11 ago
Programming & DevOps

Rust: Calling Functions With Different Calling Conventions From Same File

The other day I had some fun with assembly and wanted to try to call assembly functions from Rust. Each compiler follows a certain calling convention, that specifies how parameters are passed between functions. The calling convention is part of an ABI, an application binary interface. There are two major Read more…

By Philipp Schuster, 4 years2021-07-26 ago
Programming & DevOps

Include Assembly Source Files In Rust Project (and Build with Cargo)

Update: Since Rust 1.59, the macros global_asm! and asm! are finally stable! I also updated the blog post a little but it is mostly in the state from back then. In this blog post, I show how you can create assembly files next to Rust files and compile everything by Read more…

By Philipp Schuster, 4 years2021-07-25 ago
Programming & DevOps

Rust insight: memory layout of “&str”

Update: In the meantime, my knowledge of Rust got better. &str simply uses the layout of a fat pointer. Original article down below. TL;DR: At least on x86_64 a &str is two u64 (16 byte) long. The first u64 is a pointer and the second u64 is the length of Read more…

By Philipp Schuster, 4 years2021-06-30 ago

Posts pagination

1 2 Next

Because this blog is a few years old and used to be a more or less personal german blog, old posts are in german. Newer posts are in english.

  • Impressum
  • Datenschutzerklärung
Hestia | Developed by ThemeIsle