PHIPS BLOG

  •  Home
  •  Get To Know Me
  •  Contact & Follow

Rust

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, 1 year 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, 2 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, 2 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, 2 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, 2 years2021-06-30 ago
Programming & DevOps

Rust: setTimeout and setInterval as in Javascript with “tokio” as Runtime

Even though I’m working with Rust for over 2.5 years now, I unfortunately never made a deep dive into the async/await/future-world. But I started using tokio a few days ago and a few questions came up. Tokio is a runtime for executing futures, great! For this, tokio needs some kind Read more…

By Philipp Schuster, 2 years2021-05-17 ago

Posts navigation

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
Cookie Notice
We use cookies on our website to store your preferences and to create anonymous statistics about the usage of this site. You can control the tracking by Matomo Analytics here.

Datenschutzerklärung (Privacy)

Accept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_pk_cvar12mUsed by Matomo for analysis of your visit on our website.
_pk_id12mUsed by Matomo for analysis of your visit on our website.
_pk_ref12mUsed by Matomo for analysis of your visit on our website.
_pk_ses12mUsed by Matomo for analysis of your visit on our website.
SAVE & ACCEPT