this post was submitted on 20 Sep 2023
696 points (99.3% liked)

Technology

56011 readers
3180 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

AppLovin’s attempts to acquire Unity last year turned sour when Unity opted for a merger with rivals ironSource instead . Now, in the ongoing shockwave of Unity's unpopular introductio...

top 50 comments
sorted by: hot top controversial new old
[–] Dangdoggo@kbin.social 84 points 10 months ago (1 children)

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

[–] match@pawb.social 150 points 10 months ago (3 children)

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

[–] narwhalperson@lemmy.blahaj.zone 43 points 10 months ago

That’s actually pretty hilarious.

[–] YMS@kbin.social 24 points 10 months ago (3 children)

Does ChatGPT's code get better if you include "You're an expert in that language" in the prompt?

[–] match@pawb.social 28 points 10 months ago

Well, it will get worse if you tell it they're an absolute fuckup

[–] Natanael@slrpnk.net 22 points 10 months ago

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).

[–] drislands@lemmy.world 6 points 10 months ago (2 children)

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.

[–] EncryptKeeper@lemmy.world 7 points 10 months ago* (last edited 10 months ago)

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.

[–] Jerkface@lemmy.world 5 points 10 months ago

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.

[–] Dangdoggo@kbin.social 11 points 10 months ago (1 children)

I'm pretty interested to see the prompt they use for Unreal

[–] PoorlyWrittenPapyrus@lemmy.world 19 points 10 months ago

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.

[–] WhyJiffie@sh.itjust.works 65 points 10 months ago (5 children)

It's interesting to me that articles mention godot before unreal. I mean this is not the first time I see it

[–] lowleveldata@programming.dev 61 points 10 months ago (3 children)

There is a potential chance of unreal doing the same stupid shit afterall

[–] Veraxus@kbin.social 41 points 10 months ago* (last edited 10 months ago) (7 children)

Not a chance, and definitely not time soon.

There are certain indicators for enshittification, and Epic (like Valve) doesn't meet any of them.

  1. 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.
  2. It is still lead by one of it's founders.
  3. 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.

[–] Dark_Arc@social.packetloss.gg 14 points 10 months ago (1 children)

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.

[–] VonReposti@feddit.dk 10 points 10 months ago* (last edited 10 months ago) (1 children)

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.

load more comments (1 replies)
[–] YMS@kbin.social 6 points 10 months ago

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).

[–] lowleveldata@programming.dev 2 points 10 months ago

I'm not saying it's going to happen. Still there's a chance of stupid COP shits happening when compared to open source.

[–] PlexSheep@feddit.de 1 points 10 months ago

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.)

load more comments (3 replies)
[–] Why9@lemmy.world 16 points 10 months ago* (last edited 10 months ago) (1 children)

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!

[–] Jimmycrackcrack@lemmy.ml 14 points 10 months ago (1 children)

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.

[–] prole@sh.itjust.works 2 points 10 months ago

Capitalism is trash-tier

[–] gila@lemm.ee 13 points 10 months ago (2 children)

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.

[–] unexpectedteapot@lemmy.ml 8 points 10 months ago (2 children)

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.

[–] gila@lemm.ee 3 points 10 months ago (1 children)

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.

[–] Maven@lemmy.sdf.org 11 points 10 months ago (2 children)

Unity also had that clause

In fact, they tried to delete it after their announcement

[–] halcyoncmdr@lemmy.world 7 points 10 months ago

Yup, they actually removed the entire GitHub repo that they made specifically to track those changes for transparency.

[–] gila@lemm.ee 4 points 10 months ago* (last edited 10 months ago)

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.

[–] Veraxus@kbin.social 1 points 10 months ago

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.

https://www.unrealengine.com/en-US/eula/unreal

[–] halcyoncmdr@lemmy.world 18 points 10 months ago (3 children)

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.

[–] KSPAtlas@sopuli.xyz 6 points 10 months ago (1 children)

Unity C# and Godot C# havr different APIs and writing in GDScript is best practise in godot afaik

[–] murtaza64@programming.dev 3 points 10 months ago

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.

[–] jayrhacker@kbin.social 4 points 10 months ago (1 children)

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.

[–] zik@aussie.zone 2 points 10 months ago

Godot supports C# as well as its native python-like GDscript.

[–] sirspate@kbin.social 4 points 10 months ago

I mean, UnrealCLR exists

[–] fluxion@lemmy.world 6 points 10 months ago

Makes sense to not immediately jump into another walled garden if you have the option.

[–] mojo@lemm.ee 60 points 10 months ago (1 children)

I think they're really overestimating ChatGPT's ability to code. Also how do they plan on fitting a context that big.

[–] petersr@lemmy.world 4 points 10 months ago

It's is probably more of sending a message.

[–] anon5621@lemmy.ml 18 points 10 months ago* (last edited 10 months ago)

Finnanly ,game dev maybe will start moving in open source side.

[–] p03locke@lemmy.dbzer0.com 8 points 10 months ago

AppLovin’s attempts to acquire Unity

I don't think the journalist quite understands the relationship here.

[–] MrCharles@lemmy.world 7 points 10 months ago

Oh... Oh that is beautiful. Just chef's kiss