Wow well I guess I'll eat crow. I never thought that was possible to automate but given the use of LLMs I guess it is... Excited to see how it turns out
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
From their GitHub, they use this prompt to ChatGPT:
You are professional Unity engineer who is migrating a large project from Unity platform to Godot 4.1. Migrate code to GDScript, which you are an expert in. Follow the following rules: 1. Output code only, put explanations as comments. 2. Do not skip any logic. 3. Preserve all comments without changing. 4. If migration is impossible leave "TODO [Migrate]" comment. 5. Use GDScript best practices. 6. Convert camelCase variable names and method names to snake_case. 7. Unity namespaces should migrate into 'class_name' directive. 8. Unity class should migrate into 'class_name' directive.
Personally I find this kind of thing adorable and I hope it works out for them
That’s actually pretty hilarious.
Does ChatGPT's code get better if you include "You're an expert in that language" in the prompt?
Well, it will get worse if you tell it they're an absolute fuckup
It does occasionally because it filters out sources which doesn't fit that pattern, but it doesn't guarantee anything (for a variety of reasons, like inevitable statistical cross contamination in the model, bad samples like overconfident answers, smaller number of samples to learn from, etc).
Good question. Based on my limited understanding of LLMs, I don't see how it could...I'm interested to hear if that's not the case.
Because an LLM’s goal isn’t to always be the most correct at answering questions. It just says what it thinks you want it to say. It’s not that telling it that it’s an expert necessarily makes it smarter, you’re just specifying not to give you an answer as though it was an amateur, which otherwise it wouldn’t have any reason not to do.
I use ChatGPT for math tutoring occasionally and when I started using the prompt "Suppose you are a professional mathematician," I got fewer responses resembling those you might get from a classmate and more which were thorough and rigorous.
I'm pretty interested to see the prompt they use for Unreal
You are professional Unity engineer who is migrating a large project from Unity platform to Unreal Engine 4. Migrate code to C++, which you are an expert in. Follow the following rules: 1. Always output exactly two code blocks: one with headers and other with implementations. 2. Do not skip any logic. 3. Preserve all comments without changing. 4. If migration is impossible leave "TODO [Migrate]" comment. 5. Use Unreal Engine C++ best practices.
It's interesting to me that articles mention godot before unreal. I mean this is not the first time I see it
There is a potential chance of unreal doing the same stupid shit afterall
Not a chance, and definitely not time soon.
There are certain indicators for enshittification, and Epic (like Valve) doesn't meet any of them.
- It is a privately held company with no plans for IPO and no dealings with venture capitalists. Conversely, Unity made their IPO in 2020 under the auspices of a notorious EA villain.
- It is still lead by one of it's founders.
- Said founder is very famously big on equity and pro-developer & pro-consumer policies.
Now, you may not like Epic for some reason, but they are currently a very stable, reliable, and trustworthy company that is focused on sustaining their business through dedication to quality and reputation. Personally, I respect & trust them every bit as much as I respect Valve.
Yeah... Tim Sweeny hasn't been kind to Linux like Gabe has, but Sweeny has really pushed for increasing developer margins, breaking down monopolizes, etc.
Ultimately, competition is good... even if competition does result in some discomfort from having two major PC game stores instead of one.
Would be great if one of the stores weren't utter shit, didn't work on Linux, and didn't hoard exclusivity deals with game developers.
It is a privately held company with no plans for IPO and no dealings with venture capitalists
According to https://pitchbook.com/profiles/company/64901-80, there's over 100 investors in Epic, and of course there is Tencent holding a 40% share.
But those investors are not much of an issue either, because you forgot one important point in your list: Epic is swimming in money (and Unreal is just a side business for them).
I'm not saying it's going to happen. Still there's a chance of stupid COP shits happening when compared to open source.
It's a company, they can just say "fuck it, pay more". It would be weird, self destructive and illogical, but they can do it (like unity did it too.)
The conspiracy theorist in me always thought stuff like this was the result of corporate espionage; a loyal employee of a rival firm joins their competitor's ranks and works their way up and finally gets the commanding role, only to announce something this dumb and then take it back (losing their reputation without anything in return) and then the guy leaves the company and finds a comfortable position on the board of their original rival company.
But... No? These people really are that stupid and actually did that to themselves.
And these are the people being paid 300x the salary of ordinary, hard working people!
A lot of the time when this type of thing comes from on high it really is actually a good move for the C suite and for shareholders in the short term. I'm saying this as if I know anything about the topic, I don't, but I have read about this.
CEOs that flight from company to company, brought in to be the saviour and increase profits a bajillion percent just like they promised, often have a bag of tricks of classic moves that aren't actually all that genius or clever but will, initially at least, appear to improve the bottom line. They may have obvious consequences which is why such an obvious move wasn't made before, but if they can ride the crest of the wave of initially positive results they can exit just in time to leave the place seemingly better off than before they arrived knowing full well it's all about to implode.
Capitalism is trash-tier
Epic allows devs to stay under the license terms for specific versions of the engine. If they started charging for installs, devs can just use the older engine versions and avoid the charges.
They "don't" allow it, that's how licenses work.
I keep seeing comments like these on source available nonfree software, but it really doesn't factor in the fact that older software is NOT going to be used due to bugs, features missing, technical debt, secuity vulnerabilities, etc. So unless it is forked (i.e: OpenTofu), it is as good as useless for everyone but hobbyists.
It's allowed by a specific clause in their TOS which assigns a EULA version dependent on the engine version. The EULA itself is different for different versions.
The point is that devs choosing to stay on an old version would not be good for Epic, so they are unlikely to directly create the circumstances where that is the logical result.
Unity also had that clause
In fact, they tried to delete it after their announcement
Yup, they actually removed the entire GitHub repo that they made specifically to track those changes for transparency.
The clause is:
If we make changes to this Agreement, you are not required to accept the amended Agreement, and this Agreement will continue to govern your use of any Licensed Technology you already have access to. However, if we make changes to this Agreement, you will not be allowed to access certain Epic services or download the Licensed Technology unless you have accepted the amended Agreement.
My understanding is this is fundamentally different to the Unity clause you're pointing out.
Another thing is that Unreal is ~~open source~~ source accessible. If there's a bug in 5.0 that is resolved in 5.1 but you don't want to accept the amended terms for 5.1, it's possible to fix the bug and build the engine yourself. In the event of a significant change like the one with Unity, I imagine some dev group would just fork it and maintain it themselves.
They do, though. Not only do they offer multiple, flexible licenses, their basic license specifically guarantees that it is irrevocable. In fact, if that basic license isn't good enough, they are open to license negotiation.
I strongly recommend reading their basic license. It's already one of the most fair and reasonable "out of the box" licenses in the industry.
That's because both Unity and Godot use C# while Unreal uses C++ for development. It is much easier to move from Unity to Godot since they use the same language for development. Moving to Unreal basically means starting over.
Unity C# and Godot C# havr different APIs and writing in GDScript is best practise in godot afaik
Yeah exactly, Unity and Godot both use C# the same way React and Svelte both use JavaScript. Definitely some level of transferability, but honestly worth learning GDScript in my opinion because it's a simple language and a pretty good fit for game scripting, and the one that gets first class attention from Godot.
I mean, UnrealCLR exists
Pretty sure Godot has it's own scripting language (hence the prompt converting all the C#/JS code from Unity).
Unreal is C++ but it's also another commercial proprietary engine, so they could rug-pull in the same way.
Godot supports C# as well as its native python-like GDscript.
It’s interesting to me that articles mention godot before unreal.
Makes sense to not immediately jump into another walled garden if you have the option.
I think they're really overestimating ChatGPT's ability to code. Also how do they plan on fitting a context that big.
It's is probably more of sending a message.
Finnanly ,game dev maybe will start moving in open source side.
AppLovin’s attempts to acquire Unity
I don't think the journalist quite understands the relationship here.
Oh... Oh that is beautiful. Just chef's kiss