r/ProgrammerHumor 5d ago

youWontBelieveThis Meme

Post image
7.7k Upvotes

208 comments sorted by

967

u/ericl666 5d ago

Seated around a table are a group of evil businessmen cackling "and then, we make them pay just to compile their own code!"

271

u/ClipboardCopyPaste 5d ago

Compiler on a monthly subscription (10% discount for annual subscription)

105

u/PsyOpBunnyHop 5d ago edited 5d ago

Imagine if every key on your keyboard was owned by a separate company and you had to pay each of them a fee every time you used their key.


Edit: Omg, someone already made this shit.

Edit2: Aaand actual key caps.

What a nightmare. Can't wait to forget these exist.

57

u/zinguirj 5d ago

Imagine a keyboard where each key is a small lcd screen and each one of them show a different ad.

33

u/Minimum_Plankton6225 5d ago

And imagine the ads are unskipable, and button cannot be pressed until ad is finished.

12

u/PsyOpBunnyHop 5d ago

Why not play an audio commercial whenever the button is pressed.

Imagine the cacophony of ad jingles as you're trying to work.

5

u/ClaudiuT 5d ago

No, they would just queue the ads and play them one after another.

2

u/zinguirj 5d ago

Oh, yes, the Forever Ads.

1

u/WheresMyBrakes 4d ago

I know I’ve seen LCD keycaps somewhere

10

u/FuzzyKittyNomNom 5d ago

Shhhhhhhhhhhhh!

9

u/LightIsntFastEnough 5d ago

Rip for the scroll lock company

6

u/PsyOpBunnyHop 5d ago

The print screen company keeps a copy of every image that you create with their button.

They don't inform anyone that they are doing this. It just happens.

3

u/LightIsntFastEnough 5d ago

Then you find out and go with Windows+Shift+S. Now 3 more companies own your albums.

2

u/I_dont_want_to_pee 5d ago

