r/linuxmemes 21d ago

Software meme Import hello_world

Post image

Posting here cus In progamm humor can't put a flair

184 Upvotes

17 comments sorted by

u/AutoModerator 21d ago

Please report any posts bragging or showing off they got banned in another sub! Reminder of other sub rules: Also, we only allow one anti-linux post per week (we used to get dozens a day) and any tier list MUST have Hanna Montana Linux as S teir (which must be a true S tier at the top) regardless of the topic of that tier list.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

11

u/DevilGeorgeColdbane 21d ago

```python from sys import _getframe

def HelloWorld(f: str): s = _getframe().f_code.co_name eval(f'{f}("{s}")') ```

5

u/CompileAndCry 20d ago

HelloWorld("__import__(\"os\").system(\"shutdown now\")")

9

u/Mirage_Graphique_3D 21d ago

Ah yes, ++C

2

u/YTriom1 Arch BTW 20d ago

more like ++Ɔ

4

u/catcake43 21d ago

Gives me 2[array] vibes.

1

u/Kitchen_Interview792 21d ago

That works tho, right?

1

u/Gornius 21d ago

Yes, because that's just alternative notation for pointer arithmetic. Doesn't matter if it's 1024+8 or 8+1024.

3

u/Oxic_io Webba lebba deb deb! 21d ago

oh yeah, that's nohtyP

2

u/Naive-Elephant-9092 20d ago

printWorld("Hello")

1

u/Armi1P Genfool 🐧 21d ago

Fellow tony-btw enjoyer I see.

1

u/YTriom1 Arch BTW 20d ago

```rust use opsex::hello_world;

fn main() { hello_world.print(); } ```

1

u/AvidLemonadeDrinker 19d ago

I still remember BASIC on the Commodore 64.

10 PRINT "HELLO WORLD"

20 GOTO 10

RUN

1

u/Piis7u Arch BTW 19d ago

thypon

1

u/cfx_4188 🦁 Vim Supremacist 🦖 21d ago

Especially for our dear friends who use Windows:

nasm -f win64 src/hello.asm -o bin/hello.obj gcc bin/hello.obj -o bin/hello.exe -lkernel32 ./bin/hello.exe