<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>C on Sylvia Mirecki</title>
    <link>http://elijah.mirecki.com/categories/c/</link>
    <description>Recent content in C on Sylvia Mirecki</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 25 Aug 2018 21:28:22 -0400</lastBuildDate>
    <atom:link href="http://elijah.mirecki.com/categories/c/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>EB Image Compression Algorithm</title>
      <link>http://elijah.mirecki.com/blog/eb-compression/</link>
      <pubDate>Sat, 25 Aug 2018 21:28:22 -0400</pubDate>
      <guid>http://elijah.mirecki.com/blog/eb-compression/</guid>
      <description>For a while, I&amp;rsquo;ve been interested in image compression algorithms. Specifically, lossless image compression algorithms. I thought of a really simple area-based lossless compression algorithm on Friday, so I wrote a small program to compress PPM files. The compressed format, Eli Bitmap (EB), stores rectangles of identical color as &amp;ldquo;regions&amp;rdquo; in the bitmap data. Any pixels that could not be reasonably compressed using into rectangles would be appended after the rectangle region definitions.</description>
    </item>
    <item>
      <title>Hello World, using only C syscalls</title>
      <link>http://elijah.mirecki.com/blog/hello-world-using-only-c-syscalls/</link>
      <pubDate>Mon, 29 Aug 2016 22:06:21 +0000</pubDate>
      <guid>http://elijah.mirecki.com/blog/hello-world-using-only-c-syscalls/</guid>
      <description>I&amp;rsquo;m currently working on implementing system calls in BlarbVM (see my previous post on it), so I am trying to get comfortable using only syscalls.&#xA;In Linux, you can change the heap size through brk (syscall #12). To write a string to standard output, you must provide a pointer to a location on the heap.&#xA;The following code:&#xA;Get&amp;rsquo;s the end of the heap address&#xA;Increments the end of the heap address by 6 bytes</description>
    </item>
  </channel>
</rss>
