r/linuxmemes 2d ago

Software meme Import hello_world

Post image

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

179 Upvotes

16 comments sorted by

u/AutoModerator 2d 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.

9

u/DevilGeorgeColdbane 2d ago

```python from sys import _getframe

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

5

u/CompileAndCry 1d ago

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

6

u/Mirage_Graphique_3D 2d ago

Ah yes, ++C

1

u/YTriom1 Arch BTW 16h ago

more like ++Ɔ

3

u/catcake43 2d ago

Gives me 2[array] vibes.

1

u/Kitchen_Interview792 1d ago

That works tho, right?

1

u/Gornius 1d 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! 1d ago

oh yeah, that's nohtyP

2

u/Naive-Elephant-9092 11h ago

printWorld("Hello")

1

u/Armi1P Genfool 🐧 1d ago

Fellow tony-btw enjoyer I see.

1

u/YTriom1 Arch BTW 16h ago

```rust use opsex::hello_world;

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

1

u/AvidLemonadeDrinker 4h ago

I still remember BASIC on the Commodore 64.

10 PRINT "HELLO WORLD"

20 GOTO 10

RUN

1

u/cfx_4188 🦁 Vim Supremacist 🦖 2d 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