<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: konni332</title>
    <description>The latest articles on DEV Community by konni332 (@konni332).</description>
    <link>https://dev.to/konni332</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3266696%2F744657f8-7796-4cdb-98e5-20c92d38d8f5.png</url>
      <title>DEV Community: konni332</title>
      <link>https://dev.to/konni332</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/konni332"/>
    <language>en</language>
    <item>
      <title>A full circle moment</title>
      <dc:creator>konni332</dc:creator>
      <pubDate>Sun, 29 Jun 2025 00:39:57 +0000</pubDate>
      <link>https://dev.to/konni332/a-full-circle-moment-487b</link>
      <guid>https://dev.to/konni332/a-full-circle-moment-487b</guid>
      <description>&lt;p&gt;Just had one of those moments, that showed me, why I started programming in the first place.&lt;/p&gt;

&lt;p&gt;A few months ago I wrote a CLI tool in C, to benchmark binaries and python scripts measuring mean, median, stddev, …, for Real-time, CPU-times and max RSS.&lt;/p&gt;

&lt;p&gt;Then I spent a few weeks writing a build tool for C programs, using Rust, supporting gcc and clang. &lt;/p&gt;

&lt;p&gt;Now, for the first time, I used my build tool, to build the benchmarking tool and then used the benchmarking tool, to measure my build tools performance.&lt;/p&gt;

&lt;p&gt;It felt weirdly powerful, like I had started to build my own little ecosystem.&lt;br&gt;
That „I built all of this myself“ Moment was just pure joy. That kind of thing, that makes all the late nights worth it!&lt;/p&gt;

&lt;p&gt;I’m curious, has anyone else had similar moments, where your tools started building or testing each other? Would love to hear them! &lt;/p&gt;

</description>
      <category>cli</category>
      <category>c</category>
      <category>programming</category>
      <category>rust</category>
    </item>
    <item>
      <title>Rusty Forge</title>
      <dc:creator>konni332</dc:creator>
      <pubDate>Sun, 15 Jun 2025 22:10:39 +0000</pubDate>
      <link>https://dev.to/konni332/rusty-forge-k9a</link>
      <guid>https://dev.to/konni332/rusty-forge-k9a</guid>
      <description>&lt;p&gt;As a student-developer primarily working in C, I was genuinely delighted when I started learning Rust and discovered Cargo. Coming from a background of Makefiles and CMakeLists, Cargo felt refreshingly simple and intuitive.&lt;br&gt;
My very first thought was:&lt;br&gt;
“Why don’t we have this for C?”&lt;br&gt;
I built RustyForge - a minimal, fast, and cross-platform build system for C projects. It brings modern features, like TOML-based configuration, so you can get started with zero boilerplate, using &lt;code&gt;rustyforge init&lt;/code&gt; and &lt;code&gt;rustyforge discover&lt;/code&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why RustyForge?
&lt;/h2&gt;

&lt;p&gt;Most C projects use Make, CMake or other build systems that lack flexibility and ease of use.&lt;br&gt;
RustyForge on the other hand uses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy TOML-Configuration&lt;/li&gt;
&lt;li&gt;Hash-based caching, for fast builds&lt;/li&gt;
&lt;li&gt;Parallel compilation for full CPU utilization&lt;/li&gt;
&lt;li&gt;Cross platform support - Windows and linux (macOS support is planned)&lt;/li&gt;
&lt;li&gt;Modern toolchain support, with gcc and clang (MSCV support planned)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Core-Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Parsing the RustyForge.toml for configurations&lt;/li&gt;
&lt;li&gt;Checking hashes for .c files and header dependencies&lt;/li&gt;
&lt;li&gt;Compiling .c files to .o files, with correct include paths&lt;/li&gt;
&lt;li&gt;Parallel compilation for optimal performance&lt;/li&gt;
&lt;li&gt;Linking object files to binaries and libraries (shared and static)&lt;/li&gt;
&lt;li&gt;Linking shared and static libraries into your binary&lt;/li&gt;
&lt;li&gt;Compiler configuration (gcc/clang)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to use RustyForge
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo &lt;span class="nb"&gt;install &lt;/span&gt;rustyforge
rustyforge init
rustyforge discover
rustyforge run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Discover
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;discover&lt;/code&gt; subcommand, scans the current working directory for &lt;code&gt;.c&lt;/code&gt; files and include directories. It then prompts you to add them to your &lt;code&gt;RustyForge.toml&lt;/code&gt; configuration.&lt;/p&gt;

&lt;p&gt;You can customize its behaviour with the following flags:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;--auto&lt;/code&gt;: Automatically add all discovered files without prompting&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--ignore&lt;/code&gt;: Exclude files or directories based on glob patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes setting up a project with existing files effortless - no need to manually list every source or include path.&lt;/p&gt;

&lt;h3&gt;
  
  
  Other example commands
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rustyforge build &lt;span class="nt"&gt;--verbose&lt;/span&gt;
rustyforge rebuild &lt;span class="nt"&gt;--compiler&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;clang
rustyforge clean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use &lt;code&gt;rustyforge --help&lt;/code&gt; or &lt;code&gt;-h&lt;/code&gt; for a more in depth usage.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;I'm planning more features like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Test-targets and automatic test execution&lt;/li&gt;
&lt;li&gt;Cross-compilation&lt;/li&gt;
&lt;li&gt;MSVC-support for Windows&lt;/li&gt;
&lt;li&gt;A CLion plugin for IDE integration&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Give it a try!
&lt;/h2&gt;

&lt;p&gt;If you work with C and are tired of managing Make files, give RustyForge a try!&lt;br&gt;
RustyForge is Open Source and available on crates.io. Have a look at the source code on: &lt;a href="https://github.com/konni332/rustyforge" rel="noopener noreferrer"&gt;github rustyforge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love your feedback, contributions, ideas, or bug reports!&lt;/p&gt;

&lt;p&gt;Thanks for taking a look!&lt;/p&gt;

</description>
      <category>c</category>
      <category>rust</category>
      <category>cli</category>
      <category>buildtool</category>
    </item>
  </channel>
</rss>
