this post was submitted on 20 Sep 2023
648 points (99.4% liked)

Technology

58061 readers
31 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...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 79 points 1 year ago (7 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

[–] [email protected] 133 points 1 year ago (6 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

[–] [email protected] 10 points 1 year ago (1 children)

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

[–] [email protected] 17 points 1 year 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.

load more comments (4 replies)
load more comments (4 replies)