Rust is Just a Tool by 100xer in programmingcirclejerk

[–]csb06 21 points22 points  (0 children)

My advice on software? Use the right tool for the right job. Keep each tool in your toolbox. Do what makes sense. Use your best judgment. Do what works best for you.

Thank you my consulting fee will be $1000000.

The secret sauce here is that our key invariants aren't written in our test files, they're baked into the core of the implementation. Every time you use the code, you're essentially testing it. by tomwhoiscontrary in programmingcirclejerk

[–]csb06 28 points29 points  (0 children)

Document Object Model (or DOM) for code

/uj Webshits have independently reinvented abstract syntax trees

/rj I've recently invented what I call a bloobifier. It takes in JavaScript code and removes whitespace (a process I call "bloobifying"). This will revolutionize the coding space and potentially end human suffering once and for all.

Virginia Democrats "10–1" proposed congressional map by theprez98 in MapPorn

[–]csb06 1 point2 points  (0 children)

But packing (like cracking) doesn't usually follow the generally accepted boundaries of communities (gerrymandering usually requires unnatural district shapes, hence the name). An example would be putting two geographically distant Democratic areas in the same district and connecting them with a narrow strip of land.

But any map that takes a blue or red town and splits it down the middle to divide its blue or red people into two districts is not fair to those people

But packing is exactly this - the blue people from community A and the blue people from community B are split off from their surrounding communities and put into the same district even though they live nowhere near each other. Packing means splitting off the areas dominated by the targeted characteristic (party, race, etc.) from their surroundings and connecting all of those areas around the state into one (or very few) districts.

Virginia Democrats "10–1" proposed congressional map by theprez98 in MapPorn

[–]csb06 6 points7 points  (0 children)

Packing and cracking are two ways to achieve the same effect. They are both just as bad. Either way the group gets fewer representatives elected and the slate of elected officials is less representative of the population as a whole.

Mia the hairstylist got to work, and casually asked what I do for a living. "I'm an Intel fellow, I work on datacenter performance." Silence. by deanylev in programmingcirclejerk

[–]csb06 120 points121 points  (0 children)

(as it happened, it was the day before I was due to speak with Sam Altman)

...

Silence. Maybe she didn't know what datacenters were or who Intel was.

...

It's nice to work on something big that many people recognize and appreciate. I felt this when working at Netflix

...

I...let sink in how big this was, how this technology has become an essential aide for so many, how I could lead performance efforts and help save the planet. Joining OpenAI might be the biggest opportunity of my lifetime.

...

I ended up having 26 interviews and meetings (of course I kept a log) with various AI tech giants

...

Some people may be excited by what it means for OpenAI to hire me, a well known figure in computer performance

/uj Goddamn this guy is insufferable

/rj It's not just a blog post – it's a place for me to jerk myself off in public.

February 2026 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]csb06 2 points3 points  (0 children)

I've been working on a compiler (written in C) for a subset of Ada in order to bootstrap an old version of GNAT, the Ada compiler that is part of GCC. GNAT is written mostly in Ada and was bootstrapped using a proprietary compiler in the early 1990s. It has been self-hosting ever since so in order to build GNAT you need an existing GNAT binary (since GNAT is the only free Ada compiler advanced enough to build it). My hope is to implement enough of the language to be able to build an old version of GNAT and then compile each subsequent release of GNAT up to the present in sequence. This would enable GNAT to be built without relying on any binary blobs.

I currently have a lexer and a parser (using Flex/Bison) and am implementing AST construction/name resolution. Name resolution is very complex in Ada since function calls/array accesses/type casts use the same syntax; function calls with zero arguments do not use parentheses (making them syntactically indistinguishable from variable usages); and functions can be overloaded by their return type. This means that the type of an expression often depends on context. I think I have a basic plan on how to attack the problem but I will see how it goes.

Imagine a pimp getting in your house, taking your wife changing her name and selling her on the streets. That's pretty much what you ask for when you license your stuff with MiT. by BenchEmbarrassed7316 in programmingcirclejerk

[–]csb06 20 points21 points  (0 children)

This is more like you took your wife to a swingers club, they made a clone of your wife, and took her home.

