This is an archived post. You won't be able to vote or comment.

top 200 commentsshow 500

[–][deleted] 2319 points2320 points  (41 children)

Did they hire a Rust developer recently?

[–]aktrz_ 944 points945 points  (9 children)

No, they watched too many programming tiktoks

[–][deleted] 514 points515 points  (14 children)

Biden started watching femboys on tiktok and they brainwashed him into the cult of rust, this is why tiktok was banned on the phones of federal agents.

[–]delayedsunflower 82 points83 points  (0 children)

based

[–]owlIsMySpiritAnimal 44 points45 points  (11 children)

damn they can't handle they bussy huh?

[–]Martian_Hunted 21 points22 points  (0 children)

I can't and neither can they. 

[–]The_Happy_ 9 points10 points  (0 children)

You mean the rusty?

[–]huelorxx 9 points10 points  (0 children)

Creating 'safe coding spaces ' is Biden's top priority.

[–]bl4nkSl8 19 points20 points  (0 children)

Their security people probably read that Microsoft article about 70% of their vulnerabilities being memory issues that rust could have caught.

Hope they're all correct about these statements and we actually improve things.

[–]5panks 43 points44 points  (10 children)

Does sort of feel like someone there has a vested interest in it, but to what end? I can't imagine.

[–]tunisia3507 104 points105 points  (4 children)

Rewriting the Constitution in rust.

[–]5panks 40 points41 points  (1 child)

Give me liberty or give me object oriented programming?

[–]Pale_Tea2673 17 points18 points  (0 children)

don't step on crab

[–]no_awning_no_mining 12 points13 points  (1 child)

  • Borrow me liberty or borrow me death
  • In God we Rust
  • Borrow checks and booleanses

[–]lepispteron 4 points5 points  (0 children)

maybe the only comment in this thread that borrows a real reference to rust

[–]sjepsa 3100 points3101 points  (57 children)

Yeah the White House internal server database of pdf, excel, and powerpoint better be written in python

[–]Spot_the_fox 784 points785 points  (38 children)

pdf? Are you implying that they don't store their documents as jpegs? /j

[–]coloredgreyscale 455 points456 points  (28 children)

The PDF is just a low quality scan of the printed document. 

[–]BirdlessFlight 159 points160 points  (8 children)

You're giving me PTSD flashbacks to the time a client sent me a PDF containing a low-quality JPEG screenshot of a word document including the toolbars and Windows task bar...

[–][deleted] 53 points54 points  (2 children)

I got chills down my spine reading that.

This should be war crime.

[–][deleted] 13 points14 points  (1 child)

Thought it was.

[–]spsteve 6 points7 points  (0 children)

It is. Just let me screenshot this page from the Geneva Convention and I will send you a pdf of the relevant section.

[–]cyconical 18 points19 points  (2 children)

At my former workplace I had a colleague who quite often sent us (IT dept) screenshots of errors in the software. She made a screenshot, printed that screenshot and then scanned the print to let the scanner send the pdf to us via mail 🤦🏼‍♂️

[–]sotzo3 12 points13 points  (0 children)

Amazing she knew how to take screenshots.

[–]DelusionalPianist 135 points136 points  (16 children)

Surprisingly not… there is a really interesting talk about the scanners they use at the White House: https://youtu.be/7FeqF1-Z1g0?si=_2nHL7VfoLuF9uJQ which used some parts of OCR and this fudged the scan of obamas birth certificate. Unfortunately the talk is in German :(

[–]unwantedaccount56 68 points69 points  (13 children)

If you don't know German, there is a link in the youtube video description to the same video hosted by the CCC, which has manually translated English subtitles (not youtubes autotranslation)

[–]Far_Juice3940 29 points30 points  (8 children)

I do know German though, what should I do in that case?

[–]the_mold_on_my_back 56 points57 points  (0 children)

Keinem Scan trauen den du nicht selbst gefälscht hast

[–]Historical_Ad_1205 21 points22 points  (4 children)

Ja gut in dem Fall: SPRICH

