programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
maxint to ProgrammingEnglish · 4 months ago

Migrating away from Rust [gamedev]

deadmoney.gg

external-link
message-square
40
link
fedilink
  • cross-posted to:
  • [email protected]
87
external-link

Migrating away from Rust [gamedev]

deadmoney.gg

maxint to ProgrammingEnglish · 4 months ago
message-square
40
link
fedilink
  • cross-posted to:
  • [email protected]
Migrating away from Rust.
deadmoney.gg
external-link
When I started building Architect of Ruin in December 2023 I chose to build it in the Bevy game engine. My choice was motivated by a pers...
  • FizzyOrange
    link
    fedilink
    arrow-up
    4
    ·
    4 months ago

    Games might be an area where it isn’t too bad since you can disable the GC while doing all your physics and graphics, and then just after you’ve dispatched a frame trigger a GC with a hard time limit.

    I don’t know if Unity works like that but it should.

    • Mihies
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      I don’t think that’s even possible - to have that much control over GC engine that is.

      • FizzyOrange
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        It definitely is.

        https://stackoverflow.com/a/32007523/265521

        • Mihies
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          It’s not trivial as it seems. See https://github.com/dotnet/runtime/issues/37667 and enhancement that happened only in .NET 8.

          • FizzyOrange
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            Interesting. From the sounds of it Unity added their own API for it though.

Programming

programming

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 204 users / day
  • 828 users / week
  • 3.21K users / month
  • 8.05K users / 6 months
  • 2.81K local subscribers
  • 22.2K subscribers
  • 2.41K Posts
  • 38.5K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • MaungaHikoi@lemmy.nz
  • UlrikHD
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org