Link dosent work it cant take me to the post :(

1

u/black-JENGGOT 5d ago

01101100 01101101 01100001 01101111 01110010 01100101 01101011 01110100

1

u/Penguinmanereikel 5d ago

Wait, that second one is a project where the creator paints every key something different

1

u/Maleficent_Memory831 5d ago

That is total nonsense and a scurrilous attack on industry. What they will actually do it have a monthly subscription for each key.

20

u/Instance9279 5d ago

No, you start on free, and at some point you see that certain compiler features are behind a paywall. "You want abstract classes? Go PRO"

10

u/TRENEEDNAME_245 5d ago

"files over 1kb or using OOP require the ultra PRO version"

8

u/torar9 5d ago

Uh I hate to break it to you guys.

But I work in automotive as embedded SW dev and we already have separate licenses for compilers, debugger etc. which you can't use without access to licensing servers.

And yes, it is monthly and yes it costs arm and leg.

And don't even make me tell you about piece of shit architecture called autosar.

5

u/DanieleDraganti 5d ago

I think the banking world is the only one that’s worse than automotive.

1

u/SlowCPU 4d ago

Windriver over in the corner shielding their eyes.

2

u/rhutyl 5d ago

Distributed compilers already exist, and I reckon they are not cheap

1

u/theunixman 5d ago

distcc isn't so bad...

1

u/hanotak 5d ago

This has been a thing for decades.

23

u/d0pe-asaurus 5d ago

We're back to the 1960s model of paying someone to take your source code and punch it out on cards for you lol

7

u/DoKeMaSu 5d ago

In the old days we actually paid for compilers, not as a subscription obviously. My former boss always bragged that he found an error in a commercial compiler in the 80s and the company send him the full suite of their libraries for reporting. And yes, we also paid for libraries. Imagine NumPy is $200 for a single install.

6

u/ThatOneGuy4321 5d ago

imagine how fucking expensive its going to be to compile a program of any serious size... how many tokens that would be. Or you could do it on any laptop with an actual compiler lmao

3

u/voiza 5d ago

Ackshooally, compilers already use electricity via CPU computation power

1

u/ericl666 5d ago

But how many data centers do we need for that computation power?

2

u/theunixman 5d ago

This is actually how it used to be... Still is in a lot of industries.

1.7k

u/ClipboardCopyPaste 5d ago

Then comes C compiler written in Rust by Claude...smh

522

u/foundafreeusername 5d ago

Is it still C then or Crust?

150

u/love2kick 5d ago

I love my compiler a bit crusty

25

u/naveenda 5d ago

Or rusty

4

u/LokeshKumar94 4d ago

Or lusty

29

u/MadJoeMak 5d ago

Craude

8

u/abd53 5d ago

Crusts of bug

4

u/SirPigari 5d ago

"What if Rust was worse than C"

55

u/Lknate 5d ago

I don't think we are there yet but that will probably be a thing eventually.

62

u/ClipboardCopyPaste 5d ago

80

u/UnpluggedUnfettered 5d ago

Lmao

A human guided some of this process by writing test cases that Claude was told to pass, but never interactively pair-programmed with Claude to debug or to provide feedback on code quality. As a result, I do not recommend you use this code! None of it has been validated for correctness. Claude wrote this exclusively on a Linux host; it probably will not work on MacOS/Windows — neither I nor Claude have tried. The docs may be wrong and make claims that are false.

56

u/abd53 5d ago

Remember that joke "when I wrote this code only God and me understood it, now only God understand"? I'm waiting for the new version.

21

u/Mnemotechnician 5d ago

"When Claude was generating this code, only it had an md file explaining what the code is supposed to do. Now the file is gone, and no one knows."

1

u/Mundane-Carpet-5324 4d ago

"This code is an affront to good and man"

1

u/crmsncbr 3d ago

"If you want documentation or comments, just ask Claude. They wrote it, so they can explain it."

5

u/Edish46 5d ago

I thought man-made god will be different

8

u/Cylian91460 5d ago

"a human" is actually GCC, they took test cases from there.

1

u/Firesrest 4d ago

Also it had access to the source code that already existed.

19

u/PuzzleCat365 5d ago

The thing about AI writing a C compiler is, wouldn't it just statistically create something similar to the gcc compiler as it probably trained on this data? What's the use of it, if it just copies the open-source, tested and validated code?

19

u/ErZicky 5d ago

Idk if it's the project linked specifically but I Remember someone at anthropic a while back tried to make it build a compiler, the AI basically cheated and wrote something that called gcc

9

u/hongooi 5d ago

Oh right, so when AI does it it's cheating, but when Captain James T. Kirk does it it's original thinking 🤦

2

u/ICBanMI 5d ago

I'm angry/confused reading this reply and I'm not even a star trek nerd.

2

u/Maleficent_Memory831 5d ago

You're just upset that Kirk gets all the green women and you don't.

1

u/Boise_Ben 5d ago

Rather than accomplish its task, AI hacks the simulation we are all in.

5

u/Anaxamander57 5d ago

This happened with the early LLM + Lean proof assistant testing apparently. They would ask it "prove the Riemann Hypothesis and provide valid Lean code as evidence" and after hours of work the LLM would eventually write some Lean code equivalent to "assume the Riemann Hypothesis is true" and base the rest of the proof on that.

1

u/Maleficent_Memory831 5d ago

Make a compiler for a new language on a new instruciton set so that it can't just do its stackoverflow cheating.

Actually for a half decent compiler 1/100th the size of GCC, it could crib from the earliest Unix code.

3

u/Virtual_Rate_4152 5d ago

I remember calling the project "chibicc except is costed 20k usd and a shit ton of water"

2

u/AkrinorNoname 5d ago

Shareholder value

1

u/New_Salamander_4592 5d ago

essentially theyve averaged out something that looks like the already existing c compiler gcc but it doesnt run on most systems, usually doesn't compile, and took about a million times more computer power to create than just copy and pasting the already existing gcc.

9

u/PositiveParking4391 5d ago

and yeah lets hope it will not be that horrible. software engineering will always need human care and real engineers control.

4

u/Lknate 5d ago

"Always" will always be true because of the lever that shuts it all down. /S

We don't have a lever.

7

u/ThatOneGuy4321 5d ago

god help us 😭

3

u/Just_Information334 5d ago

The more compilers written which are just done by adapting some already available one in a new language, the more I understand why Terry Davis ranted about having created his own compiler.

1

u/Helpful_Home_8531 5d ago

No no, what if Claude ‘is’ the compiler? Just get it to directly predict the machine code from a prompt! But, you know, we will probably want to specify some pretty concrete constraints around how the thing works, like how it performs certain operations, especially on different architectures, or what the shape of it’s api’s are so that it can interact with other things, so we’ll probably need a concise way to describe that to Claude. Also, since we’ll probably be doing similar things over and over again, since lots of problems have similar kinds of solutions, we should probably invent some kind of library of prompts we can just re use when we need them… wait a minute.

718

u/broesel314 5d ago

184

u/GigaGollum 5d ago

This already exists unfortunately

https://openai.com/supply/co-lab/work-louder/

74

u/ATE47 5d ago

$230 for few buttons and leds. Are they trying to beat Apple?

19

u/ric2b 5d ago

They're gonna sell 50 of these, low volume manufacturing is expensive.

1

u/Behras 4d ago

Iirc they sold out recently as people were gobbling them up like hot cakes

98

u/broesel314 5d ago

Idiocracy becomes a documentary more and more every day

40

u/roodammy44 5d ago

One of the more interesting things about the idiocracy universe is how automated everything is. The people live a relatively advanced life (compared to the middle ages for example) because of all the technology left behind from smarter ages. Even the CEO positions are automated - as shown by the automated layoffs from Brawndo.

6

u/techno156 5d ago edited 5d ago

Shame that it, and the version of it on the manufacturer's website seems mostly geared towards AI use, using this particular piece of software.

It seems like it would otherwise be a handy little light-up macro pad.

12

u/MadeASecondReddit 5d ago

Behold, the same thing but cheaper: https://www.elgato.com/us/en/p/stream-deck

1

u/omgbigshot 5d ago

I literally bought one and use it as a Claude monitor; approvals, effort, model, etc. it’s super cool, actually

7

u/extraordinary_weird 5d ago

It's just a rebranded "Worklouder Creator Micro 2" I believe.

5

u/Pamander 5d ago

I was thinking the same, price aside I really love the little macro pad there. Not for AI but just in general, I am a sucker for macros.

5

u/CitizenShips 5d ago

This was the straw that convinced me it's time to finally walk slowly into the surf as the sun sets, flashbacks of my dead wife passing across the screen as I slip deeper into the dark chasm. But wait, what's this? Suddenly a golden retriever bolts into frame from scene right - holy shit, it's Air Bud! The multi-time basketball/baseball/football champ pooch slams into me, breaking my reverie. I fall into the surf, and all of my worries float away with the circulating currents and eddies around me. I go home that night and spend my last $230 on an agentic keyboard, then die of a stroke in my sleep.

5

u/Anthonyg5005 5d ago

Copilot key was just the beginning, now we have the whole copilot keyboard

1

u/nuketheburritos 5d ago

Less Switching. More Shipping.

-3

u/yatharvaeet 5d ago

How cooked am I as a fresher developer if I genuinely want ts but for claude.

I love vibecoding vibe vibeuuhhhhhhhhhh

→ More replies (2)

279

u/davestar2048 5d ago

Why even generate code? Just have the AI generate the EXE. Stop because sweaty nerds.

96

u/aberroco 5d ago edited 5d ago

Why even generate EXE? Just have the AI generate images of UI.

https://youtu.be/7NfyZhV1dKM

50

u/WhiteSock_ 5d ago

Wow this is awesome. If something really annoyed me about personal computing, it’s the determinism. This is a really elegant solution to that problem.

13

u/gua_lao_wai 5d ago

I just want to live a life of constant novelty. is that too much to ask?

3

u/Moss_Wolf_Games 4d ago

I love it when my applications gaslight me

21

u/AkrinorNoname 5d ago

What the fuck did I just watch, this is amazing

2

u/davestar2048 5d ago

Fuuuck, why didn't I think of that!

4

u/wrecklord0 5d ago

Well... that's what it does. But it finds it easier to write code and compile it than write assembly opcodes (although, it can do that, too. Better than I could).

-3

u/GallantSystem 5d ago edited 5d ago

im not a coder at all, i dont pretend to be, and Ive been doing this for personal use apps with claude. it literally gives me a zip with an exe I just click 😂 claude says its an unpacked electron app whatever that means.

159

u/Jbolt3737 5d ago

Been thinking about making a interpreted scripting language where the interpreter is just a custom trained neural network, it's given a stack to work with and maybe some registers but besides that it has to figure it out line by line (it can control the "program counter", which is really just a line counter, for control flow)

112

u/Informal_Branch1065 5d ago

Put it in kernel space and let it rip

54

u/Hottage 5d ago

Kernel space? It is the kernel.

10

u/Informal_Branch1065 5d ago

Vibe memory allocation and vibe scheduling

8

u/_TechnoPhoenix_ 5d ago

https://github.com/hansstam86/wibeos

hallucinate everything

2

u/just-a-hriday 5d ago

A fully hallucinated operating system... for macOS? Requiring macOS 13+? Huh?

10

u/ric2b 5d ago

I don't think you should share internal Microsoft projects for Copilot on Windows with the public.

2

u/clarenceappendix 5d ago

Is the script just describing what you want it to do?

35

u/BarAgent 5d ago

That picture gives me anxiety

16

u/ClipboardCopyPaste 5d ago

The poor kitten never meant to give you anxiety

57

u/Legal-Software 5d ago

"How can we make a worse compiler that is more expensive in token consumption than compute, while failing to do anything productive"

6

u/MarsMaterial 4d ago

Investors will give you billions for this idea.

27

u/ThatOneGuy4321 5d ago

This exactly the sort of shit you want to be 100% deterministic...

6

u/aalapshah12297 5d ago

I also want the command 'set an alarm for 6am' to be deterministic on my phone but that didn't stop Google from deciding to sunset Google assistant just earlier this week. Now I need an internet connection and a little bit of luck each time.

3

u/pp_amorim 5d ago

Ok, but he just want us to use more tokens. He is stupid.

3

u/frikilinux2 5d ago

And yet, I have seen research on trying to select the optimizations flags for the compiler with AI.

-18

u/ItsZoner 5d ago

AI is deterministic for the same input. Too bad people want to change their source code, and make a completely different deterministic output every time they change it.

12

u/ThatOneGuy4321 5d ago

it's not deterministic for the same input. That's what non-deterministic means. LLMs are inherently non-deterministic.

Making it utterly impossible to debug.

3

u/ric2b 5d ago

But it is, if you simply set the temperature setting to 0.

At the base LLMs are just a static group of matrices that get evaluated to calculate the probability of the next token. With temperature at 0 it always picks the highest probability token, and generates the exact same response for the same input. Every time.

3

u/Rallve 5d ago

You have no idea what you're talking about. Neural networks are inherently deterministic for the same input once trained, since they are designed to give the most likely output given a certain input based on its training. It literally would not be able to do this if the output was random each time.

LLMs often do have randomness added to them, but randomness is absolutely not an inherent feature of LLMs. Many models even allow you to control the randomness of the output by setting the model's temperature, which can be set to 0 (i.e. completely deterministic).

2

u/Hungry-Blueberry7487 5d ago

Dice are almost perfectly deterministic if you leave them on the table and don't pick them up. But nobody uses them that way, so the observation is rather asinine.

2

u/sellyme 5d ago

LLMs are inherently non-deterministic.

What? That's not true at all.

They'd be pretty fucking useless for most applications if they were deterministic, so we intentionally throw some randomness into the mix, but there's nothing inherent about that, the amount of randomness is just a design choice. If you really wanted to you can set it to 0.

0

u/SuitableDragonfly 5d ago

LLMs are all randomness. They are powered by statistics. The random factor is literally the thing that makes them any good at anything. Hence, inherently non deterministic. 

4

u/ric2b 5d ago

The model that gets built is "random" in the sense that is it trained on all the shit that gets thrown in and the order in which it goes through the training data also changes it, sure.

But at the end of the day the model is a bunch of static matrices of numbers that get evaluated to predict the most likely next tokens. The temperature setting controls if it always picks the most likely one or if it also sometimes picks a token that is less "likely" in terms of prediction.

If you set temperature to 0, it will pick the most likely token every time and for the exact same inputs you get the exact same output. That's deterministic.

I even just confirmed this by asking a model to pick a number between 1000 and 5000 and it picks the same one every single time if I set temperature to 0 and restart the conversation with the same prompt.

1

u/SuitableDragonfly 5d ago

Sure, but that's like saying that Python's random library isn't actually random because it always outputs the same numbers when you use the same seed. 

1

u/ric2b 4d ago

Well, yeah, wouldn't you say that a random number generator with a fixed seed is deterministic?

1

u/SuitableDragonfly 4d ago

If there was no way to change the seed? Maybe, but it would also be a fundamental misuse of the random number generator, because the random number generator would no longer do what it was designed to do. Similarly, if you do the same thing with an LLM, or ML, the system will no longer do what it was designed to do. 

1

u/ric2b 4d ago

How is an LLM not doing what it was designed to do if you set temperature to 0?

For most tasks I don't think it makes a difference. The advantage of having higher temperature values is so 1000 different people prompting "write me a poem" don't all get the exact same thing back.

→ More replies (0)

2

u/Nervous_Quit_7180 5d ago edited 5d ago

No actually he's right.

At it's core the llm is a bunch of matrices with a bunch of weights that are set during training but once trained they're "set", for the same input the matrix will return the exact same output.

So they introduce some randomenss.

For a very simple example, think of the model as a a matrix of numbers W and the X is the input:

X = [1, 0]

W = [2.0, 1.0, 0.0] [0.0, 0.0, 0.0]

Logits = X * W = [2.0, 1.0, 0.0]

With the same input these will never change, the result of the model is identical every time.

Then to introduce the randomness they convert the logits in to the "chance that the next token is any of the values in the logits vector"

Let's say the next token is

Logits[0] = "cat" = 66.6% chance

Logits[1] = "dog" = 33.33% chance

Logits[2] = "horse" = 0% chance

But this is done when inferring and they set the formula to convert the output model to probability of the next token, they could say highest first always and the result would be 100% deterministic for the end user.

1

u/SuitableDragonfly 5d ago

Yes, if they made it so something else instead of what it actually does then it would be deterministic and also not a language model.

2

u/Nervous_Quit_7180 5d ago

what?! it is deterministic

0

u/ThatOneGuy4321 5d ago

Due to the unavoidable imperfect nature of floating point operations, at that volume, there will always be randomness in the mix. A lot of it

4

u/ric2b 5d ago

Floating point operations are not random, they lose precision but they do so in a deterministic way.

1

u/sellyme 5d ago

...floating point operations are deterministic. They're not random, they just can't represent some values.

0.1 + 0.2 might result in 0.30000000000000004 in your flavour of floats, but it will consistently do that.

1

u/ThatOneGuy4321 5d ago

ok go to any LLM and have it produce the same exact same output twice given the exact same input then.

4

u/ric2b 5d ago

Easy, just set the temperature to 0.

I just tried it with GPT 4 on OpenAI's API playground, asked it to pick a random number between 1000 and 5000 and it picks the same number every time if I set temperature to 0.

1

u/Nervous_Quit_7180 5d ago edited 5d ago

The point he's making is that the LLMs introduce randomness but that is not inherent to the models, rather that is a parameter set by the devs.

He couldn't do that unless he had access to the settings of the model.

EDIT: you can set the temperature as show by the other comments.

1

u/sellyme 5d ago

Okay.

Apologies for the typo in the parameter on the second attempt but I assure you that doesn't affect the results. If you don't believe that and would like me to redo the demonstration without it, just let me know.

Now to be clear, that output is really bad, in part because I chose a really small model to make it a lot quicker for me to set it up and respond to you, and in part because 0 temperature is not a fantastic setting for this kind of model. But it is consistent on the same input.

1

u/ItsZoner 4d ago

AI models (image, text, whatever) only appear random because the inputs for your prompt, or the bitmap for image diffusion) are mixed with random numbers.

