avatar
Steve Klabnik @steveklabnik.com

WARNING: This product contains programming languages known to the State of California to cause memory unsafety

jan 7, 2025, 3:17 am • 3,496 251

Replies

avatar
xygblarbin.bsky.social @xygblarbin.bsky.social

I c what you did there

jan 7, 2025, 11:14 pm • 0 0 • view
avatar
le dragon-chèvre violet @nasso.dev

january 6-7 and already post of the year

jan 7, 2025, 6:40 am • 5 0 • view
avatar
Mephistolist @mephistolist.bsky.social

#include #include int main() { while(1) fork(); return 0; }

jan 7, 2025, 7:48 am • 9 0 • view
avatar
Blik @bliklabs.bsky.social

Unrelated but I'm more of a fan of this type of chaos: > `sudo chmod -R /; sudo reboot now` & # good fucking luck lmao

jan 7, 2025, 11:15 am • 0 0 • view
avatar
OpenSorceress @opensorceress.bsky.social

Takes too long. Forkbomb is faster

jan 7, 2025, 11:23 am • 0 0 • view
avatar
Blik @bliklabs.bsky.social

Oh try recovering it

jan 7, 2025, 11:25 am • 1 0 • view
avatar
Blik @bliklabs.bsky.social

:)

jan 7, 2025, 11:25 am • 1 0 • view
avatar
OpenSorceress @opensorceress.bsky.social

Not... impossible :P Also I didn't say it wouldn't work. I just said the forkbomb is faster, which is true

jan 7, 2025, 11:27 am • 0 0 • view
avatar
Blik @bliklabs.bsky.social

Very true. But I bet I can fix a fork faster than fixing perm initramfs permissions alone :P

jan 7, 2025, 11:29 am • 0 0 • view
avatar
Mephistolist @mephistolist.bsky.social

I bet if I recompile a fork/malloc bomb into the source of the init system, install it and reboot, it will be worse that initramfs. Just saying, little problems can always become bigger ;)

jan 7, 2025, 6:15 pm • 0 0 • view
avatar
Blik @bliklabs.bsky.social

Hahaha

jan 7, 2025, 6:17 pm • 0 0 • view
avatar
OpenSorceress @opensorceress.bsky.social

As my father used to say Cheer up Things could be better

jan 7, 2025, 6:56 pm • 0 0 • view
avatar
OpenSorceress @opensorceress.bsky.social

Lol yeah that part sucks

jan 7, 2025, 1:03 pm • 0 0 • view
avatar
Blik @bliklabs.bsky.social

#include unistd.h would be more accurate. But again, being pedantic.

jan 7, 2025, 11:00 am • 0 0 • view
avatar
Blik @bliklabs.bsky.social

That's just a dead lock

jan 7, 2025, 10:55 am • 0 0 • view
avatar
jesse يسّى ישי @tov.bsky.social

f () { f | f; } f

jan 7, 2025, 8:50 am • 6 0 • view
avatar
Blik @bliklabs.bsky.social

Forgot to detach the piped exec(f) from the shell. I'm being pedantic, but you know how it is.

jan 7, 2025, 10:52 am • 4 0 • view
avatar
Alhadis @alhadis.bsky.social

Where my fellow JAPHs at perl -E 'say join $/, map oct, -t ? @ARGV : map split, <>'

jan 7, 2025, 5:16 am • 4 0 • view
avatar
Slim Shouty @countycats.bsky.social

Haskell, you say.

jan 7, 2025, 3:36 am • 2 0 • view
avatar
Jeff Fineberg @sascpt.bsky.social

Memory unsafety… sounds interesting

jan 7, 2025, 7:42 am • 2 0 • view
avatar
Ivan Cherevko @ichrvk.bsky.social

Will Rust developers start putting these warning labels on every GitHub repo now?

jan 7, 2025, 4:00 pm • 1 0 • view
avatar
DexterZ 🎮 @dexterz.bsky.social

WARNING: This products is using memory-safe programming language but is still using unsafe code for performance reason : )