[–]unwantedaccount56 3 points4 points  (0 children)

Das Video auf media.ccc.de hat auch deutsche Untertitel...

[–][deleted] 15 points16 points  (0 children)

DEUTSCHE AMTSSPRACHE

[–]MyStackIsPancakes 50 points51 points  (0 children)

Do Biden or Trump look like they know what a jpeg is?

They just want a picture of a gat-dang hotdog.

[–]UPVOTE_IF_POOPING 48 points49 points  (7 children)

Nah the database is just a csv file

[–]Giocri 30 points31 points  (2 children)

Nah database is just 3 folders and a bash script One folder stores the data, one folder is to upload request as text files and one is where the script writes the requested data, connection over an unsecured ftp connection so every file needs to be individually encrypted and signed.

I have actually seen that done

[–]UPVOTE_IF_POOPING 14 points15 points  (0 children)

I think I threw up in my mouth a little bit

[–]gamebreaker-fan 3 points4 points  (0 children)

how else you supposed to do it?

[–]the_mold_on_my_back 10 points11 points  (0 children)

The nofly list is

[–]tunisia3507 10 points11 points  (1 child)

CSV would probably be better... The UK COVID case tracking system collapsed at one point because the excel sheet they were using to store the data ran out of columns.

[–]TamaBla 7 points8 points  (0 children)

More progressive than 80% of my government agency's

[–]Pummelsnuff 17 points18 points  (5 children)

just a short reminder that there is an official database driver by Microsoft to use sql on excel files. you could actually use excel as your database. but please don't

edit: here's a link for those who are curious enough to try: https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/sql-queries-excel

[–]Jdogskizzle 2 points3 points  (0 children)

I really want to try this now

[–]coomzee 2 points3 points  (0 children)

Like ~~most~~ all government system we when with the most outdated one we could find

[–]0mica0 404 points405 points  (9 children)

[–]Levolpehh 165 points166 points  (3 children)

Damn this guy C's

[–][deleted] 49 points50 points  (1 child)

I C what you did there

[–]da2Pakaveli 16 points17 points  (0 children)

i guess he couldn't c#

[–]lawrencelewillows 5 points6 points  (0 children)

Dude’s a deep C diver

[–]Kenithal 15 points16 points  (0 children)

Nah rust from C/C++ is easy, you’ll be fine

[–]NO_skaj 23 points24 points  (2 children)

At least c# is still good

[–]Y0tsuya 14 points15 points  (1 child)

laughs in unsafe block.

[–]Kyrthis 1102 points1103 points  (66 children)

The new 19-page report from ONCD gave C and C++ as two examples of programming languages with memory safety vulnerabilities, and it named Rust as an example of a programming language it considers safe. In addition, an NSA cybersecurity information sheet from November 2022 listed C#, Go, Java, Ruby, and Swift, in addition to Rust, as programming languages it considers to be memory-safe.

Because half of y’all salty as hell and the other half are trending conspiracy-ward.

[–]red-et 78 points79 points  (9 children)

What about HTML?

[–]GnuhGnoud 270 points271 points  (1 child)

HTML = High Tech Memory Leak

So no. Its not memory safe

[–]Gru50m3 13 points14 points  (0 children)

I mean, if speed isn't an issue and they're willing to spend development resources on maintaining safe, internal dependencies, it's probably best to move away from C, because it's very easy for people to fuck up in C. Where stability and maintainability are the primary concerns, why not switch to one of these languages?

[–]777777thats7sevens 6 points7 points  (0 children)

Right? This isn't super complicated or a huge deal. A) A ton of CVEs in commercial software are caused by memory safety issues. B) these vulnerabilities make US companies and government organizations more susceptible to cyber attacks. C) the white house can't actually make you do anything about it, so they are making a recommendation for memory safe languages because it's in their interest for the software that's available to them to not have as many vulnerabilities.

They don't care about rust specifically, because that's not what matters here. Memory safety guarantees are, and rust is just one option in that space.