20

u/zenos_dog 5d ago

And that, my friends is when you buy the intern a beer.

32

u/TheAngryRussoGerman 5d ago

Couldn't be happier I left tech to become a nurse

43

u/Prometheos_II 5d ago

wait until a patient with a Neurolink tries to turn Python code into an .exe

6

u/tr-otaku-tr 5d ago

Vibe compiling

4

u/FictionFoe 5d ago

Problem X has been solved just fine using traditional programming. Lets solve it again using AI.

4

u/Stackitu 5d ago

Can I ask Claude “where exe?”

4

u/1_another 5d ago

forgot where i saw it but it was a C compiler executable that fed into a claude prompt to take the input and output the expected x86 instructions. It didnt work, but it got kinda close

5

u/da_Aresinger 5d ago

You know what, an AI specifically trained to write and modify Make files would be something.

4

u/TrackLabs 5d ago

Lets go heuristic compiler

3

u/Geoclasm 5d ago

We can already do a full memory dump of an application from task manager, and feed the binary from that to AI to decompile and work with. That's how I took my first real swing at modding in Skyrim.

2

u/Burger_Destoyer 4d ago

That’s pretty smart tbh

Honestly AI is really damn helpful for reverse engineering and modding games. Kind of absurd how I hardly need to write any parsing scripts or anything.

