2
submitted 3 weeks ago by [email protected] to c/[email protected]

cross-posted from: https://programming.dev/post/15696807

That was a hard long adventure, massive refactoring with bug-fixing 🥵

20
submitted 3 weeks ago by [email protected] to c/[email protected]

That was a hard long adventure, massive refactoring with bug-fixing 🥵

[-] [email protected] 7 points 1 month ago

Trying to reduce compilation time, reconfiguring underlying cargo’ build-ctx or just riding off the context and using only build-plan and metadata by host cargo & rustc in the cargo-playdate tool.

64
submitted 2 months ago by [email protected] to c/[email protected]

#rust #rustlang

17
submitted 2 months ago by [email protected] to c/[email protected]

I really love and regularly use a split keyboard.

I’ve been hoping to fix these bugs for many years, for a very long time. The bug has been reported many times by me and other suffering users. No changes in all these years.

4
Lifetime of a game (mastodon.gamedev.place)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

Developer — “From start to the latest patch”
;

Publisher — “From deal to while the sales are at an acceptable level or the terms of the contract have not yet been fulfilled”;


Gamer — “Since I found out about the game and while I come back to it and play”.

23
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I’m working on a big project in #Rust, there is toolset and API for #Playdate.

All going great, moving to stabilization step by step, but I’m tired of looking at the dull 90⭐️. Seriously, could you please throw me into the trends of the github, please! ❤️‍🔥

Project repository, mastodon.

1
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I’m working on a big project in #Rust, there is toolset and API for #Playdate.

All going great, moving to stabilization step by step, but so tired of looking at the dull amount ⭐️.

Project repository, mastodon.

[-] [email protected] 11 points 3 months ago

Did author knows about difference between static and dynamic dispatch? 🤦🏻‍♂️

234
submitted 3 months ago by [email protected] to c/[email protected]
24
submitted 6 months ago by [email protected] to c/[email protected]

Just discovered a f*-incredibly useful thing!

Lib.rs Maintainer Dashboard is like brew doctor but for your crates on crates.io & docs.rs ❤️‍🔥

It shows outdated deps, docs build errors and a lot of other various things - for all of your crates.

I'm thrilled with the find!

[-] [email protected] 13 points 7 months ago

Unison stores code in a database.

🫣🤨

[-] [email protected] 12 points 8 months ago* (last edited 8 months ago)

Not Electron but yes unfortunately. It uses Ionic that isn’t native, but as declared “native-quality”, that means “mostly looks like native” but that’s not so 🤷🏻‍♂️. But anyway Voyager is cool. It could be really better with real native UI onboard of course.

[-] [email protected] 9 points 8 months ago

I love ligatures and Fira Code (retina) is the best and absolutely comfortable for me.

8
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]

Every time when I start using my AirPods, iOS shows me that roll-over. Every single time!

How to disable this behavior?

Please, any suggestions?

10
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]

Could be awesome to support app invocation from browser (or any) with url of a post/community/etc.., if host in the url is lemmy instance.

In details, there’s two options:

  1. Isolated app-only url schema, like “lemmy://lemmy.ml/a/some”
  2. Universal, same as implemented in other apps like YouTube, Twitter, GitHub. It should catch urls starting with any-of host of list of lemmy hosts.

Second option is better.

Actual list of hosts can be determined from https://fedidb.org/ or https://www.fediversesearch.com/ and also, I suppose, can be hardcoded to app/bundle manifest at compile-time.

2
Gruntz! on aarm64 (programming.dev)
submitted 8 months ago by [email protected] to c/[email protected]

Trying to configure dosbox-x to properly wrap Gruntz with network support for multiplayer. Any suggestions?

[-] [email protected] 8 points 8 months ago* (last edited 8 months ago)

More langs for the God of Langs!

[-] [email protected] 4 points 8 months ago* (last edited 8 months ago)

Kind of destiny 🤦🏻‍♂️

I started programming when I was in primary school. And I liked it very much, even though I didn't understand much even then. But it was impossible to stop and here I am writing this after about 30+ years.

What exactly attracted me - my father soldered a Russian clone of the Sinclair ZX Spectrum, showed me a couple of games loaded from a tape cassette, and I was curious how it works.

[-] [email protected] 33 points 8 months ago

More than ten years ago, I was a team-lead in a game development company and during another crunch I was very overloaded with tasks, including a code review. And of course, I missed some things. We optimized the game, which in general did not do 30 fps on the target machine with minimum requirements, and the target was at least 40 fps. During the month, we jointly optimized everything so that we were able to achieve almost stable 40 frames, but this was not enough and periodically there were drawdowns up to 15-20 fps. Everyone is in panic, there are no ideas, we’re optimized everything.

No, I understand that there is no optimization limit apriori, but I mean an adequate opts without rewriting everything to assembler specifically for all supported architectures.

So, one night I looked into the event loop initialization and found that the initialization happens twice. Twice. Two parallel event loops. That is, two parallel cycles of logic and state updates. That night, by deleting one line, I optimized the performance of the game by more than 100%. 🤦🏻‍♂️

I investigated and found out that this line of secondary initialization was left by junior "for debugging" and forgotten in the crunch. And I missed it on the review.

I’ve keep this story a secret all these years. And now I'm not revealing names. Otherwise, it can have a dramatic impact on the careers of many.

[-] [email protected] 6 points 8 months ago

❤️‍🔥

[-] [email protected] 6 points 8 months ago

I’m sure we need a bot for lemmy or entire fediverse that will search posts like this 👆 and do comment with “normal” link. That will be great. I saw something like that in the Masto for YouTube.

[-] [email protected] 10 points 10 months ago

Hmm 🤔 something new for me. I’m in love with exa. What’s wrong with that?

[-] [email protected] 15 points 11 months ago* (last edited 11 months ago)

Testing interface is not about exactly interface as language’s feature. It’s about testing outer public interface (public API) of you things, looking at it as a black-box and doesn’t matter what happens inside. That's all it means.

view more: next ›

fzz

joined 11 months ago