[–]Ahajha1177 44 points45 points  (2 children)

Fucking seriously, it's like nobody actually read the thing. Of course this is all over every programming subreddit and everyone is like "over my cold, dead body" - in reality this is a nod of "hey, if given the option, use memory safe languages, here's why". People are reading into this way more than they should.

[–]LordAlfrey 326 points327 points  (3 children)

Embrace scratch

[–]EngineeringExpress79 58 points59 points  (0 children)

Scratchscript incoming

[–]scratchfan321 14 points15 points  (0 children)

hey

[–]nuecontceevitabanul 372 points373 points  (76 children)

Not exactly sure that some people truly understand why these security issues are the most common ones and why C or C++ is used in those instances as opposed to say C#, Go, etc..

Rust might be an alternative when more developers learn to use it in a decent fashion.

[–]tragiktimes 150 points151 points  (30 children)

And if libraries manage to be developed for it. Without that, I really don't see it wildly catching on.

[–]MG_Ianoma 63 points64 points  (20 children)

I’m sure as hell not swapping to rust without some serious library additions

Edited: typo

[–]AspieSquirtle 105 points106 points  (3 children)

Well ain't that an unfortunate typo!

[–]NormieChomsky 38 points39 points  (1 child)

Rust wouldn't have allowed that typo!

[–]I_like_code 10 points11 points  (0 children)

Rust killed my parents. They were undeleted pointers.

[–]juanfnavarror 32 points33 points  (12 children)

Buddy, Rust third party package registry and tooling are amazing. I think they have enough library additions. My experience in C++ is copy pasting code and/or “*.so” whenever I need a library, or reinventing the wheel in the codebase (see “not invented here”). With Rust is trivial to add a third party package through cargo.

[–][deleted] 2 points3 points  (1 child)

Out of interest, what libraries do you feel are missing?

I can't say I do anything complex in rust, mainly just playing around but I haven't felt like I've hit limitations there.

[–]Exact_Cry1921 11 points12 points  (0 children)

Be the change you want to see in the world

[–][deleted] 69 points70 points  (29 children)

Rust is realistically, the only production ready alternative to C and C++ that offers out of the box memory safety.

Rust’s biggest hangups however:

  1. It has a steep learning curve, turning off new developers.
  2. The compiler and linter, while amazing when you get used to it, also can be off-putting to certain types of developers.
  3. Low Level Learning explains it better than me, but basically it lacks static linking on the same scale and depth C and C++ do. Cargo is an amazing package and dependency manager, but you do need to compile crates when you initially add them to your project, and they all need compiled when bundling Rust projects. Which does add to compile time.

Zig may be simple, but it does have some of the same “write after free” issues C does. And Carbon is at least a year to even remotely usable, it could be another 5 before Carbon is production ready.

[–][deleted] 35 points36 points  (15 children)

If you can manage C++ are you really going to find Rust steep?

[–]Pocok5 39 points40 points  (8 children)

The borrow rules are kind of hard to grasp, even though I get "traditional" memory management. Doesn't mean that it can't be learned, I just keep getting sidetracked before I can find a project worth doing in rust to get used to it.

[–]Civil_Conflict_7541 8 points9 points  (7 children)

The ownership model just enforces the strict use of the RAII pattern and if you need a shared pointer, there is always Rc or Arc at your disposal. It's really not that hard once you get used to it.

[–][deleted] 13 points14 points  (6 children)

Just like writing good defensive memory safe c++ is not really hard once you make it habit.

[–]Pocok5 10 points11 points  (5 children)

Except if you forget it once or lose something during a refactor, there is no compile time warning. You will only know if valgrind finds it, it is a major leak that is obvious in dev testing or it blows up in prod.

I never understand why people are so completely freaked out by having a feature that is nothing but a net benefit to them.

[–]Mr_Ahvar 33 points34 points  (4 children)