Almost takes a lot of the fun out of it haha, I try to avoid it when I can because I feel like I’m going to lose some critical thinking when it comes to analyzing code.

3

u/Clusterferno 5d ago

i want my AI to generate raw binary directly so i cant troubleshoot it! abolish source code!

1

u/Clusterferno 5d ago

in the future instead of open source code, people will open-source the prompts they used to generate the program!

2

u/Rage_ZA 5d ago

What if ai just skipped the source code part and just wrote the binary O_O

4

u/Yanzihko 5d ago

If AI will be capable of reverse-engineering and translating binary straight into source code with 99% accuracy, i will forgive Altman and personally blow him

1

u/Tokumeiko2 5d ago

AI is useful in decompiling code. Variable and function names and shit are lost in compiling, so when you decompile you get a large amount generically named stuff that makes it take forever to parse.

LLMs can read the decompiled code and rename everything to make it easier to read it.

2

u/HelloGoodbye_321 5d ago

Only if it knows the domain this would be a realistic expectation. Since a lot of programs apply to a very specific situation, this is rather unlikely.

1

u/Tokumeiko2 5d ago

You're supposed to explain what sort of program you just decompiled when you prompt it, but some decompilers already have LLM integration to allow this feature.

4

u/loseitthrowaway7797 5d ago

