blazebra

joined 2 years ago
[–] blazebra@programming.dev 2 points 1 year ago (3 children)

If you’d have any user input, this would break it. Even if you emulate it using key codes later, localisation will be hard

[–] blazebra@programming.dev 1 points 1 year ago (1 children)

Does it still work?

[–] blazebra@programming.dev 1 points 1 year ago

Thank you for sharing the source in the first place.

I personally prefer projects/libraries with more permissive licenses than AGPL.

In terms of reinventing wheels… you precisely told why people do that: learning an engine. I’d use it to create an offline version of my favourite card games, but also, how to discover others think during game development. Latter for me is also important if I’d like to understand mindset how to create things more effectively.

About support… it’s actually hard to say what do you want to achieve. Making an app, library, a game by yourself? Sharing achieved results with community? Find others who can enjoy to create a game in a team with less requirements as there’s in companies?

[–] blazebra@programming.dev 2 points 1 year ago

Integer sqrt can be used for integers with any length, not only for integers fit into f64

[–] blazebra@programming.dev 1 points 1 year ago (2 children)

Integer sqrt is usually not a library function and it’s very easy to implement, just a few lines of code. Algorithm is well defined on Wikipedia you read a lot. And yes, it doesn’t use FPU at all and it’s quite fast even on i8086.

[–] blazebra@programming.dev 1 points 1 year ago (4 children)

Algorithm is so plain and simple, it doesn’t require nightly or Rust specifically to implement.

[–] blazebra@programming.dev 2 points 1 year ago (6 children)

Nice article, I enjoyed it. Why float sqrt has been used? Integer sqrt is way faster and easily supports integers of any lengths

[–] blazebra@programming.dev 5 points 1 year ago

Could you please explain why he should be embarrassed by such post? What would you improve?

view more: ‹ prev next ›