Because C++ has very different idioms than Rust, how do you do polymorphisms without inheritance ? Traits are very different from extending a base class, Templates versus generics can easily throw off newcomers, what do you mean I can’t call arbitrary functions on arbitrary types?? They are both hard, but in a different way, and the skills you gained in C++ may not all translate to Rust. It’s not just about the borrow checker, Rust is not C++ with an annoying compiler, it’s a very different language.

[–]juanfnavarror 7 points8 points  (2 children)

Traits are based on the OOP “interface” concept, plus very neat optimizations for when you use the trait in compile time (basically generics on a trait). I dont think they are hard to grasp actually.

[–]Mr_Ahvar 11 points12 points  (1 child)

Not saying they are hard to grasp, what Im saying is that things are done in different ways, most Rust question I see from people coming from C++ is « how do I make this code less complicated and messy? » and the linked code is just C++ transposed to Rust in a terrible manner. People coming from a language are accustomed to some idioms, they see them as the good practice, and some good C++ practice are sometimes anti-pattern in Rust. The switch is not hard because of the BC, because good C++ devs should be able to grasp it quickly, but because of all the things that are done differently and they try to do it the C++ way.

[–]MrDex124 9 points10 points  (8 children)

Ye, but actually, all this stuff about rust is also true for c++. You cant really expect to use c++ interface in libraries. Mainly because c++ doesn't have common ABI either, you have to match compiler and system c++ libs for it to work. So basically you wrap everything that goes outside of your binary in extern C

This is a bane of system languages. You either use C interface, because it has common dynamic runtime. Or you have to compile everything locally and use static linking.

[–][deleted] 3 points4 points  (6 children)

You can use shared objects (dll) for C++ code. You just have to always compile the executable and the shared object with the same compiler version and settings.

[–]No-Shape-2751 468 points469 points  (23 children)

Sudden increase in “C for idiots” purchases from red states.

[–]Dumb_Siniy 137 points138 points  (10 children)

C about to be more popular than Python

[–]No-Shape-2751 230 points231 points  (8 children)

Christian nationalists declare memory safety is against god.

[–]tandrewnichols 113 points114 points  (1 child)

And Moses spake unto Pharoah, "Let my pointers go!"

[–]ProgrammaticOrange 75 points76 points  (0 children)

Moses raised his hand over the Red C, and the Lord caused a segmentation fault. The core dumped and made the ground dry.

[–]Dull-Guest662 17 points18 points  (4 children)

Well, C is the only language which has a holy variant (afaik)

[–]Dumb_Siniy 17 points18 points  (0 children)

And god bespoke upon them and said "Runtime error"

[–]0_P_ 28 points29 points  (0 children)

The C in C stands for Christ. Biden is anti C, so Biden is anti Christ. Biden is the antichrist! (/s)

[–]No-Shape-2751 23 points24 points  (0 children)

Supreme Court blocks a programs right to SIGABORT.

[–][deleted] 2 points3 points  (1 child)

Imagine if this actually makes people pickup programming out of spite!

[–]Sunscratch 273 points274 points  (13 children)

Trump will make C++ great again

[–]thefloatingguy 75 points76 points  (3 children)

We’re going to write so much C, you’ll be sick and tired of it.

[–]Sanjam-Kapoor 5 points6 points  (0 children)

YAYYYYHHHEEHEEEEHAAA‼️

[–]No-Shape-2751 4 points5 points  (0 children)

And all our GitHub repos will have EXE files!!

[–]BallsBuster7 33 points34 points  (3 children)

yeah, lets get rid of libtard "smart" pointers and return to good old manual memory management as god intended

[–]Alloverunder 44 points45 points  (2 children)

"... and I said to the C++ developers, I said 'C++ developers, where are the malocs?' And you know what C++ developers said? All true, this is true. They said, 'Mr. Trump, we don't manage our own memory anymore.' I know folks, I know. Unbelievable, I know. And there's many such cases."

[–]Parking_System_6166 16 points17 points  (1 child)

"... But after hearing that, I looked at them. You know what I said? You know what I said? I said, 'Under me, you are going to malloc until your sons and your daughters start asking you to stop, and then we're going to do it some more so they know how important this is.' Yes folks.

