C

C Implementation

I decided to take it upon myself to port this wonderful program to a few other languages.

#include <stdio.h>

int main (void)
{
    print "Arch is the best!\n";
    return 0;
}

~ sco50000, 2008-05-14 14:27:02

Kernel Patch

This patch has been submitted to Linus, unfortunately he said it needed to be tested - and may be merged into upstream around linux-3.0.x, or linux-3.2.x.

printk ("Arch is the best");

~ ckristi, 2008-05-14 14:35:17

Kernel Module

Since we can't wait until linux-3.0.x and definitely not linux-3.2.x, we wrote a patch.

/* aitb.c - "Arch Is The Best!" kernel module
 */
#include <linux/module.h> 
#include <linux/kernel.h>


int init_module(void)
{
   printk("Arch is the Best!\n");
    
   return 0;
}


void cleanup_module(void)
{
  printk(KERN_ALERT "Removing aitb module...\n");
  printk(KERN_ALERT "Arch is still the Best!\n");
}

~ firewalker, 2008-05-14 14:37:31