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

Write Hello World in your favorite language and argue why

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 264
Thread images: 28

File: C-Logo-1.jpg (80KB, 350x393px) Image search: [Google]
C-Logo-1.jpg
80KB, 350x393px
Write Hello World in your favorite language and argue why yours is better
>>
function hello()
print("Hello World!")
end

the whole language is almost as simple
>>
>>60471915
>end
hahahahaha
>>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<span>Hello World</span>
</body>
</html>
>>
>>60471843
BITS 64
CPU X64

org 0x00010000

Elf64_Ehdr:
db 0x7F, "ELF" ; e_ident[EI_MAG0 -> EI_MAG3]
_start:
add bl, 0x01
mov ecx, msg1
mov al, 4
jmp _mid1

dw 0x0002 ; e_type (executable)
dw 0x003E ; e_machine (x86_64)
_mid2:
mov al, 4 ; e_version ;modif, 4b
jmp _mid3

dq _start ; e_entry
dq Elf64_Phdr - $$ ; e_phoff
db 0x99 ;0x04
_mid1:
mov dl, len1
int 0x80
add cl, msg2 - msg1
mov dl, len2
jmp _mid2
dw Elf64_Ehdrsz ; e_ehsize
dw Elf64_Phdrsz ; e_phentsize
Elf64_Phdr:
dd 0x01 ; e_phnum, p_type
_mid3:
int 0x80 ; e_shentsize, p_flags ;; modifyable 4b
jmp _ex
dq 0x00 ; e_shnum, p_offset
dq $$ ; e_shstrndx, p_vaddr


Elf64_Ehdrsz equ $ - Elf64_Ehdr

msg1 equ $
db "Hello, W"
len1 equ $ - msg1
dq filesz ; p_filesz
dq filesz ; p_memsz
msg2 equ $
db "orld!", 0xA
len2 equ $ - msg2
_ex:
mov al, 1

Elf64_Phdrsz equ $ - Elf64_Phdr
int 0x80

filesz equ $ - $$

assemble with
nasm -f bin -o a.out file.s

assembled is 125 bytes long without any external dependencies
it mutilates the ELF header like crazy, but it's tiny as fuck
>>
>>60471993
What the hell is that clusterfuck of a language
>>
File: 1493758426095.jpg (129KB, 500x636px) Image search: [Google]
1493758426095.jpg
129KB, 500x636px
>>60471993
im impressed.
>>60472044
asm
>>
(display "Hello World")

I shouldn't have to explain why, just look at it
>>
Let hello = ("hello world")
show(hello)
>>
>>60471993
That's some next level autism
>>
File: 1480741247536.jpg (7KB, 244x250px) Image search: [Google]
1480741247536.jpg
7KB, 244x250px
>>60472044
>>
>>60472160
((((((? why)))))
>>
>>60471843
hola mundo

Spanish is better bc of the great Spanish empire
>>
>>60471843

program Hello;
begin
writeln ('Hello, world.')
end.

it's like c, but readable and without autists. plus most people don't know it anymore so i don't have to deal with retards who want me to include their changes.
>>
>>60471843
#!/bin/dash
echo 'Hello World'
>>
>>60471993

.globl _start

.text
_start:
movl $len, %edx
movl $msg, %ecx
movl $1, %ebx
movl $4, %eax
int $0x80

movl $0, %ebx
movl $1, %eax
int $0x80
.data
msg:
.ascii "Hello, world!\n"
len = . - msg
>>
roll-over roll-over heel roll-over roll-over roll-over roll-over heel heel heel heel heel heel heel heel heel sit roll-over roll-over roll-over heel roll-over roll-over roll-over heel heel heel heel heel heel heel heel roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over stay roll-over roll-over roll-over heel roll-over roll-over heel roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over heel heel heel heel heel heel heel sit roll-over roll-over roll-over heel roll-over roll-over roll-over heel heel heel heel roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over stay roll-over roll-over roll-over heel roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over heel roll-over heel heel heel heel heel heel heel roll-over roll-over roll-over roll-over roll-over heel heel roll-over heel heel heel roll-over roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over heel heel heel roll-over roll-over roll-over roll-over heel heel heel heel heel heel heel heel sit roll-over roll-over roll-over heel roll-over roll-over roll-over heel heel heel heel roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over stay roll-over roll-over roll-over heel roll-over roll-over heel roll-over roll-over roll-over heel heel heel roll-over roll-over roll-over roll-over heel heel heel heel heel heel
>>
heel roll-over roll-over roll-over roll-over roll-over stay roll-over roll-over roll-over heel roll-over roll-over heel roll-over roll-over roll-over heel heel heel roll-over roll-over roll-over roll-over heel heel heel heel heel heel heel heel heel heel sit roll-over roll-over roll-over heel roll-over roll-over roll-over heel heel heel heel heel heel heel heel heel roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over stay roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over heel heel heel roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over heel heel heel heel roll-over roll-over heel roll-over heel heel heel roll-over roll-over roll-over roll-over roll-over heel roll-over roll-over heel heel heel heel heel heel roll-over roll-over roll-over roll-over heel roll-over roll-over heel heel heel heel heel heel heel heel roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over heel heel roll-over roll-over roll-over roll-over heel roll-over roll-over roll-over roll-over roll-over heel
>>
>>60471843
Hello World

English is GOAT, faggots.
>>
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
>>
10 call clear
20 print Hello World
30 goto 20
>>
>>60473092
Brainfuck - quality.
>>
>>60473123
    call @f
db "Hello World$"
@@: pop dx
mov ah, 9
int 0x21
>>
File: 1487543364025.gif (9KB, 200x200px) Image search: [Google]
1487543364025.gif
9KB, 200x200px
main = putStrLn "Hello world!"


It describes exactly what the program does in one of the most succinct ways possible.
>>
>>60471843

10 PRINT "HELLO WORLD"
20 GOTO 10
>>
>>60471993
>no linking necessary
my nigga
>>
>>60472325
fuck you and your brain-damaging "syntax"
>>
>>60472252
rac* vine a este hilo para escribir este chiste. Me ganaste

*: riendome a carcajadas
>>
Console.WriteLine ("Hello World"); 
>>
>>60471843
static void Main(string[] args)
{
List<Task> tasks = new List<Task>();
for (int i = 0; i < Environment.ProcessorCount; i++)
{
tasks.Add(Task.Run(() =>
{
var ran = new Random();
var bytes = new byte[12];
while (Encoding.ASCII.GetString(bytes) != "Hello World.")
{
ran.NextBytes(bytes);
}
Console.WriteLine(Encoding.ASCII.GetString(bytes));
}));
}
Task.WaitAny(tasks.ToArray());
}


It's pretty efficient
>>
Lobsters with Fruit and Nuts.

This recipe prints "Hello, World!" in a most delicious way.

Ingredients.
72 g hazelnuts
101 eggs
108 g lobsters
111 ml orange juice
44 g cashews
32 g sugar
87 ml water
114 g rice
100 g durian
33 passion fruit
10 ml lemon juice

Method.
Put lemon juice into the mixing bowl.
Put passion fruit into the mixing bowl.
Put durian into the mixing bowl.
Put lobsters into the mixing bowl.
Put rice into the mixing bowl.
Put orange juice into the mixing bowl.
Put water into the mixing bowl.
Put sugar into the mixing bowl.
Put cashews into the mixing bowl.
Put orange juice into the mixing bowl.
Put lobsters into the mixing bowl.
Put lobsters into the mixing bowl.
Put eggs into the mixing bowl.
Put hazelnuts into the mixing bowl.
Liquify contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.

Serves 1.
>>
你好,世界!

你没有指定你想要什么类型的语言。
>>
#include <stdio.h>

int main(void) {
printf("Hello, world.\n");

return 0;
}


C is the only language that gives me a boner when writing it.
>>
>>60473135
nice name drop, bud. now everyone knows you're cool.
>>
おはよう
Because it's the best language.
>>
>>60471915
>hurr durr curly brackets are ugly
>end
>>
>>60473321
I'm cooler than that anon - did you get my sit sit roll-over? It's a real implemented language
>>
>>60473367
that's not hello world, kill yourself you failed weeb
>>
>>60473388
せかいさん、おはよう
Happy now? Avoiding Kanji because it's at least 50% chinese.
>>
File: 1489619814289.png (57KB, 300x177px) Image search: [Google]
1489619814289.png
57KB, 300x177px
!#/bin/bash
print "Hello World\n";

__________________________>>>

<?php
echo "Hello World";
?>
>>
public static async Task<string> Calculate() 
{
int[] arr = new int[] { 50, 78, 84, 83, 85, 5, 59, 82, 84, 77, 68, 0 };
return Task.Run(() => new string(TaskEnumerable.Range(22, arr.Length).Select((x, i) => arr[i] + x).Cast<char>()));
}

public static void main(string[] args)
{
Console.WriteLine(Program.Calculate().Result);
}


I typed this in notepad so I won't be surprised if it doesn't compile, but it gets the idea across
>>
>>60471993
why does this even exist?
>>
File: kwcw3x6wdo24p8inljha.jpg (5KB, 200x150px) Image search: [Google]
kwcw3x6wdo24p8inljha.jpg
5KB, 200x150px
>>60473458
What is this even?
>>
>>60473411
>せかいさん
>not 地球人さん

>>60473497
superior language of C#
>>
>>60473505
I'm pretty sure I explained why I avoided kanji.
>>
>>60473505
Didnt even recognize it
>mfw I dont even know a common language
>>
>>60473497
>>60473505
trying-to-be-edgy C#, he's taking the ascii values and casting them as chars. Nice going, kiddo
>>
>>60473555
LOL Shit, any purpose to this at all? Or just some advanced bullshittery ?
>>
>>60473458
whats TaskEnumerable?
>>
>>60473553
Remember this rule of thumb, if it's a language with many abstractions but still algol/C-style and it looks fine it's C#.
If everything is inconsistent as shit it's Java.
If it looks like ass
>>
>>60473555
>>60473568
You've discovered my secret
It was an elaborate ruse the whole time
The LINQ statement wouldn't have been executed until being consumed by the Console.WriteLine call anyway, and it has to wait for the task to complete before printing the result, rendering the parallel execution pointless!

>>60473591
a typo that should say Enumerable, good catch my eagle-eyed friend
>>
>>60473606
If it looks like ass it's also Java
2/2 Sent from my Android
>>



language is hello world btw

implementations for the language hello world can be seen above
>>
File: tenor.gif (1MB, 480x270px) Image search: [Google]
tenor.gif
1MB, 480x270px
>>60473606
>Heyyyyy, thats pretty good

Most of my work is Networking so I use fast patching and deployable languages (Perl is my big one, PHP not so much but I still use it here and there)
>>
>>60473568
just being a faggot, simple answer for non-neckbeard is this. Still verbose, because it's C#, but absolutely transparent. Also the system.console can be imported as header, and then you don't need to write it in there.

 public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
>>
>>60471993
Someone do lisp assembly to show this fag that lisp is better.
>>
>>60472160
>display
schemefag pls go
(write-line "Hello world!")
>>
>>60473659
fuggggggggggggg
>>
>>60473161
But Haskell has no IO...
>>
>>60471843
puts {hello world!}
>>
File: red-pill-2.jpg (18KB, 750x420px) Image search: [Google]
red-pill-2.jpg
18KB, 750x420px
PERL master race
>>
>>60473263
What the fuck have you done to c?
>>
>>60473726
thats C#
>>
>>60473748
The best revision of C in my book.
>>
File: wish I didn't see that.jpg (239KB, 551x550px) Image search: [Google]
wish I didn't see that.jpg
239KB, 551x550px
>>60473723
>{}
>>
>>60473273
That's disgusting, if you start your curly brace inline, then you should end it inline, otherwise have them each on their own line. That's my opinion anyway.

#include <iostream>

int main()
{
std::cout << "Hello world \n";
}


Isn't c++'s io better?
>>
>>60473617
public static async Task<string> Calculate()
{
int[] arr = new int[] { 50, 78, 84, 83, 85, 5, 59, 82, 84, 77, 68, 0 };
return await Task.Run(() => new string(Enumerable.Range(22, arr.Length).Select((x, i) => Convert.ToChar((byte)(arr[i] + x))).ToArray()));
}

public static void Main(string[] args)
{
Console.WriteLine(await Program.Calculate());
}


your code didn't compile, here is the fixed version
>>
program main
print *, "Hello, World!"
end program main
>>
salve mundi
Latin is very efficient and made up of nice manageable parts. The alphabet is relatively small and easy to learn.
>>
[BITS 16]
ORG 0x7C00

MOV SI, STRING
CALL PRINT

PRINT:
MOV AH, 0x0E
LOOP:
LODSB
OR AL, AL
JZ DONE
INT 0x10
JMP LOOP

STRING DB "HELLO WORLD"

TIMES 510 - ($-$$) DB 0
DW 0xAA55


You can boot it
Assemble with
nasm -f bin code.asm

Execute with
qemu code.bin
>>
>>60471993
For me it was 114 bytes. Why?
>>
print "Hello world"
>>
Hello World
>>
>>60473263
>>60473726
>>60473748
>>60473760
The most bizarre way you can write "hello world" in C#
>>
'hello world
>>
>>60473817
I don't see how this would compile. You can't use await outside of an async method.
>>
>>60473793
That's just how Tcl rolls.
>>
>>60474408
ops I literally copy pasted the wrong thing lmao, I was testing to see if await can be used inside main
>>
>>60471989
<html>
hello world
</html>

also works dipshit
>>
>>60473460
....
>>
File: 1491863902246.jpg (113KB, 882x731px) Image search: [Google]
1491863902246.jpg
113KB, 882x731px
Hello world
>>
>>60471843
>10 print "Hello World"

fastest, most compact and easy.
>>
>>60473991
SyntaxError: Missing parentheses in call to 'print'
>>
>>60472204
assembler is probably the most useful language you can learn. You'll really understand how the computer works and you can decompile using a hex editor in theory.

All the good low level stuff like the kernel or device drivers are written in asm or at least asm sub routines.
>>
>Codes in Times New Roman
>>
>>60471843
static void Main(string[] args)
{
var ran = new Random();
var hw = "Don't Lose Your Way!";
List<char> str = Enumerable.Range(32,hw.Length).Select(i=>Convert.ToChar(i)).ToList();
List<Task> tasks = new List<Task>();
Task.Run(() =>
{
while (new string(str.ToArray()) != hw)
{
Console.WriteLine(new string(str.ToArray()));
Thread.Sleep(10);
Console.SetCursorPosition(0, 0);
}
Console.WriteLine(new string(str.ToArray()));
});
foreach (int i in Enumerable.Range(0, hw.Length))
{
tasks.Add(Task.Run(() =>
{
while (str[i]!=hw[i])
{
var b = (byte)ran.Next(32, 122);
str[i] = Convert.ToChar(b);
Thread.Sleep(10);
}
}));
}
Task.WaitAll(tasks.ToArray());
Console.ReadKey();
}
>>
File: Screenshot_20170518_210559.png (107KB, 1366x732px) Image search: [Google]
Screenshot_20170518_210559.png
107KB, 1366x732px
done
>>
>>60473870
>not Esperanto
It's like you enjoy exceptions
Saluton mondo
>>
package main

import "fmt"

func main() {
fmt.Println("Hello, World!")
}
>>
>>60474860
Bravo
>>
>>60473802
It is an opinion, indeed.
Every project and/or organization has its own conventions. For C and C++ it's usually not the way you like, though.

>C++'s IO is better
Depends. Don't get into autistic discussions over which language is better. Makes you look like a retarded kid. You'll grow out of it. Trust me.
>>
Hello, 世界
>>
>>60473211
buenos dubs haha
>>
>>60471993
>>60473974
this, plus I get permission denied and then command not found
>>
>>60475473
ignore my non-chmoding ass
>>
>>60473029
Englisch ist nur deutsch für Dummies
>>
>>60471843


Hello, World!

-English language
>>
>>60475819
see
>>60475508
>>
>>60471843
fn main() {
printlin!("Hello world!")
}
>>
class HW(object):
def __init__(self):
self.h = "hello"
self.w = "world"
def helloworld(self, h, w):
tlist = []
if (h == self.h):
tlist.append(h)
if (w == self.w):
tlist.append(w)
finstring = str(tlist)
return finstring
def splithw(self, s):
chekr = self.helloworld(self.h, self.w)
if (s == chekr):
checkr = "hello world"
return checkr

def main():
worldhello = HW()
print (worldhello.splithw(worldhello.helloworld(worldhello.h, worldhello.w)))
main()
>>
>>60474747
>dat tripseq
>>
main = putStrLn("hello world")
>>
>>60473677
what makes you say that?
>>
File: face yui bird34523.jpg (41KB, 500x660px) Image search: [Google]
face yui bird34523.jpg
41KB, 500x660px
>>60476701
Fuck you for making me read that.
>>
>>60474747
What the fuck is this supposed to do?
Output random chars?
>>
>>60473267
TAKING OUR JOBS
>>
Echo "hello world"

Cmd.com ftw
>>
>>60476871
run it and see
>>
print("hello world")

this is a complete swift program
>>
>>60471915
I might be remembering wrong but in Matlab you dont need to explicitly put end always
>>
>>60474955
Tre bona.
>>
>>60477091
It's also about as complex as a Swift program can get before you have to smother it in liquid shit by interfacing with Objective C libraries that haven't been updated in a decade.
>>
>>op
or fap
>>
>>60471843
Hallo Welt!
>>
>>60476871
>>60476871
yeah and does so while the output != "hello world"
>>
>>60473240
>>60473263
>>60473458
>>60473505
>>60473617
>>60473645
>>60473817
>>60474747

For so many C# fags no one has posted straight IL. This is why pajeets are stealing your jobs.
>>
>>60477207
C# is a meme language. It's what Ruby was 10 years ago. Pajeets are inevitable.
>>
>>60477207
Why the fuck would anyone even look at straight IL these days? IL inspectors exist and can decompile into C# or VB so it's pointless.
>>
"Hello, world!"

based R
>>
File: hw.jpg (78KB, 837x532px) Image search: [Google]
hw.jpg
78KB, 837x532px
just having fun ^ ^
>>
Konnichiwa Sekai
>>
>>60475508
Sagen sie, blöd >:(
>>
>>60471843
<html>
<head>
<title>OP is a fag</title>
</head>
<body>
<? php
echo "<p>Hello world " . $OP . "</p>';
?>
</body>
</html>
>>
>>60477707
>Favorite language
>PHP

How
>>
>>60473267
>Simplified characters
Gtfo mainland peasant
>>
HolyC
"Hello World"
>>
>>60473198
is this a dig at asm in general, or a specific dialect of asm being used here?
>>
>>60477273
wew whats that
>>
File: hw.jpg (107KB, 529x340px) Image search: [Google]
hw.jpg
107KB, 529x340px
>>60477898
I tried to find the function of the 3D object 'Hello World', Turn out due to the algorithm nature to find such polonimial, it's pretty messy.

just some autism machine learning tool in matlab.

It's f(x,y) = p00 + p10*x + p01*y + p20*x^2 +p11*x*y + p02*y^2 + p30*x^3 + p21*x^2*y+p12*x*y^2+p03*y^3 + p40*x^4 + p31*x^3*y + p22*x^2*y^2 + p13*x*y^3 + p04*y^4 +p50*x^5 + p41*x^4*y + p32*x^3*y^2 + p23*x^2*y^3 + p14*x*y^4 + p05*y^5

with

p00 = 262.4 (238.6, 286.2)
p10 = -2.098 (-3.503, -0.6939)
p01 = 4.093 (-0.547, 8.732)
p20 = 0.04558 (0.008364, 0.0828)
p11 = 0.0433 (-0.05014, 0.1368)
p02 = -0.1513 (-0.5384, 0.2359)
p30 = -0.0002989 (-0.0007637,0.0001659)
p21 = -0.0001716 (-0.001269, 0.0009254)
p12 = -0.003801 (-0.007306, -0.0002957)
p03 = -0.01741 (-0.03253, -0.002281)
p40 = 6.514e-08 (-2.65e-06, 2.781e-06)
p31 = -5.054e-07 (-7.078e-06, 6.067e-06)
p22 = 2.1e-05 (1.572e-06, 4.043e-05)
p13 = 5.32e-05 (-1.319e-05, 0.0001196)
p04 = 0.0007869 (0.0005106, 0.001063)
p50 = 3.091e-09 (-2.89e-09, 9.072e-09)
p41 = -6.017e-11 (-1.651e-08, 1.639e-08)
p32 = 1.274e-08 (-3.802e-08, 6.349e-08)
p23 = -3.587e-07 (-5.194e-07, -1.981e-07)
p14 = 1.068e-07 (-4.148e-07, 6.283e-07)
p05 = -8.114e-06 (-1.002e-05, -6.213e-06)
>>
>>60473460
Why does machine language exist? You are taking retardation to the next level.
>>
>>60473273
It gives me a respectable hard-on too
>>
File: POO 6.png (109KB, 1145x335px) Image search: [Google]
POO 6.png
109KB, 1145x335px
say "hello world";
>>
F90
program hw
implicit none
write(*,*) 'Hello World'
end program
>>
>>60473935
Dad, it's 2017. No one writes in those languages anymore...
>>
https://esolangs.org/wiki/Text

Hello World
>>
File: download.png (2KB, 340x42px) Image search: [Google]
download.png
2KB, 340x42px
Where y ∈ < (k, k+17) and x ∈ < (0, 106)
And k = 437822222208910450FDE00000008800440022001143F7800010C2646EC2398118810FDE000043F7910448822441143F7800010FDE00220022000890FDE00000000000000000000043F7910448822441143F780000002200110008800450FDE00000008800440022001143F780000882246312318918C50FDE000043F7808800440022043F780000000000000000000000000000000000
>>
File: file.png (338KB, 995x2520px) Image search: [Google]
file.png
338KB, 995x2520px
>>60474498
>>
Hallo Welt

It's German, probably the best language possible.
>>
      = 1
= +
= * +
= *
=
[ *( + )+ ,
= * + ,
= * + - ,
,
= + ,
* + + ,
* - * + + ,
,
+ + ,
,
* , + + ,
]
puts .map(&:chr).join
>>
File: a channel.gif (682KB, 520x293px) Image search: [Google]
a channel.gif
682KB, 520x293px
>>60479032
>flussschifffahrt
>güternahverkehrtransport
Yeah, a great language indeed...
>>
print("Hello world!")



is lua the best?
>>
Javascript: http://jsfiddle.net/pkyLy0j8/1/
>>
print("Hello World")


Simple and clean
>>
>>60479070
Does removing the blanks between composite words make it so much more difficult to read? What about rivernavigation or programminglanguage? Besides, güternahverkehrtransport is a tautology, there are better examples in officialese like Grundstücksverkehrsgenehmigungszuständigkeitsübertragungsverordnung. But again, no one uses these here in everyday life.
>>
>>60479154
>Grundstücksverkehrsgenehmigungszuständigkeitsübertragungsverordnung
Junge...
>>
>>60479154
нeпpoтивoкoнcтитyциoнcтвyвaтeлcтвyвaйтe
Go on and read it
>>
>>60479170
The longest one in the Duden is Kraftfahrzeughaftpflichtversicherung at least. Still not that horribly long, compared to motor vehicle liability insurance.
>>
File: 1454019005823.png (624KB, 600x1601px) Image search: [Google]
1454019005823.png
624KB, 600x1601px
BERND
:DDDDD
>>
10 PRINT "Hello World!"

Most similar to human language, has these fancy numbers in front of every line.
>>
>>60479091
>>60479111

brackets unnecessary
>>
"Hello World"
>>
print "Hello World"
>>
>>60479172
noone uses that word ever it has no meaning in daily life and the only time it's spoken is when you have to say the longest word in bulgarian which is this
>>
>>60479021
#shrekt
>>
>>60479493
But it has proper meaning and it is usable.
Don't act against the constitution
>>
#include <stdio.h>
#include <math.h>

#define LOL ;
#define LUL {
#define LEL }
#define WEW (
#define LAD )
#define OY [
#define VEY ]
#define OIOI ,
#define NIG *
#define ADD +

int main WEW int argc, char NIG NIG argv LAD LUL
unsigned short A[0xff] =
LUL
72 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
101 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
108 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
108 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
111 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
32 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
87 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
111 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
114 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
108 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
100 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
33 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD OIOI
0x0 ADD 0x0 NIG WEW unsigned char LAD pow WEW 0x2 OIOI sizeof WEW char LAD NIG 010 LAD
LEL LOL

unsigned char NIG C LOL
for WEW C = A LOL NIG C LOL C+=0x2 LAD LUL
printf WEW "%c" OIOI NIG WEW WEW unsigned char NIG LAD C LAD LAD LOL
LEL

putchar WEW '\n' LAD LOL
return 0x0 LOL
LEL
>>
draw_text(0,0,"Hello World")
>>
>>60479646
aesthetic af
>>
>>60471973
hahahaahaha
this fucking made my day, thank you
>>
>>60471843
data _null_;
put "Hello World!";
run;
>>
Hello world

English is talked worldwide and easy to understand.
>>
>>60479894
*spoken
>>
>>60479600
You are right, but I have lived in Bulgaria for 17 years and I have yet to see someone using it in context.
>>
>>60471843
おはよう世界
Better than others
>>
fmt.Println("hallo Waldo")
>>
>>60472276
>not knowing turbo pascal
>>
>>60480039
>17 years
>Underage
>>
import numpy as np
print("Hello World")
>>
File: 1music.jpg (34KB, 480x503px) Image search: [Google]
1music.jpg
34KB, 480x503px
print "Hello world"

anti-rubyists btfo
>>
>>60472160
elisp <3
>>
>>60477120
I think this is Lua
>>
>>60473273
Why do people use printf everywhere when puts is sufficient? Why not fprintf if you want consistency?

>>60473802
I am to this day LMAOing at the nigger who thought that invented cout.
>>
>>60479428
Yes they are
>>
>>60480508
Emacs doesn't have a display function faggot.
>>
>>60480630
Because no C book ever uses puts() for the first Hello World program. Also, it's inconsistent with fputs() which doesn't output a newline character.
Also gcc compiles those two commands to puts() calls with the same argument:
printf("Hello world\n");
printf("%s\n", "Hello world");

Clang doesn't, though.
>>
>>60472280
You didn't need to call the shell for that one. And always call bash instead of your favorite shell.
>>
>>60480019
That's the joke.
>>
hola mundo
>>
>>60477878
the latter.
>>
Arnold for the win

IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED
>>
>>60475508
>>60475846
In Germanic languages, don't you say "I CROSS STREET" rather than "I'm going to cross the street"?
It has low complexity, and rellly-relly long words.
>>
>>60477072
I ran it in RoslynPad, but it only output one line of gibberish and stopped
>>
>>60473211
Me duelen los ojos
>>
"Hello World!"
[/spoiler]
>>
>>60471843
Pozdrav pederi
>>
>>60471843
Syntax isn't language.

>>60477832
>>60479438

Why?
>>
>>60483123
*fegeti
>>
put "Hello world"
>>
>>60479021
it just werks
>>
echo hello world
>>
>>60480376
kek
>>
>>60480799
>always use the designated GNU cancer shell instead of your preferred non-verminous one

No thanks. Try to learn what shell scripts are for before presuming to give advice on writing them.
>>
>>60474567
>what is Python 2
>>
>>60482486
And yet German engineers will always BTFO Anglosphere ones. Has the idea that simplicity might be a feature never crossed your microscopic excuse for a brain?
>>
>>60473677
>see example of Haskell performing IO
>reply "but Haskell has no IO"

Has Hiroshimoot finally opened the board to chimps?
>>
>>60483970
>deprecated
>>
>>60482486
english is a germanic language too smart boi
>>
func helloWorld() {
print("Hello World")
}

swift is comfiest language
>>
>>60483998
>german engineers
>btfo anyone but themselves
Remember when germans designed a navy helicopter that could not operate near water because it would rust immediately?
>>
File: 1436678570187[1].jpg (133KB, 900x900px) Image search: [Google]
1436678570187[1].jpg
133KB, 900x900px
>>60482301
>>60473198
>>60471993
>>60472103
Which asm should I learn?
>>
>>60484130
x86_64 nasm
>>
>>60484037
english is a mix between a latin and germanic language
>>
Console.WriteLine("I have a job.");
>>
#include <stdio.h>

int main(){
constr string hello* = "Hello World!\n";
char *pntr = hello;
while(*pntr){
putchar_unlocked(*pntr++);
}
}


Why? Because you can't get better performance unless you rewrite it in assembly
>>
"ave mundi"
>>
>>60484169
english is when germcucks/nordcucks got cucked by frenchies for hundreds of years, that's why it's 60% grammatically same, but synthetically it's mainly germanic. and french is a dialect of latin
>>
>>60483178
Because God says so you dumb nigger.
>>
defmodule HellWorld do
def say_hello do
"HELLO WORLD"
end
end
>>
>>60484169
Pretty much. Most of our words have germanic roots with germanic grammar, so it's considered germanic
But a third of our language also came from latin either directly via the church or by proxy via those fucking frogs across the channel.
>>
>>60484130
learn AMD's x86_64 and use Intel syntax

Don't use at&t syntax because
mov eax,[ebx+ecx*imm8+imm32]

which stands for base + index*scale + displacement

looks like this
mov imm32(%ebx,%ecx,imm8),%eax
>>
console.log(`hello w${(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([][[]]+[])[!+[]+!+[]]}`)
>>
>>60484037
Not to the same amount that something such as Norwegian or Swedish would be considered.
I gave an example as to how it works which also shows how far apart they have grown.
In the end I'm Kind-of sorry I said it because it fucked the thread up a bit ha ha.
>>
>>60484028
>what is C
>>
>>60483998
I'm american and a mix of both so I don't have that as a problem.
Simplicity is useful for conveying a message quickly and effectively, It does not however make for good literature or conversation.
You sound like you might have an envy issue,.
Do something for the world rather than sitting on your ass complaining about others and making excuses; it'll go away.
>>
>>60480265
17 years in Bulgaria 14 years in Canada
Fuck off
>>
#define _GNU_SOURCE

#include <stdio.h>
#include <stdlib.h>
#include <limits.h>

#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/uio.h>

int pipe_c[2];

void child()
{
close(pipe_c[1]);
splice(pipe_c[0], NULL, STDOUT_FILENO, NULL, INT_MAX, 0);
close(pipe_c[0]);
exit(0);
}

int main()
{
pipe(pipe_c);
pid_t pid_c = fork();
if (pid_c == 0) {
child();
} else {
/* parent */
close(pipe_c[0]);
}

/* parent main routine */
char s[] = "hello, world!\n";
struct iovec iov = { s, sizeof(s) };
vmsplice(pipe_c[1], &iov, 1, 0);

while (wait(NULL) >= 0);

close(pipe_c[1]);

return 0;
}
>>
File: theeternalanglo.jpg (261KB, 555x351px) Image search: [Google]
theeternalanglo.jpg
261KB, 555x351px
>>60471843
bonjour monde
its the only language anyone cares about.
>>
>>60485351
Sorry m8, I forgot to include the trigger warning
>>
>>60485697
French is literally like someone producing diarrhea with their vocal chords.
>>
>>60471993
How did you do that?
It didn't even need to link
>>
>>60473265
>Put durian into the mixing bowl.
And remove everything else. Durian must be eaten pure.
>>
#!/usr/bin/env ocaml

print_endline "Hello world!";;


OCaml is fast and safe.
>>
>>60486124
>interpreted
>safe
>>
>>60471843
SELECT 'Hello World'
>>
print("Shalom Olam")
>>
>>60471843
<?="Hello World"?>

>PHP
It just werks.
>>
>>60471843
System.out.print("Hello World");
>>
>>60486685
pajeet get our reee~
>>
>>60486184
Are you dumb?
>>
>>60471993
wanted to post something like this, props
>>
>>60485730
Understanable have a good day
>>
>>60485913
ELF header embedded in the code when assembled
>>
↘↓

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

↑ ↘ ←↓↓↓ ↓↓↓ ↙↘
↘→ ↘ ↙ ← ↑
↓ ↘ → ↘ ↙ ←
→↘ ↓ ↓ ↙← ↕←
↗ →↘ ↙←
→↗ ↓ ↖← ↖ ↕ ↔ ↙
↗↔ ↖ ↑↓ ↙↑ ↖← ↑↘
↙ ↓ →↗→↖↑ ↑ ↑
↗↖ ↑→ ↙↓ ↙
↑ ↗ ↔ ↖↙←↙↓↖
↗↔ ↕ ↑ → ↙
↘ ←↗ →↖ ↘ ↕ ← ↖ ⤡
↗ ← ↙ ↑
↙ ↖ ↓↖← ↖ ↑
↓ ↓↑↙ → ↘↑↓↖
↗ ↙← ↑ ↙→ ↕
→ ↖
⤡ ↖ →↗ ↓ ↖
↑ ↑ ↗↖
>>
Hallo Welt
>>
>>60471843
main = putStr "Hello, World\n"
Mathmatically proven correct.
>>
File: helloworld.jpg (102KB, 944x469px) Image search: [Google]
helloworld.jpg
102KB, 944x469px
Scratch
>>
>>60487685
>>not using alice3
>>
<html>
<body>
<p id="hehe"></p>
<script>
document.getElementById("hehe").innerHTML = "Hello World!"
alert("Hello World!")
console.log("Hello World!")
</script>
</body>
</html>
>>
>>60473802
>cout
Niggerlicious or divine intellect? Clearly the former.
>>
 I'd just like to interject for moment. What you're refering to as World, is in 
fact, Hello World, or as I've recently taken to calling it, Hello plus World.
World is not an operating system unto itself, but rather another free
component of a fully functioning Hello system made useful by the Hello
corelibs, shell utilities and vital system components comprising a full OS
as defined by POSIX. Many computer users run a modified version of
the Hello system every day, without realizing it. Through a peculiar turn
of events, the version of Hello which is widely used today is often called
World, and many of its users are not aware that it is basically the Hello
system, developed by the Hello Project. There really is a World, and
these people are using it, but it is just a part of the system they use.
World is the kernel: the program in the system that allocates the
machine's resources to the other programs that you run. The kernel
is an essential part of an operating system, but useless by itself; it
can only function in the context of a complete operating system.
World is normally used in combination with the Hello operating
system: the whole system is basically Hello with World added,
or Hello World. All the so-called World distributions are really
distributions of Hello World!
>>
Why the FUCK are there so many different types of asm
AAAAAA
>>
>>60483123
>>60483403
*nigeri
>>
>>60487800
>Why the FUCK are there so many different types of microprocessors
>AAAAAA
>>
>>60487826
It's terrible.
>>
.... . .-.. .-.. ---
.-- --- .-. .-.. -..
>>
>>60487800
That's why C exists in the first place.
>>
>>60474567
This shit is valid in perl not sure what language OP is targeting.
>>
>>60478495
>Bunch of SJW bullshit
No thanks, i'll stick to the great tested and tried Perl 5
>>
>>60471843
let prog = `++++++++++
[
>+++++++
>++++++++++
>+++++++++++
>+++
>+++++++++
<<<<<-
]
>++.--
>+.-
>--..+++.-
>++.
>---.+++
<<+.+++.------.
<.
>>+.
>>
File: Piet_Program_Hello_World(1).gif (16KB, 143x143px) Image search: [Google]
Piet_Program_Hello_World(1).gif
16KB, 143x143px
>>
PRINT "Hello World!"
>>
(function () { 
var prev = 22915696;
var modulus = Math.pow(2,32);
var multiplier = 1664525;
var increment = 1013904223;

function setRandSeed(s) {
prev = s;
}
function random() {
prev = (multiplier * prev + increment) % modulus;
return prev/Math.pow(2,32);
}
Math.random = random;
Math.setRandSeed = setRandSeed;
})();

function generateChar() {
return String.fromCharCode(Math.floor(Math.random() * (91-65)) + 65);
}

function generateWord(length)
{
var res = "";
for(var i = 0; i < length; i++)
res += generateChar();
return res.toLowerCase();
}

function greet() {
var greetings = generateWord(5);
Math.setRandSeed(18337180);
var someone = generateWord(5);

return greetings + " " + someone + "!";
}
>>
This is written in my girlfrend (elm) ;)
import Html exposing (text)

main =
text "Hello, World!"


live version:
https://ellie-app.com/3f2zpD6LgXZa1/0
>>
(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<
>>
print "Hello World"
>>
>>60488003
>being nice
>"her"
>REEEEEEE SJW
It's like you want to spend your life as a bitter NEET virgin who can't integrate with society outside of 4chan.
>>
>>60488204
> not using the superior
print("Hello World")
>>
>>60487702
my it class, high school, requires me to use alice 2.4, it doesn't even support using real code, only the code-blocks are useable:( kill me rn
>>
>>60471843
puts 'Hello World'
>>
Lbl 0
Locate 1,1,"Hello World"
Goto 0
>>
>>60475218
Point received, thanks.
>>
>>60471843
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
>>
>>60488757
Or

Text 1,1,"Hello World"
>>
>>60471843

#include <iostream>

void main() { std::cout << "KYS faggot!\n"; }

Thread posts: 264
Thread images: 28


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.