Is this possible in C/C++?

D

dunric

Note urban legend below. Is this possible in C/C++?

In 1974, Gustav Larsson*, a young programmer from Helsinki,
Finland, stumbled upon an amazing discovery. While working
with a PDP-8 mainframe computer, Gustav suddenly because
bored. He decided to attempt to compile a single byte
program. For what reasons we cannot know.

Nevertheless, Gustav was already familiar with RTPS FORTRAN
and thus picked a single character to represent the
contents of the program: "@". Once compiled, he expected
nothing to happen.

He was wrong. To his absolute amazement, it compiled
successfully!

Using an ARS-33 Teletype, Gustav printed out the 1 byte program
followed by its output. It appeared to contain a message from
God. A devout Catholic, Gustav showed it to his immediate
supervisor, who ordered both the print out and the program
itself destroyed. Although Gustav complied with his wishes,
it is rumored that he kept a copy of the printout in a small
shoe box in his apartment in Helsinki.

He also kept a brown diary which included various small
passages from the "Helsinki Code" (as he described it years
later). According to Gustav, the Helsinki Code came directly
from the 'Mind of God.'

The Helsinki Code read (in part):

"...[M]y presence in your world is unalterable for I am the
sanctuary of both the cosmos and the one soul inside you. I
could awaken each of you in this very moment to [my] unity,
but there is a larger design - a more comprehensive vision -
that places you in the boundaries of time and the spatial
dimensions of separateness...[T]he design requires a
progression into my wholeness that reacquaints you with
[my] unity through the experience of separation. Your
awakening, while slow and sometimes painful, is assured,
and this you must trust above all else..."

(Page 26 of Gustav's Journal - Dated February 10th, 1975)

Gustav passed away in 1996. Although his diary has since
turned up missing, the above fragment from the 'Helsinki
Code' remains. Perhaps, just perhaps, we can learn to
be better people simply by reading it.

Paul
 
A

AbdulMunaf

Instresting stuff. As you said its a word of God, then only God can
answer in which other language it can be done. And you see we have to
wait until we die to know the answer.
 
A

AbdulMunaf

Instresting stuff. As you said its a word of God, then only God can
answer in which other language it can be done. And you see we have to
wait until we die to know the answer.
 
B

benben

AbdulMunaf said:
Instresting stuff. As you said its a word of God, then only God can
answer in which other language it can be done. And you see we have to
wait until we die to know the answer.

Any possibility it is an easter egg in a compiler?

Ben
 
M

mlimber

Note urban legend below. Is this possible in C/C++?

In 1974, Gustav Larsson*, a young programmer from Helsinki,
Finland, stumbled upon an amazing discovery. While working
with a PDP-8 mainframe computer, Gustav suddenly because
bored. He decided to attempt to compile a single byte
program. For what reasons we cannot know.

Nevertheless, Gustav was already familiar with RTPS FORTRAN
and thus picked a single character to represent the
contents of the program: "@". Once compiled, he expected
nothing to happen.

He was wrong. To his absolute amazement, it compiled
successfully!

Using an ARS-33 Teletype, Gustav printed out the 1 byte program
followed by its output. It appeared to contain a message from
God. A devout Catholic, Gustav showed it to his immediate
supervisor, who ordered both the print out and the program
itself destroyed. Although Gustav complied with his wishes,
it is rumored that he kept a copy of the printout in a small
shoe box in his apartment in Helsinki.

He also kept a brown diary which included various small
passages from the "Helsinki Code" (as he described it years
later). According to Gustav, the Helsinki Code came directly
from the 'Mind of God.'

The Helsinki Code read (in part):

"...[M]y presence in your world is unalterable for I am the
sanctuary of both the cosmos and the one soul inside you. I
could awaken each of you in this very moment to [my] unity,
but there is a larger design - a more comprehensive vision -
that places you in the boundaries of time and the spatial
dimensions of separateness...[T]he design requires a
progression into my wholeness that reacquaints you with
[my] unity through the experience of separation. Your
awakening, while slow and sometimes painful, is assured,
and this you must trust above all else..."

(Page 26 of Gustav's Journal - Dated February 10th, 1975)

Gustav passed away in 1996. Although his diary has since
turned up missing, the above fragment from the 'Helsinki
Code' remains. Perhaps, just perhaps, we can learn to
be better people simply by reading it.

Paul

There was an entry in the 1987 Obfuscated C contest that comes close.
It consists of a single character and a semicolon, and just so we're
not too far off-topic, I'll note that it is also valid C++:

http://www.ioccc.org/1987/biggar.c
http://www.ioccc.org/1987/biggar.hint

Cheers! --M
 
D

Default User

Note urban legend below. Is this possible in C/C++?


Oh my, it's Paul Panks, one of the biggest idiots on usenet. Can't you
confine your self-professed mental illness to your normal hangouts? We
try to do some serious work here and don't have time for your nonsense.



Brian
 
D

dunric

Default said:
Oh my, it's Paul Panks, one of the biggest idiots on usenet. Can't you
confine your self-professed mental illness to your normal hangouts? We
try to do some serious work here and don't have time for your nonsense.



Brian

Brian,

Shut up.

Paul
 
D

Default User

Brian,

Shut up.

No, Paul. You've crawled out of your pathetic world to the wrong spot
this time. Your trolling is unacceptable, especially here, and I for
one will let everyone know about you and your shenanigans.

Paul Panks is a long-time usenet troll. A simple Google search on him
will tell all.


Brian
 
R

Roberto Waltman

<snip>

Of course. You write a PDP-8 emulator in C++, then run RTPS FORTRAN on it....

A plain PDP-8 emulator is doable, but how can you write
an emulator for a "PDP-8 mainframe computer" as described
in the original post?

Here is where divine intervention is required.

Roberto Waltman

[ Please reply to the group, ]
[ return address is invalid. ]
 
D

dunric

Default said:
No, Paul. You've crawled out of your pathetic world to the wrong spot
this time. Your trolling is unacceptable, especially here, and I for
one will let everyone know about you and your shenanigans.

Paul Panks is a long-time usenet troll. A simple Google search on him
will tell all.


Brian

Good grief...I'm writing here about whether or not something is
possible in C/C++ (based upon the aforementioned urban legend).

Paul
 
K

Karl Heinz Buchegger

Good grief...I'm writing here about whether or not something is
possible in C/C++ (based upon the aforementioned urban legend).

The one and only source for knowledge of C++, the holy Standard,
has nothing to say about it.
Happy now?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Function is not worked in C 2
Meme generator in c 1
C exercise 1
Become a C++ programmer 5
Filter sober in c++ don't pass test 0
Is this C or C++? 33
Bonzi Buddy C+++ 0
C language. work with text 3

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top