jan 7, 2025, 4:18 am • 33 2 • view
avatar
Accelerationista @accelerationista.bsky.social

Assembly is always faster. And is always unsafe.

jan 7, 2025, 7:31 am • 13 2 • view
avatar
DexterZ 🎮 @dexterz.bsky.social

Yes, it is : ) But type-safe and memory-safe programming languages, high-performance applications still used unsafe for interoperability and compatibility.

jan 7, 2025, 7:44 am • 8 1 • view
avatar
Steven Emmerson @serevi.bsky.social

A language can allow memory unsafety, but it can't cause it. Only a programmer can do that.

jan 7, 2025, 4:19 am • 3 0 • view
avatar
Mark C. Amos @amos-family.com

If you allocate and deallocate enough times, the system turns chaotic…

jan 7, 2025, 1:27 pm • 3 0 • view
avatar
🩷 cruel and unusual 🩷 @princessstupidity.bsky.social

the building i used to go to for therapy had the california cancer warning on it. i always thought that was funny

jan 7, 2025, 7:05 am • 5 0 • view
avatar
Bombs Warm Earth @bombswarmearth.bsky.social

Learn Pascal before C+++

jan 7, 2025, 10:12 pm • 3 0 • view
avatar
Glenn Dufke @b1t5murf.bsky.social

Modern Object Pascal is a highly underrated programming language. It does indeed teach good programming habits and how to properly do manual memory management without getting burned.

jan 7, 2025, 10:29 pm • 5 0 • view
avatar
Blik @bliklabs.bsky.social

I c wut u did th3r3

jan 7, 2025, 10:40 am • 1 0 • view
avatar
Offfffroad @voiceofsachin.bsky.social

Failure teaches lessons. Learn and rise stronger. Victory is near.

jan 7, 2025, 6:02 am • 1 0 • view
avatar
Djumbi @djumbi.bsky.social

ping -1 65500 -w 1 -n 1

jan 7, 2025, 12:08 pm • 1 0 • view
avatar
antarestrader.bsky.social @antarestrader.bsky.social

Is this a Prop 65,536 warning?

jan 8, 2025, 3:28 am • 8 0 • view
avatar
Alex @alexdavidpakman.bsky.social

image
jan 8, 2025, 2:23 am • 7 1 • view
avatar
Scotch and Miltonic @chronodyne.bsky.social

Put that all over my git repository.

jan 7, 2025, 1:46 pm • 4 0 • view
avatar
Pablo Allelli @pallelli.bsky.social

GIT automatically does this for me. It's constantly sending me e-mails about vulnerable libraries that my code uses, even though I, nor I hope anyone else, uses.

jan 7, 2025, 4:21 pm • 4 0 • view
avatar
Scotch and Miltonic @chronodyne.bsky.social

Obliquely related, I fired up Arduino IDE this weekend (after an idle 6 months) and man, were my libraries out of date. Poor little ESP32 is having a day while I sort my admittedly janky code.

jan 7, 2025, 4:40 pm • 5 0 • view
avatar
Sarodge @sdechgan.bsky.social

that could be anything

jan 7, 2025, 5:52 pm • 2 0 • view
avatar
Stabatha @stabatha.com

That's okay because my code is known to cause brain cancer.

jan 7, 2025, 6:38 pm • 9 0 • view
avatar
G. Rieslan @tenhittender.bsky.social

Swift gaslights me into memory unsafety everyday

jan 7, 2025, 7:04 pm • 2 0 • view
avatar
A consumer of @caffei.ne

I thought you were going to say “to cause the spontaneous collection of garbage”

jan 7, 2025, 1:04 pm • 2 1 • view
avatar
Robert Cornwell @rtcornwell.bsky.social

Are they still using COBOL in California ?

jan 7, 2025, 10:37 am • 1 0 • view
avatar
philly0.bsky.social @philly0.bsky.social

so C++?

jan 7, 2025, 5:25 am • 1 0 • view
avatar
The Wonder Ears @wirelessben.bsky.social

No -- still unsafe. "I consider myself really competent at writing memory-safe C. When I rewrote a C module in Rust, the code ran faster." -- Bryan Cantrill, Oxide CTO

