Remix.run Logo
rlili 6 hours ago

Makes me wonder if decompilation could eventually become so trivial that everything would become de-facto open source.

jasonjmcghee 4 hours ago | parent | next [-]

It would be "source available", if anything, not "open source".

> An open-source license is a type of license for computer software and other products that allows the source code, blueprint or design to be used, modified or shared (with or without modification) under defined terms and conditions.

https://en.wikipedia.org/wiki/Open_source

Companies have been really abusing what open source means- claiming something is "open source" cause they share the code and then having a license that says you can't use any part of it in any way.

Similarly if you ever use that software or depending on where you downloaded it from, you might have agreed not to decompile or read the source code. Using that code is a gamble.

mkatx an hour ago | parent | next [-]

So instead of reverse engineering.. an llm/agent/whatever could simply produce custom apps for everyone, simply implementing the features an individual might want. A more viable path?

DrNosferatu 3 hours ago | parent | prev | next [-]

But, for example, isn't Cannonball (SEGA Outrun source port) open source?

https://github.com/djyt/cannonball

jasonjmcghee 2 hours ago | parent [-]

No it is not. There is no license in that repository.

Relevant: https://github.com/orgs/community/discussions/82431

> When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.

https://choosealicense.com/no-permission/

sa1 4 hours ago | parent | prev | next [-]

But clean room reverse engineered code can have its own license, no?

vunderba an hour ago | parent | next [-]

In fact, the story of how Atari tried to circumvent the lockout chip on the original NES is a good example of this.

They had gotten surprisingly close to a complete decompilation, but then they tried to request a copy of the source code from the copyright office citing that they needed it as a result of ongoing unrelated litigation with Nintendo.

Later on this killed them in court.

simonw 4 hours ago | parent | prev [-]

Yeah, I think it can. I'm reminded of the thing in the 80s when Compaq reverse engineered and reimplemented the IBM BIOS by having one team decompile it and write a spec which they handed to a separate team who built a new implementation based on the spec.

I expect that for games the more important piece will be the art assets - like how the Quake game engine was open source but you still needed to buy a copy of the game in order to use the textures.

yieldcrv 2 hours ago | parent | prev [-]

Open source never meant free to begin with and was never software specific, that’s a colloquialism and I’d love to say “language evolves” in favor of the software community’s use but open source is used in other still similar contexts, specifically legal and public policy ones

FOSS specifically means/meant free and open source software, the free and software words are there for a reason

so we don’t need another distinction like “source available” that people need to understand to convey an already shared concept

yes, companies abuse their community’s interest in something by blending open source legal term as a marketing term

viraptor 39 minutes ago | parent | next [-]

This is not a space for "language evolves". Open source has very specific definitions and the distinctions there matter for legal purposes https://opensource.org/licenses

yieldcrv 29 minutes ago | parent [-]

the software community is the one trying to evolve the language in favor of this software license specific use case

jasonjmcghee 2 hours ago | parent | prev [-]

Whether or not something is "free" is a separate matter and subject to how the software is licensed. If there is no license it is, by definition "source available", not open source. "source available" is not some new distinction I'm making up.

See my other comment: https://news.ycombinator.com/item?id=46175760

johnfn an hour ago | parent | prev | next [-]

Surely then people start using LLMs to obfuscate compiled source to the point that another LLM can’t deobfuscate it. I imagine it’s always easier to make something messy than clean. Something like a rule of thermodynamics or something :)

Though, that’s only for actively developer software. I can imagine a great future where all retro games are now source available.

tuhgdetzhh an hour ago | parent [-]

But on the other hand, at the current speed of LLM progression, a game that might have been obfuscated with the help of Opus 4.5 might in two years be decompiled within hours by Opus 6.5.

3 hours ago | parent | prev | next [-]
[deleted]
VikingCoder 5 hours ago | parent | prev | next [-]

I wonder when you're never going to run expensive software on your own CPU.

It'll either all be in the cloud, so you never run the code...

Or it'll be on a chip, in a hermetically sealed usb drive, that you plug in to your computer.

tcdent 4 hours ago | parent | prev | next [-]

That's definitely a possible future abstraction and one are about the future of technology I'm excited about.

First we get to tackle all of the small ideas and side projects we haven't had time to prioritize.

Then, we start taking ownership of all of the software systems that we interact with on a daily basis; hacking in modifications and reverse engineering protocols to suit our needs.

Finally our own interaction with software becomes entirely boutique: operating systems, firmware, user interfaces that we have directed ourselves to suit our individual tastes.

ashoeafoot 3 hours ago | parent [-]

[dead]

DrNosferatu 4 hours ago | parent | prev | next [-]

This day will arrive.

And it will be great for retro game preservation.

Having more integrated tools and tutorials on this would be awesome.

js8 5 hours ago | parent | prev | next [-]

Yes, I believe it will. What I predict will happen is that most commercial software will be hosted and provided through "trusted" platforms with limited access, making reverse engineering impossible.

Aeolun 4 hours ago | parent | prev | next [-]

When the decompilation like that is trivial, so is recreation without decompilation. It implies the LLM know exactly how thins work.

Xmd5a 6 hours ago | parent | prev [-]

This deserves a discussion

ronsor 6 hours ago | parent | next [-]

I've used LLMs to help with decompilation since the original release of GPT-4. They're excellent at recognizing the purpose of functions and refactoring IDA or Ghidra pseudo-C into readable code.

galangalalgol 6 hours ago | parent | next [-]

How does it do on things that were originally written in assembly?

saagarjha 5 hours ago | parent [-]

This is typically easier because the code was written for humans already.

euroderf 5 hours ago | parent | prev [-]

Someone please try this on an original (early 1980s) IBM-PC BIOS.

mh- an hour ago | parent [-]

Got a bin?

stevemk14ebr 5 hours ago | parent | prev [-]

We're very far away from this.