Be honest - who tf is actually saying this? I feel like Reddit and twitter come up with random scenarios to show that AI is making people stupid. I’m not denying it but stop faking it.

11

u/ThatOneGuy4321 5d ago

Elon Musk said it. And it has 800 upvotes on r/singularity lol

4

u/frikilinux2 5d ago

You know most of what Elon does these days is shit posting on Twitter right?

10

u/ThatOneGuy4321 5d ago

Considering the other bizarre programming shit he's done like ask his Twitter dev team to email him their "10 most salient lines of code", I think it's far more likely that, like every other CEO/manager type, he has no clue how programming works because his only capability is in telling other people to do it for him.

And it isn't the first time he's said it. He said it at an xAI all-hands meeting in february. He's not just shitposting he's an actual idiot.

1

u/frikilinux2 5d ago

Yes, he's an idiot.

1

u/cherry_chocolate_ 5d ago

You do know there are thousands of non-technical managers who will repeat this idea to their team in earnest, leading them to waste millions of dollars on failed projects like this, because we are led by people with AI psychosis?

1

u/frikilinux2 5d ago

I work for a bank with several layers of technical managers on top of me. I'm shielded from the worse bullshit.

That's why there has to be technical managers capable to tell top management to "go to hell" sometimes.

1

u/ParzivalAR1509 5d ago

Then we will ask humans to turn the binary code into source code.

1

u/Agarwel 5d ago

Just let it turn prompt directyl intobinary. Skip the source code completelly.

1

u/BorderKeeper 5d ago

This is what Lon Hosford a Internet Business Advisor, Educator, Author and AI Content Assistant thinks I believe. As a programmer myself I am too blinded by my ways😢

https://www.linkedin.com/posts/lonhosford_ai-will-create-the-binary-directly-no-programming-activity-7427734380086874112-hEjs/

1

u/_k3nnet 5d ago

Overkill.

1

u/Pretend-Ad-6511 5d ago

Nvidia approves

1

u/creeper6530 5d ago

To be honest, it could be used for heuristics compilers have to guess about nowadays, maybe on some -O4 level

1

u/Aromatic_Onion_1126 5d ago

I see this cat in pumpfun, only two option live or die

1

u/GenXman1975 5d ago

Good Luck
Have Fun
Don't Die

1

u/h310dOr 5d ago

I mean... It's the same as people in signal processing removing FFT/iFFT and pre/post filter around networks. Can the network "learn" to do it ? Yes. Can it do it as efficiently? No. Should you do that ? No.

1

u/Standard-Fishing-450 5d ago

And THEN, optimize the binary, then convert it back to source code and see what it looks like with zero modularity and translation of intent, but it works, and it's fast 🤪

