Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language Bzip2

Date:04/20/05
Author:Anonymous
URL:n/a
Comments:5
Info:n/a
Score: (2.33 in 40 votes)
Here comes the song, compressed by bzip2 (v 1.0.2).

42 5A 68 39  31 41 59 26  53 59 AC A4  E3 4E 00 06
B5 DF 80 00  10 40 04 7F  E0 10 00 04  00 37 6D DE
80 50 04 18  10 10 40 78  02 35 20 6F  7A AA A8 00
00 68 18 C0  01 30 00 13  04 A7 EA AA  80 68 1F EA
A1 A0 00 18  C0 01 30 00  13 02 95 14  D4 32 69 A0
D0 0D 3D 34  9E D9 95 67  2D C8 88 88  88 88 88 88
88 88 88 88  88 88 88 88  88 88 88 88  88 88 88 88
88 88 88 88  88 88 88 88  88 88 88 8C  08 88 88 88
88 88 88 88  88 88 88 88  88 88 9A D6  B3 26 64 EF
D2 4C CC 9F  59 99 32 66  71 BD 57 AB  D7 EC F6 FB
BD FB 38 01  E0 E4 0E C3  A0 74 0E C3  90 3C 1C 00
D9 A0 0A C0  05 BA D5 B6  DB 5B 38 01  E0 E4 0E C3
A0 74 0E C3  90 3C 1C 00  D9 A0 0A C0  02 DD 6A DB
6D AD 9C 00  F0 72 07 61  D0 3A 07 61  C8 1E 0E 2D
B6 DF 2D D0  05 60 03 EB  26 66 4F 4C  C9 33 32 7A
64 99 99 38  93 2B 37 32  AC FA B3 2A  CE 4B 32 AC
F7 B8 80 00  00 00 00 00  00 00 00 00  00 00 00 00
00 00 01 20  00 00 00 00  00 00 05 CF  99 56 73 66
55 9B BB BB  BB BB C7 87  00 1B DE F7  BD EF 77 97
00 D8 00 00  B6 E4 92 EA  DB 68 00 28  01 92 43 80
00 02 80 5C  92 0E 40 00  0A 03 79 24  0E 80 00 0A
07 99 24 07  60 00 05 07  79 24 03 C0  00 02 87 59
24 01 B0 00  02 8E 72 48  01 6D B6 DB  68 05 38 99
27 D3 52 66  64 FB 49 99  93 FD 92 61  6E A1 6D 42
C4 24 79 D0  B1 42 C5 0B  AD 0B 55 0B  58 91 F3 12
3E 22 46 D1  23 F9 42 DF  42 EB 42 D1  42 DD 12 32
A1 68 A1 71  A1 76 A1 66  85 DE 89 1B  D2 0D B0 AB
F6 85 D2 85  A5 0B 8C 48  E1 42 D6 85  98 91 9A 17
6A 16 8A 17  94 48 F1 28  59 50 B1 42  FF 17 72 45
38 50 90 AC  A4 E3 4E

Altogether 473 Bytes.

A little background, from the man page:

bzip2 compresses files using the Burrows-Wheeler block
sorting text compression algorithm, and Huffman coding.
Compression is generally considerably better than that
achieved by more conventional LZ77/LZ78-based compressors,
and approaches the performance of the PPM family of sta­
tistical compressors.

Download Source | Write Comment

Alternative Versions

Comments

>>  Paul Koning said on 04/12/06 23:33:11

Paul Koning I don't get it. bzip2 isn't a programming language, it's a data compression system.

>>  E Johns said on 08/07/06 01:42:59

E Johns How is this even possible???

>>  c said on 08/22/06 23:47:26

c oh, now I see.

>>  Nachtwaechter said on 04/21/07 05:07:50

Nachtwaechter That's a real hacker's stuff: bzip2 as a programming language, outputting on decompression. Ideal for people who does the compression by hand and type it in emacs hexl-mode.

But some features of a real programming language are still missing. There is no control structure and variables are missing. Does someone out there developping a bzip3 programming language?

>>  Chris said on 06/01/09 23:00:13

Chris Even though bzip2 is a decompressor, it's serving the same function as any other interpreter for the 99 bottles song. The difference is just semantics.

We have an input string (our program) and a filter (an interpreter or, here, bzip2) that produces an output string (the song), which is probably longer than the input string. That's really just decompression.

Download Source | Write Comment

Add Comment

Please provide a value for the fields Name, Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.

Please don't post large portions of code here! Use the form to submit new examples or updates instead!

Name:

eMail:

URL:

Security Code:
  
Comment: