Arch is the best

From ArchWiki
Revision as of 20:09, 25 February 2009 by Kagutsuchi713 (talk | contribs) (→‎Translations: Added Japanese translation.)


Purpose

The Arch is the best project is a very sophisticated and exquisite, ego-boosting and mind-blowing (albeit perhaps a bit over-engineered) project which aims to prove Arch's superiority.

History

The project was initiated in April 2008 by long time Arch community member lucke as a simple shell script which provided irrefutable proof that "Arch is the best". Over the following weeks, this project gathered momentum and was ported to multiple different languages, both programming and verbal.

The Code

The "Arch is the best" project is ported to many programming languages.

Ada - A pascal dialect

with Ada.Text_IO;
use Ada.Text_IO;
procedure ArchIsTheBest is
begin
   Put_Line("Arch is the best!");
end HelloWorld;

Awk

BEGIN {
   print "Arch is the best!"
}

Portable GNU assembler - as -o arch.o arch.s && ld -o arch -O0 arch.o

   .section .data
archIsBest:	
   .ascii 	"Arch is the best!\n"
archIsBest_len:
   .long 	. - archIsBest
   .section .text
   .globl _start
_start:
   xorl %ebx, %ebx
   movl $4, %eax	
   xorl %ebx, %ebx
   incl %ebx	
   leal archIsBest, %ecx
   movl archIsBest_len, %edx	
   int $0x80	
   xorl %eax, %eax
   incl %eax
   xorl %ebx, %ebx	
   int $0x80

Bash - the original program, should be compatible with any shell

#!/bin/bash

echo "Arch is the best!"

Bash (Alternate) - handy for piping the output to your favourite IRC/email/IM client. Should work with any shell.

#!/bin/bash
yes Arch is the best!

C - note the three space indenting used in this project, much like that used by other superior beings.

#include <stdio.h>
#include <stdlib.h>
int main (int argc, char *argv[]) 
{
   fprintf("Arch is the best!\n");
   exit(EXIT_SUCCESS);
}

C++ - Arch == Linux++

#include <iostream>
#include <cstdlib>
int main (int argc, char *argv[])
{
   std::cout << "Arch is the best!" << std::endl;
   exit(EXIT_SUCCESS);
}


Haskell - The language where IO is easy and unproblematic

main = print "Arch is the best!"


Python - a python version

#!/usr/bin/env python

print 'Arch is the best!'

Ruby - a Ruby version

#!/usr/bin/ruby -w

puts 'Arch is the best!'

Perl - a Perl version

#!/usr/bin/perl

print "Arch is the best!\n";

Prolog - a version in Prolog

format('Arch is the best~n',[]).

Common Lisp - should run on any implementation (Clisp, Allegro, SBCL...)

(format t "Arch is the best!")

brainf*ck - doesn't the language name exaplain it?

++>++++++>+++++<+[>[->+<]<->++++++++++<]>>.<[-]>[-<++>]
<----------------.---------------.+++++.<+++[-<++++++++++>]<.
>>+.++++++++++.<<.>>+.------------.---.<<.>>---.
+++.++++++++++++++.+.<<+.[-]++++++++++.

LOLCODE - why not?

HAI
CAN HAS STDIO?
VISIBLE "ARCH IS TEH PWNZ LOL!"
KTHXBYE

Befunge - believed to be the first two-dimensional, ASCII-based, general-purpose (in the sense of "you could plausibly write Hunt the Wumpus in it") programming language

<v"Arch is the best!"0
 <,_@#:

PHP - a PHP version

<?
   print 'Arch is the best!'
?>

JavaScript - a JavaScript version

<script type="text/javascript>
   alert('Arch is the best!');
</script>

Java - an extremely portable language, this will run on pretty much anything, it might even run on your toaster!

public class ArchIsTheBest {
   public static void main(String[] args) {
       System.out.println("Arch is the best!");
   }
}

Scheme - a dialect of Lisp

(display "Arch is the best!\n")

R - a language for statistical computing (and much more!).

archIsBest <- function() { cat("Arch is the best!\n") }
archIsBest()

Tcl/Tk

#!/usr/bin/env tclsh
puts "Arch is the best!"

Translations

Australian

Arch is fair dinkum, mate!

Bahasa Indonesia

Arch terbaik!

Basque

Arch onena da!

Bengali

Arch shobcheye bhalo!

Binary ASCII

0100000101110010011000110110100000100000011010010111001100100000011101000110100001100101001000000110001001100101011100110111010000100001

British

Arch is simply spiffing.

Bulgarian

Арч е най-добрия!

Chinese (Simplified)

Arch 是最牛逼的!

Czech

Arch je nejlepší!

Danish

Arch er bedst!

Desrever (Reversed)

!tseb eht si hcrA

Deutsch

Arch ist das Beste!

Dutch

Arch is de beste!

Filipino

Mabuhay ang Arch!

French

Arch est le meilleur!

Galician

Arch é o mellor!

Greek

Το Arch είναι το καλύτερο!

h4x0r

arhc 51 7he be57!

Hantec

Arch je nejbetélnější!

Hindi

आर्ख सब से अच्छा है ।

Hungarian

Az Arch a legjobb!

Japanese

アーチュが一番ですよ!

Norwegian

Arch er best!

Polish

Arch jest najlepszy!

Portuguese

Arch é o melhor!

Québécois

Arch est le plus meilleure du monde!

Russian

Арч - лучший!

Serbian

Arch je najbolji!

Slovenian

Arch je najboljši!

Spanish

¡Arch es la mejor!

Swedish

Arch är bäst!

Turkish

Arch en iyisidir!

Links