[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
What is the most obfuscated hello world you can write in your
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 53
Thread images: 4
File: rain.png (229 KB, 500x357) Image search: [Google]
rain.png
229 KB, 500x357
What is the most obfuscated hello world you can write in your language of choice?
>>
Who cares.
>>
>>54780464
Which language is that?
>>
>>54780442
Lain kills god at the end snd you find out she never existed.

Worst fucking shit I have ever watched dont even fucking bother watching it.

To stay on topic brainfuck is the language.
>>
brainfuck because brainfuck
>>
>>54780738

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
>>
Malbolge
(=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc
>>
ziim

↘↓

↘ ← ↙
⤢↘ ↘← ↑
↘← ↑⤡↙ → ↙ ↓↙↙
↙ → ↗ ↙
↘ ← ↙↙↘ ↙↘ ↙ ↑ ↘←
↘ ↑↕ ← ↓↓↑ ↙ ←
↘ ← ↙ ↕← ↗ ↔↙
↗↓ ↑↑ →↖ ↙← ↓ ↘
→ ↘ ↘ ↓↘← ↗ ↙↙
↙ ↖ ↘ ←↓↙← ↑ ↑↑
↑ → ↘ → ↙
↘ ↙ ←↙
↘ ↕ ↔ ↙↙ ← ↙

↑ ↘ ←↓↓↓ ↓↓↓ ↙↘
↘→ ↘ ↙ ← ↑
↓ ↘ → ↘ ↙ ←
→↘ ↓ ↓ ↙← ↕←
↗ →↘ ↙←
→↗ ↓ ↖← ↖ ↕ ↔ ↙
↗↔ ↖ ↑↓ ↙↑ ↖← ↑↘
↙ ↓ →↗→↖↑ ↑ ↑
↗↖ ↑→ ↙↓ ↙
↑ ↗ ↔ ↖↙←↙↓↖
↗↔ ↕ ↑ → ↙
↘ ←↗ →↖ ↘ ↕ ← ↖ ⤡
↗ ← ↙ ↑
↙ ↖ ↓↖← ↖ ↑
↓ ↓↑↙ → ↘↑↓↖
↗ ↙← ↑ ↙→ ↕
→ ↖
⤡ ↖ →↗ ↓ ↖
↑ ↑ ↗↖
>>
>>54780516
How can Lain be real if there is no God.
>>
>>54780874
>>54781040
fuck off. you dont know those. anyone can go to esolangs. write something in a language you know. thats the point of this thread faggots
>>
>>54781204
I used Wikipedia.
>>
I'll write it in JavaScript, include 7MB worth of libraries, and have multiple XSS vulnerabilities.
>>
#include <stdio.h>
int JUST(int l) {
if(!l) return 288>>2;if(l==1) return l+100;
if(l==2 || l==3 || l==9) return 108;if(l==4 || l==7) return 111;
if(l==5) return 64>>1;if(l==6) return l+113;
if(l==8) return l+106; if (l==10) return l+90;
}
int main() {
int i;
for(i=0;i<11;i++) putchar(JUST(i));
return 0;
}
>>
Hello world in javascript: http://pastebin.com/WFA0JtLV
>>
>>54781040
Doesn't compile. It gives an error to the 9th line.
>>
>>54782961
Does that thing work? If so, I think we have a winner.
>>
>>54783005
It works
>>
>>54783005
It does. Try it in your browser's javascript interpreter.
>>
>>54782961
Java script best script.
>>
>>54781752
underrated post
>>
>>54780442
Step aside, fucking amateurs
http://pastebin.com/ppHuAj9p
>>
<html>
<body>
<p><b><mark>"Hello World"</mark></b></p>
</body>
</html>
>>
>>54782961
Not even best JavaScript hello world
http://pastebin.com/R5nsu47r
>>
>>54780516
She never existed because she reset everything so she'll never have existed. It's a pretty bittersweet ending.
>>
>>54780757
>>54780874
>>54781040
>>54782779
>>54782961
>>54783269

Still simpler than java
>>
>>54781040
What happens if you did the konami code in that language?
>>
>>54783344
pshh
public class HelloWorld{
public static void main(String[] args){new HelloWorld();)
public HelloWorld(){helloWorld("hello world");)
public void helloWorld(String s){if(!s.isEmpty()){new Letter(s.charAt(0)); helloWorld(s.substring(1));}}
private class Letter{public Letter(char c){System.out.print(c);}}
}
>>
>>54783365
You summon Cyber Akuma and unleash Shun Goku Satsu
>>
cd
cd
cd code
ls
ls
cd hello world
pwd
cd code
>>
>>54783434
kek
>>
This prints Hello World some time next year. Just let it run until then.
import os, time
if (time.time() > 1500000000):
print "Hellow World"
exit()
time.sleep(0.1)
source = open("program.py","r")
tag = str(time.time())
newfile = open("program" + tag + ".py","w")
newfile.writelines(source.readlines())
source.close()
newfile.close()
os.system("python program" + tag + ".py")/code]
>>
>>54785927
I came from the future to confirm it.
>>
Salve, munde.
>>
>>54783434
Karlie?
>>
Print Hello World
>>
>>54782961
>>54783005
>>54783022

Coding noob here, can someone explain how this works? How does a bunch of symbols and brackets compile?
>>
#!/usr/bin/perl

use feature 'say';

@prog = (112, 29289, 28276, 8226, 26725, 27756, 28448, 30575, 29292, 25634);
my $str = "";
foreach my $x (@prog) {
$str.= sprintf("%04x", $x);
}
$str =~ s/^00//;
$str =~ s/([0-9a-f]{2})/chr(hex($1))/egi;
eval $str;
>>
>>54780516
I need to rewatch that. where is it streaming?
>>
>>54789080
>streaming
Smuganimegirl.jpg
>>
>>54780516
I thought Lain just committed suicide at the end because she went loopy from her obsession with conspiracies.
>>
File: 0306-011.jpg (658 KB, 2133x1577) Image search: [Google]
0306-011.jpg
658 KB, 2133x1577
>>54789080
>streaming when the blu ray remaster is available
>>
>>54789110
wtf is wrong with streaming?
>>54789157
>physical medium maymay
oh so id have to buy the medium and a drive just to watch it. hulu has all kinds of anime there, ill see if they carry it.
>>
>>54789187
just fucking torrent the blu ray remaster, a show as beautiful as Lain should be watched in the best quality possible.
>>
File: subweird.jpg (72 KB, 640x1136) Image search: [Google]
subweird.jpg
72 KB, 640x1136
>>54789257
>>
#include <stdio.h>

void increment_and_print_char(char* achrptr, int n) {
*achrptr = *achrptr + n;
putchar(*achrptr);
}

int main() {

char* chptr;
*chptr = 'A';

increment_and_print_char(chptr,7);
increment_and_print_char(chptr,-3);
increment_and_print_char(chptr,7);
increment_and_print_char(chptr,0);
increment_and_print_char(chptr,3);
increment_and_print_char(chptr,-47);
increment_and_print_char(chptr,55);
increment_and_print_char(chptr,-8);
increment_and_print_char(chptr,3);
increment_and_print_char(chptr,-6);
increment_and_print_char(chptr,-8);

return 0;
}
>>
>>54780516
Fuck you asshole lain is great

[spoiler]and texhnolyze is even better than lain[/spoiler]
>>
>>54789440
Stupid question. I know you are passing by pointer to increment and in general to avoid creating unnecessary objects. But why didn't you pass by reference? Why a pointer instead?
>>
>>54789440
>Segmentation fault (core dumped)
Great job
>>
>>54791859
That it, why do something like this
#include <iostream>

void increment_and_print_char(char& c, int n) {
c += n;
std::cout << c;
}

int main() {

char c = 'A';

increment_and_print_char(c,7);
increment_and_print_char(c,-3);
increment_and_print_char(c,7);
increment_and_print_char(c,0);
increment_and_print_char(c,3);
increment_and_print_char(c,-47);
increment_and_print_char(c,55);
increment_and_print_char(c,-8);
increment_and_print_char(c,3);
increment_and_print_char(c,-6);
increment_and_print_char(c,-8);

return 0;
}

but with pointers instead?
>>
var _0x590b=["\x48\x65\x6C\x6C\x6F\x20\x57\x6F\x72\x6C\x64\x21","\x77\x72\x69\x74\x65"];document[_0x590b[1]](_0x590b[0]);
>>
>not setting up and calling five different web services to get the complete string
>>
>>54782961
Holy fuck
>>
>>54787585
مرحبا بالعالم
Thread replies: 53
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.