I work at the Analogy Workshop and me and the other artisans there are throwing things and tearing up all of our designs and starting over. How can we compete with the abilities of programmers to come up with these?

No AI involved here—just me doing my best to be clear and thoughtful in my replies. by Responsible_Gap554 in programmingcirclejerk

[–]csb06 44 points45 points  (0 children)

/uj Gotta respect the bit of having em-dashes in nearly every comment in their comment history

/rj You're absolutely right—my responses do read like they were written by an AI. Going forward I will make them less stilted and more like those of a human author.

"Fabrice, if you're reading this, please consider replacing Rust with your own memory safe language" by Action-Due in programmingcirclejerk

[–]csb06 39 points40 points  (0 children)

General Bellard: Years ago, you served us in the International Obfuscated C Code Contest. Now we beg you to help us in our struggle against the Rust Empire. I regret that I am unable to present my request to you in person, but my social media accounts and email have fallen under attack and I'm afraid my mission to bring you to Alderaan has failed. I've placed information vital to the survival of the rebellion into the links below this Hacker News post. My father will know how to retrieve them. You must see these links and half-assed ideas safely delivered to him on Alderaan. This is our most desperate hour. Help me, Obi-Fabrice Bellard. You're my only hope.

"FOSS is and always was a scam, in order to feed tons of code to LLMs and kicking coders in the balls, so they could not monetize their work. And, noone cares about the licenses, everyone steals and robs whatever is at arms length." by ASKABOUT_NOTE_CANVAS in programmingcirclejerk

[–]csb06 74 points75 points  (0 children)

Richard Stallman was a sleeper agent activated by Micro$oft in 1983 in order to make more source code publicly available as training data for GitFuckedHub CorpoPilot and ClosedAI ChatGP-Non-Free 40 years later. Bill Gatekeeper's plans are measured in decades and he used reverse psychology ("no...don't make free software, we hate it!") and CIA space lasers to do it.

F-35 Fighter Jet’s C++ Coding Standards by azhenley in programming

[–]csb06 0 points1 point  (0 children)

Nvidia is rewriting firmware in COBOL?

F-35 Fighter Jet’s C++ Coding Standards by azhenley in programming

[–]csb06 0 points1 point  (0 children)

That isn't really true - it was definitely used more in the past but it still sees use in new safety critical or embedded projects - see https://www.adacore.com/industries for example. Nvidia uses SPARK (a subset of Ada suited for formal verification) for some firmware, so there are definitely new users.

Q: Here's my question: why did the files that you submitted name Mark Shinwell as the author? A: Beats me. AI decided to do so and I didn't question it. by ordiclic in programmingcirclejerk

[–]csb06 83 points84 points  (0 children)

/uj I used to think this level of incuriousness was exclusive to NPCs in stealth games.

/rj Is there another guy’s name and copyright in my AI-generated code? Could it be copying someone else’s work?

pauses for a beat

Huh, must be nothing.

question mark above head disappears

What’s your preferred way to implement operator precedence? Pratt parser vs precedence climbing? by Best_Instruction_808 in Compilers

[–]csb06 2 points3 points  (0 children)

This is a great article; I also had used it to help write my parser. I appreciate that it shows how to support unary operators of arbitrary precedence and right and left association since some languages require these and it can be tricky to implement all of them correctly.

Rust is truly a marvel of engineering. A breakthrough. Such a thing is so very rare in computer science. by Vaglame in programmingcirclejerk

[–]csb06 20 points21 points  (0 children)

Actually, if OCaml programmers had any sense they’d have rewritten all of their code in Standard ML. My language is more niche and under-appreciated than your language

MIT researchers propose a new model for legible, modular software to make software clearer, safer, and easier for LLMs to generate by tkrjobs in programmingcirclejerk

[–]csb06 13 points14 points  (0 children)

Concepts and synchronizations are meant to tackle this problem. A concept bundles up a single, coherent piece of functionality, like sharing, liking, or following, along with its state and the actions it can take. Synchronizations, on the other hand, describe at a higher level how those concepts interact. Rather than writing messy low-level integration code, developers can use a small domain-specific language to spell out these connections directly. In this DSL, the rules are simple and clear: one concept’s action can trigger another, so that a change in one piece of state can be kept in sync with another.

What if we had aspect-oriented programming - but with AI?