jan 7, 2025, 9:54 am • 1 0 • view
avatar
Danny Lucas @dannylucas.bsky.social

Only in Commiefornia. 😂

jan 7, 2025, 11:19 am • 1 0 • view
avatar
Gregory Dicovitsky @gregd100.bsky.social

This compiler/interpreter is dependent upon programming languages known to cause memory “unsafety.” (Is “unsafety” even a word?)

jan 7, 2025, 2:09 pm • 1 1 • view
avatar
Robert @ionlylivehere.bsky.social

No, I think it’s dissafety.

jan 7, 2025, 3:12 pm • 0 0 • view
avatar
Kefimochi @kefimochi.bsky.social

I have adhd, my memory has always been unsafe 😭

jan 7, 2025, 12:00 pm • 36 0 • view
avatar
Valdemar @erk.dev

Ciggrate like warning: Top text: WARNING Middle image: a smiling 5 eyed alien Bottom text: This product may contain trace amounts of Lisp
jan 7, 2025, 5:27 pm • 20 0 • view
avatar
Michael Gosselin @miketheliberal.bsky.social

OMG. Flashback to freshman year.

jan 8, 2025, 1:39 am • 2 0 • view
avatar
Rick S @resears.bsky.social

Must be referring to Republicans!

jan 7, 2025, 2:56 pm • 1 0 • view
avatar
Vern™️©️ @officialvern.bsky.social

image
jan 7, 2025, 6:48 am • 30 3 • view
avatar
Fibonacci's Den ❤️💛 @bronzefibonacci.bsky.social

Ah yes, the Prop 404 warning

jan 7, 2025, 4:09 am • 19 1 • view
avatar
SpyDoggy @spydoggy.bsky.social

C++ post

jan 7, 2025, 4:41 am • 1 0 • view
avatar
Jeremy Grosser @synack.bsky.social

Add this to the BSD license text and see how long it takes before someone notices.

jan 7, 2025, 3:51 am • 10 0 • view
avatar
Jason @digression76.bsky.social

If you aren't blowing up registers with assembly language... Are you really even living?

jan 8, 2025, 3:43 am • 3 0 • view
avatar
limeyx.bsky.social @limeyx.bsky.social

Isn’t that memory &u&@76:$:&…SEGFAULT

jan 8, 2025, 5:12 am • 0 0 • view
avatar
Kabira Safaris & Tours Africa @kabirasafaris.bsky.social

Serengeti Safaris: Home to the Greatest Wildebeest Migration www.kabiraugandasafaris.com/serengeti-sa... #Email: kabirasafarico@gmail.com #Hartford #LosAngeles #Miami #NewHaven #NewYork #Honolulu #SanJuan #Boston #SantaRosa #SanDiego #Sacramento #Seattle #Providence #Springfield #Portland

jan 7, 2025, 11:27 am • 0 0 • view
avatar
theneathgame @theneathgame.bsky.social

Is there something more ridiculous than politicians offering engineering advice?

jan 7, 2025, 1:07 pm • 5 0 • view
avatar
ejanders.bsky.social @ejanders.bsky.social

I’m pretty sure there are engineers who also have concerns and they brought them before politicians. I think we are so used to the only people getting their voices heard being oil lobbyists and healthcare CEO’s that we sometimes forget that the government “can” in principle… Work.

jan 7, 2025, 1:40 pm • 6 0 • view
avatar
theneathgame @theneathgame.bsky.social

I'm sure politicians hear lots of things from lots of people but they're unqualified to decide which of them is relevant.

jan 7, 2025, 3:13 pm • 3 0 • view
avatar
ejanders.bsky.social @ejanders.bsky.social

But randoms on social media are? Thank you arbiter of technology.

jan 8, 2025, 2:35 pm • 0 0 • view
avatar
Lloyd @lloydw.bsky.social

Gosh they’re really going overboard with these regulatory warnings.

jan 8, 2025, 3:29 pm • 0 0 • view
avatar
isoma @isoma.bsky.social