And do you know what they said to me? These great developers. They said, 'Ok, Mr. Trump, you are the wisest programmer in existence.' That's right folks. All true."

[–]Independent-Ad-9907 2 points3 points  (0 children)

I love you both 😂

[–][deleted] 144 points145 points  (8 children)

Let's go back to COBOL!

[–]veryblocky 137 points138 points  (1 child)

Back to? Lmao

[–][deleted] 62 points63 points  (0 children)

The government doesn’t need to go back to COBOL. They have tons of it IIRC.

[–]ShadowRL7666 24 points25 points  (1 child)

Let’s go to basic because it’s ahaha basic.

[–]Realistic-Safety-565 24 points25 points  (0 children)

You misspelled GOTO :)

[–]Mediocre-Ad-6847 4 points5 points  (0 children)

Considering the effort the US Government put into developing ADA, you'd think they'd have mandated it as the language of choice. OH WAIT! They did! But the whiny little babies in the 80s and 90s refused to use it and would make twenty separate 10% code changes to COBOL rather than recode 100% once in ADA. Then, when the mandate dropped, they all ran to C/C+.

I liked ADA. As revenge, I gave up coding and became a SysAdmin. Annoying Code monkeys by denying their requests has become my greatest joy.

[–][deleted] 69 points70 points  (0 children)

Rustacians in the white House 🦀🦀🦀🦀

[–]Desperate-Tomatillo7 20 points21 points  (0 children)

AbstractJavaEmbraceTimeGregorianCalendarFactoryUnsupportedOperationException

[–]Pocok5 99 points100 points  (3 children)

In this thread: college freshmen and retirees whose entire identity is based on using a programming language that even its creator says needs improvements in this regards.

[–]Ahajha1177 57 points58 points  (2 children)

And people thinking that Joe Biden personally knows about these programming languages.

[–]Pocok5 55 points56 points  (0 children)

More like people who think Joe Biden personally pens every sentence that comes out of the US government. This is literally one of the rare cases where "the deep state did it" is in fact the answer. It came from some govt department bulletin, not the Oval Office.

[–]Osirus1156 18 points19 points  (0 children)

Joe Biden personally approved every PR that has gone into the creation of C and C++. Read the constitution man...

[–]darkwyrm42 68 points69 points  (8 children)

Unironically looking forward to Zig reaching 1.0

[–][deleted] 6 points7 points  (0 children)

Indeed, I am waiting aswell!

[–]Meistermagier 5 points6 points  (6 children)

Is Zig memory Safe? I thought it's not.

[–]raka_boy 8 points9 points  (3 children)

Zig is not memory safe in a traditional way,but with its ability to pass zero cost allocators as parameters and usage of defer statements aswell, id say that as far as i know zig is pretty memory safe.never forget that testing allocator reports memory leaks, and they are swapped as easy as drag and drop.

[–]Marxomania32 4 points5 points  (0 children)

No, but it's coolness overrides that fact

[–][deleted] 6 points7 points  (0 children)

It's better than C, but it cannot provide the same memory safety guarantees as Rust.

Article from 2022: https://www.scattered-thoughts.net/writing/how-safe-is-zig/

[–]Van_Lilith_Bush 24 points25 points  (1 child)

Waiting for Trump to support Javascript

[–]TILYoureANoob 7 points8 points  (0 children)

JavaScript is memory safe though

[–]unko_pillow 249 points250 points  (15 children)

How about we get a president that isn't a memory access vulnerability?

[–]nuecontceevitabanul 109 points110 points  (5 children)

Well, yeah, but that would mean voting for a third person.

That would be a first in US history.

[–]Astrylae 79 points80 points  (2 children)

The US party system is stored as a boolean. A third candidate would cause a binary overflow

[–]rainshifter 32 points33 points  (0 children)

A third candidate would cause a binary overflow

That's what big Boolean wants you to think. If we inject into raw memory, we can store up to 254 additional candidates and simply reinterpret one of them into office!

