RetroFed Forum
Your home away from modern life.
uhn 🥺
Post Reply
AuthorMessage
not_IO lemmy.blahaj.zone not_IO@lemmy.blahaj.zone
Joined: 2024-12-06
Quote

https://gts.apicrim.es/@awoo/statuses/01KJ63PQJVH2MH1F87B0K4VW9T

489   Original
Laser feddit.org Laser@feddit.org
Joined: 2024-06-23
#2 · Quote Reply

👉👈

20
gravitas_deficiency sh.itjust.works gravitas_deficiency@sh.itjust.works
Joined: 2023-06-20
#3 · Quote Reply

uWu what’s this?

11
anuwubis discuss.tchncs.de morgunkorn@discuss.tchncs.de
Joined: 2023-06-13
#4 · Quote Reply

try {
    anal();
} catch() {
    std();
}
60
Riskable programming.dev riskable@programming.dev
Joined: 2023-06-23
#5 · Quote Reply

It would turn into a prince! An unstable prince of undefined behavior.

6
sidelove lemmy.world sidelove@lemmy.world
Joined: 2025-02-18
#6 · (edited) Quote Reply

try { anal(); } catch() { std(); }
try {
    anal();
} catch (HIV) {
    die('wear a condom next time');
}
31
Speiser0 feddit.org Speiser0@feddit.org
Joined: 2024-06-27
#7 · Quote Reply

KISS in unsafe blocks does make sense.

32
baduhai sopuli.xyz baduhai@sopuli.xyz
Joined: 2023-06-05
#8 · Quote Reply

Pregnant ¯\_(ツ)_/¯

26
zero_spelled_with_an_ecks programming.dev zero_spelled_with_an_ecks@programming.dev
Joined: 2023-06-19
#9 · Quote Reply

try { anal(); } catch (HIV) { die('wear a condom next time'); }

That's legacy code from the 80s. Please update it when you get the chance.

44
blackn1ght feddit.uk blackn1ght@feddit.uk
Joined: 2023-06-22
#10 · Quote Reply

Pregnant ¯\_(ツ)_/¯

I think that's the result of dependency injection.

31
sp3ctr4l lemmy.dbzer0.com sp3ctr4l@lemmy.dbzer0.com
Joined: 2025-04-10
#11 · Quote Reply

Reply hazy, try again.

(eventually something will catch)

3
redjard reddthat.com Redjard@reddthat.com
Joined: 2023-08-06
#12 · Quote Reply

That's legacy code from the 80s. Please update it when you get the chance.
try {
    anal();
} catch (HIV) {
    loop {
        sleep(1000000000);
        if HIV.has_cure {break}
    }
}
18
Ziglin (it/they) lemmy.world Ziglin@lemmy.world
Joined: 2023-07-13
#13 · Quote Reply

uWu what’s this?

The unsafe rust keyword basically just lets you declare a scope in which some memory checks do not need to pass for the program to compile.

10
tetris11 feddit.uk tetris11@feddit.uk
Joined: 2025-02-17
#14 · (edited) Quote Reply

The unsafe rust keyword basically just lets you declare a scope in which some memory checks do not need to pass for the program to compile.

Some people write their entire codebase within those parentheses.

^me.^ ^I'm^ ^talking^ ^about^ ^me^

6
peoplebeproblems midwest.social peoplebeproblems@midwest.social
Joined: 2024-12-14
#15 · Quote Reply

Some people write their entire codebase within those parentheses. ^me.^ ^I'm^ ^talking^ ^about^ ^me^

Why?

8
gravitas_deficiency sh.itjust.works gravitas_deficiency@sh.itjust.works
Joined: 2023-06-20
#16 · Quote Reply

The unsafe rust keyword basically just lets you declare a scope in which some memory checks do not need to pass for the program to compile.

Nah I know I was just shitposting lol

5
gravitas_deficiency sh.itjust.works gravitas_deficiency@sh.itjust.works
Joined: 2023-06-20
#17 · Quote Reply

Why?

They like to live dangerously unsafely

7
vithigar lemmy.ca vithigar@lemmy.ca
Joined: 2023-06-26
#18 · Quote Reply

The unsafe rust keyword basically just lets you declare a scope in which some memory checks do not need to pass for the program to compile.

Also exists in C#, where it allows you to use pointers.

5
MinnesotaGoddam lemmy.world HeyThisIsntTheYMCA@lemmy.world
Joined: 2023-06-27
#19 · Quote Reply

uWu what’s this?

:3 idk should we try the unsafe code?

3
Jayjader jlai.lu Jayjader@jlai.lu
Joined: 2023-12-31
#20 · Quote Reply

You can use me after free() all you want, babe

7
Luccus feddit.org Luccus@feddit.org
Joined: 2024-06-28
#21 · Quote Reply

try { anal(); } catch() { std(); }

I will use this to make my code unattractive for AI.

4
Post Reply
Back to top