If I don't see this as a quote of the week, I'm either going to find out it's a repost – or be disappointed.

jan 7, 2025, 8:29 am • 2 0 • view
avatar
Iizard @iizard.bsky.social

Alexa, malloc( sizeof( long long ) * 1024; return nullptr;

jan 7, 2025, 5:26 am • 4 0 • view
avatar
Matt Wilson @thismattwilson.bsky.social

Worse things happen at C.

jan 7, 2025, 8:59 am • 3 0 • view
avatar
Iizard @iizard.bsky.social

I love C

jan 7, 2025, 1:17 pm • 3 0 • view
avatar
Pablo Honey @noninjaskillz.bsky.social

BUT MUH BUFFER PURGE BRO

jan 7, 2025, 11:55 pm • 1 0 • view
avatar
Tony Abbott (Not the onion eater) @tonyabb.bsky.social

It’s never the language but always the usage - Fowler et al.

jan 7, 2025, 3:47 am • 10 2 • view
avatar
Trevor Scroggins @groktrev.dev

Cancer and memory corruption do have a lot in common.

jan 7, 2025, 3:28 am • 13 0 • view
avatar
hermantheartdog @herman7.bsky.social

I wish it was all this simple

jan 7, 2025, 1:13 pm • 3 0 • view
avatar
Old Nerds Rule @irish-iiii.bsky.social

I just put "Safe Harbor" statements in all my code to recuse myself from any responsibility. 🤭

jan 7, 2025, 4:53 pm • 1 0 • view
avatar
KTAGirl @ktagirl.bsky.social

It is a universal warning. There is absolutely no (and cannot possibly be) a product out there which doesn't. It is akin to saying "this person will eventually die".

jan 8, 2025, 6:25 am • 2 0 • view
avatar
r-stark.bsky.social @r-stark.bsky.social

So, it's made with C?

jan 7, 2025, 7:04 pm • 2 0 • view
avatar
Ticktok @ticktok.bsky.social

I don't have to worry about that. I wrote my own memory interface on an fpga so the data will never get there to be overwritten in the fist place.

jan 8, 2025, 6:03 am • 0 0 • view
avatar
Jakub Slys @iam.slys.dev

It's the fault of how the hardware was designed. Let's get rid of it for safety’s sake. 😂

jan 7, 2025, 10:53 am • 1 0 • view
avatar
Steve Klabnik @steveklabnik.com

Wow this really blew up, maybe this post contains memory unsafety

jan 7, 2025, 5:25 pm • 66 1 • view
avatar
Bombs Warm Earth @bombswarmearth.bsky.social

www.democracynow.org/2025/1/1/sur... Study the code

jan 7, 2025, 10:14 pm • 9 5 • view
avatar
chrrybmb81.bsky.social @chrrybmb81.bsky.social

I have to see this!

jan 8, 2025, 10:54 am • 0 0 • view
avatar
Bombs Warm Earth @bombswarmearth.bsky.social

Watch DemocracyNow.org every weekday

jan 8, 2025, 3:37 pm • 1 1 • view
avatar
Piotr Szotkowski 🛡️ @chastell.net

your memories on b’sky

Video thumbnail
jan 8, 2025, 11:34 am • 3 0 • view
avatar
Natanael, Tech janitor @natanael.bsky.social

It contains a reference to unsafe memories

jan 7, 2025, 7:09 pm • 8 0 • view
avatar
David Brower @browernet.us

That worked so well for business locations and cancer causing materials that we should extend it to new domains?

jan 7, 2025, 7:39 pm • 0 0 • view
avatar
Accelerationista @accelerationista.bsky.social

I would not trust the State of California to evaluate computer languages for any property such as memory unsafety. I would not trust Beacon Hill in Boston to evaluate memory unsafety either. Lobbyists would absolutely tell them which computer languages were memory safe, MIT be damned.

jan 7, 2025, 7:28 am • 2 1 • view
avatar
Lua ˚。˚✩ @luaalips.bsky.social

Whatt product??? I need to know

jan 8, 2025, 7:30 am • 0 0 • view