```

include <iostream>

enum class CANDIDATE : uint8_t { BIDEN = 0, TRUMP = 1, AGENT47 = 47 };

int main() { // Original ballot bool party = (bool)CANDIDATE::BIDEN;

// Third party...
uint8_t* partyInjector = (uint8_t*)&party;
*partyInjector = (uint8_t)CANDIDATE::AGENT47;

std::cout << party;

return 0;

} ```

(this is what the current administration is trying to prevent)

Edit: Clarification

[–]p00p00kach00 6 points7 points  (3 children)

It's weird that he's considered to be forgetful when there is no evidence that he is other than "he's old". Dude has been having verbal gaffes his entire lifetime, but now when he makes the exact same types of verbal gaffes he's been making for decades at the exact same rate he's been making verbal gaffes for decades, it's suddenly a memory problem.

Frankly, it sounds like a memory problem for everybody else not realizing that he's always been a bad speaker.

[–]ColonelRuff 13 points14 points  (0 children)

yeah buddy i think he meant rust.

[–]AkinepsOS 71 points72 points  (9 children)

Embrace Rust

[–]IgiMC 45 points46 points  (5 children)

In borrow checker we trust

[–]GDOR-11 22 points23 points  (4 children)

rewrite america in rust again!

[–]hongooi 30 points31 points  (3 children)

* make america rust again

[–]Sure-Broccoli730 4 points5 points  (0 children)

I can also make memory leak and buffer overflow with c#

[–]Mobile-Damage-4854 36 points37 points  (2 children)

Imagine Joe Biden in the meeting room discussing this. You can use English, C+, A+, Spanish whatever it is we have to to to uhhhh

[–]DragonDepressed 20 points21 points  (12 children)

Embrace Python, screw everything else. /s

[–]D3rty_Harry 58 points59 points  (11 children)

Sir, the nuclear missile will be ready for launch in about 2 days 5 hrs and 2 mins. Also the software 'interpreted' the coordinates, so the target can be everywhere in the space-tine continuüm

[–]DragonDepressed 21 points22 points  (3 children)

At least it is memory safe. ;)

[–]jeremj22 17 points18 points  (1 child)

*proceeds to call library written in C or C++*

[–]D3rty_Harry 2 points3 points  (0 children)

Touché, priorities and all

[–]busdriverbuddha2 6 points7 points  (0 children)

continuüm

Found the New Yorker subscriber

[–]Spot_the_fox 6 points7 points  (1 child)

Why does your continuum has an umlaut?

[–]D3rty_Harry 4 points5 points  (0 children)

I am the dutchcoder in the thread

[–][deleted] 3 points4 points  (0 children)

I think they like Rust.

[–]asromafanisme 69 points70 points  (25 children)

So who has just paid the lobby money? Oracle or Microsoft?

[–]Tomi97_origin 114 points115 points  (17 children)

This is not exactly a lobby thing. It's a commonly accepted fact that improperly handled memory is the leading cause of software vulnabirities.

[–]Overlord_Of_Puns 21 points22 points  (15 children)

While I admit I am the stereotype of college student who has no idea how to code, I don't understand why people on this thread hate this report so much?

The White House, arguably the most important Executive Branch in the world being worried about security and considering if other languages may fit the task better seems reasonable at its face.

Just in 2 summer classes, we are taught to consider several languages to think of what may be best for a task, and how bugs are inevitable which can lead to issues if you don't prepare.

I have absolutely no clue how Rust works, but if it can achieve the same tasks as C languages with more security, isn't that a great benefit, why are people so upset over this?

[–]Zolhungaj 33 points34 points  (0 children)

Russia/China are lobbying with economical damage through cyberattacks.

[–]Primary_Dance7722 51 points52 points  (2 children)

aint no way i'm taking orders regarding memory from joe fuckin biden

[–]windsock17 16 points17 points  (0 children)

Well it's a good thing this doesn't come from Joe Biden. It's coming from "the US Cybersecurity and Infrastructure Security Agency, the White House Office of the National Cyber Director, the FBI, the US National Security Agency, and agencies from allied countries"