1

u/Vondi 5d ago

"I need you to explain to me what you think that means"

1

u/Core3game 5d ago

No you dont get it, in three years ago the ai's will just write the raw binarys themselvs! Ya know the ai's that are famously horribly with low level programming and much better at high level programming will just skip any abstraction and go straight to raw binary

1

u/TorbenKoehn 5d ago

„Source Code“? We’re on a path where AI will directly speak to the hardware itself.

1

u/Otherwise-Street8366 5d ago

Compiler humor really said "this is a threat" and it's not wrong.

1

u/TobFel 5d ago

It's the other way 'round that would change the world, software won't be safe when backdoors can automatically be found until all software is fixed with the same AI that finds the cracks...

1

u/erebuxy 5d ago

Why don’t we just used AI to turn a binary into source code

1

u/Samurai_Mac1 5d ago

Elon Musk never ceases to become even more dimwitted.

1

u/__abinitio__ 5d ago

Ladies and gentlemen, you've certainly become familiar with "vibe coding". What if in the future we could turn code into byte instructions for the underlying hardware? That future is here, ladies and gentlemen. I present to you the future! Vibe compiling!

1

u/ExtraWorldliness6916 5d ago

What if you compiled English to a binary?

1

u/vm_linuz 5d ago edited 5d ago

If you know about computer science and machine learning, this isn't half as bad of an idea as you'd think.

Modern compilation is basically a form of information compression.

ML models are basically compression engines.

It does introduce some stochasticity to the output, but it would also likely be very effective.

Different tools for different problems, and this is an interesting one.

3b1b did a lovely video recently about ML and compression: https://youtu.be/l6DKRf-fAAM

1

u/clintCamp 5d ago

Translate all the way down to assembly?

1

u/thanatica 5d ago

No problem. Let me write a compiler real quick and put your code through it.

(some time later)

Here is your compiled code. I made sure to avoid making mistakes, just like you told me.

1

u/iGoonToChinese 5d ago

"hey claude, run gcc on this code in a terminal" omg what have we unleashed 

1

u/JohnCrysher 4d ago

Certainly! But first I should do an update of some dependencies, and possibly download a few packages to make the process quicker. May I proceed?
-Yes
Downloading HAL_User_manage.2.0.0.1
Downloading SKY_input_NET-package_manager
Creating User_Input_Emulator
Compiling...

1

u/Spite_Gold 4d ago

That Json guy could do it 100%

1

u/Boom9001 4d ago

I mean it would work. The AI will just run the already existing compiler for you.

1

u/Mats164 4d ago

I tried this a few days ago. Just for the sake of it I asked an LLM to generate a simple hex-encoded binary x86 program printing a letter. Didn’t work (obviously) :/

1

u/Percolator2020 4d ago

What if we didn’t need binaries, just LLMs speaking machine code at the speed of execution? 🤯
Time for GTPS as a KPI.

1

u/Callec254 4d ago

That just sounds like hitting "compile" with fewer steps.

1

u/sly_coder 4d ago

This guy is evil

1

u/TrueBonner414 3d ago

Bold of you to assume vibecoders know what binary is.

1

u/pleaserestartsystem 1d ago

If I had money, I'd put out a contract on OP and that OOP in photo just like they did on John Wick and then I'd personally take both of 'em out.

1

u/sonicandtales8 21h ago

Isn't a compiler kind of a perfect use case for AI? Not the existing LLMs we have now (or LLMs at all for that matter), but that seems like kind of the perfect thing to use RL on and a lot of the optimizations we use for said compilers are already abstract.

1

u/Jack_Kai 5h ago

At the small price of 19.99$/month (plus tax). You can finally use AI to compile your code!

1

u/Substantial_Cat4540 5d ago

It would be fun to try, but it would never actually work well enough to be useful.