bin.pol.social

southernwolf, do games w r/Silksong joins lemmy!
@southernwolf@pawb.social avatar

Wunderbar! Welcome to Lemmy and the Fediverse! ^_^

UncleOb, do games w r/Silksong joins lemmy!
@UncleOb@lemmy.world avatar

Welcome, friends! As a recent convert myself I’m so happy to see more community joining the fediverse

FirmDistribution, do games w r/Silksong joins lemmy!

This is a perfect partnership! Federated social medias and indie games. It’s the small guys getting together!

TehPers, do gaming w Do you think my games should have optional calls to assembly functions for certain CPUs and GPUs if possible.

Do you want to? Go for it.

Does your game crawl? Have you identified this code as the bottleneck? Are you certain that asm will give you a meaningful performance increase, and that your issue doesn’t lie with your approach to the problem? Sure, I guess. You said your game runs fine though, so this probably doesn’t apply.

Is your game fast already? If you don’t want to do it, don’t.

Writing asm by hand is almost always a waste of time. There are only a few times where it’s actually necessary, and unless you’re writing a bootloader and running your game on bare metal, I can’t imagine why it’d be necessary. But you know your code better than anyone else here, so you should know whether it’s needed or not more than any of us do.

To begin with, you’re apparently targeting the Z80, which I haven’t seen used for games in the wild… probably in my entire life? Maybe an arcade machine I played on once used it, but I can’t think of any other times. If your targets need custom assembly, then you should already know that. We don’t know your targets.

JPAKx4, do games w r/Silksong joins lemmy!

That’s awesome news!

blazeknave, do games w r/Silksong joins lemmy!

And your first link ever is to Reddit…

ssnoer,
@ssnoer@indie-ver.se avatar

Yea, that is to the post announcing we created this community. In hindsight, not the best decision.

Mondez, do gaming w Do you think my games should have optional calls to assembly functions for certain CPUs and GPUs if possible.

I would argue that if your games are already performant on the platforms you care about that you would get diminishing returns. The only reason to experiment with specialist asm would be for your own experience and enrichment which is a perfectly reasonable reason to pursue it.

It’s probably not worth comparing to an OS where even shaving a few cycles off of code that runs all the time on millions of computers across the world would end up with significant impact.

  • Wszystkie
  • Subskrybowane
  • Moderowane
  • Ulubione
  • NomadOffgrid
  • test1
  • krakow
  • Gaming
  • muzyka
  • fediversum
  • esport
  • FromSilesiaToPolesia
  • tech
  • Cyfryzacja
  • warnersteve
  • rowery
  • healthcare
  • m0biTech
  • Psychologia
  • Technologia
  • niusy
  • MiddleEast
  • ERP
  • Spoleczenstwo
  • sport
  • informasi
  • turystyka
  • Blogi
  • shophiajons
  • retro
  • Travel
  • Radiant
  • Wszystkie magazyny