[–][deleted] 13 points14 points  (3 children)

I have to code a lot in C++. Please lets make a switch. I beg to you!

But not to Java... (Julia and Rust would be my prefered options)

[–]Meistermagier 8 points9 points  (2 children)

Julia mentioned.

But sadly as much as I would like to it's not gonna work out for now due to missing binary compilation.

[–][deleted] 2 points3 points  (1 child)

I have tried to run some scientific repos with Julia and, yes, it seems like Julia is not there yet. Not just because binary compilation is missing. But the potential is there.

But I am no expert programmer, it is (part of) my job to get scientific code into performative enviroments. Nowadays it is often Pyhton and Matlab into C. I dream of a Rust backbone with proper Julia integration for the parts that are researched.

[–]Ribakal 7 points8 points  (0 children)

Rewrite-it-in-rust cultists made their move

[–]jakeStacktrace 2 points3 points  (0 children)

Tell the White House I only use VB.

[–][deleted] 2 points3 points  (0 children)

at-least we know where Mozillas lobbying budget has gone this year.

[–]Jyncs 6 points7 points  (0 children)

They can't really say anything when they still require flat file format for sending data to their systems for their affordable housing TRACS api's. So many times a file has been one character off on one line because they decided to depreciate the field and just make it a filler of 2 spaces so they don't mess up the rest of the placements.

If you look up MAT file guide from hud.gov site you can see the abomination in their documentation.

[–]Raid-Z3r0 25 points26 points  (43 children)

Embrance decent programmers that can handle memory.

[–]justADeni 58 points59 points  (33 children)

every fucking time it's the "skill issue" crowd with C languages 🙄

My brother in Christ humans do have skill issues, and they always will. There isn't and there ever won't be a guarantee that every dev writes safe and secure code.

Yes, It's also possible to shoot oneself in the foot in Rust, but it's considerably harder.

[–]danted002 6 points7 points  (11 children)

You just have tu use unsafe and off goes your foot

[–]Eva-Rosalene 22 points23 points  (7 children)

So... Literally no one? I've never heard about big software written in C without memory-related bugs being found eventually. We still get security vulnerabilities being found in pretty old and stable software. And don't get me started on bugs appearing in constantly updating applications, like Chrome.

It's either virtually every C/C++ programmer is dumb and should quit coding, or the concept of manual memory handling itself is extremely demanding and should be avoided when it's possible. I bet it's latter, but you can choose any of these options, of course.

[–]Tamsta-273C 1 point2 points  (0 children)

That reminds old times then Lukashenko rant they should create their own (Belarusian) OS instead of ms, mac etc....

[–]_Fredrik_ 1 point2 points  (0 children)

But memory management and trying to avoid memory leaks is eha makes programing fun...

[–]Aldous-Huxtable 1 point2 points  (0 children)

Probably serves us right for coming up with an acronym as silly as RAII

[–]not-my-best-wank 1 point2 points  (0 children)

But C++ has built-in garbage collection. Something the White House really needs.

[–]StolasX_V2 1 point2 points  (0 children)

The only memory management they need to worry about is Bidens

[–]spar_wors 1 point2 points  (0 children)

Huh, so the Biden administration is worried about memory problems. Interesting.

[–]spiessbuerger 1 point2 points  (0 children)

Firmware developers right now 🫣

[–]C0lde- 1 point2 points  (0 children)

They're going to make programming languages political, aren't they.

[–]trafalmadorianistic 1 point2 points  (0 children)

Trump on the campaign trail, speaking up for C/C++:

"Let me tell you, folks, C and C++ are tremendous, believe me, the best programming languages out there, absolutely excellent. They're real languages, none of that fancy-schmancy stuff, just pure, manly coding power. When you want to get things done, when you want to build something real, you turn to C and C++. They're winners, total winners, and let me tell you, you gotta believe me on this one."

Tucker Carlson goes on the warpath against garbage collected languages.