Schrottkatze schrottkatze
schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 19:26:35 +00:00
WIP: image processing library (or libraries?)
  1. worse debuggability

i have an idea what one could do for that, I'll be implementing that soon-ish when i have the energy

  1. when writing fn runner() as opposed to a direct fn eval(&Inputs…
schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 19:21:28 +00:00
WIP: image processing library (or libraries?)

The intention is to perfect the api beforehand, and tbh, you'll be the only other person reviewing stuff anyway. And wdym "editing them easily", tbh i find editing text in my editor much, much

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 11:48:11 +00:00
WIP: image processing library (or libraries?)

As I've just realized because I was trying to implement ToOwned/AsRef, it isn't even necessary to have a seperate DataRef, so i removed that entirely and... who would've thought, it's much…

schrottkatze pushed to proc-libs at schrottkatze/iowo 2024-02-23 11:46:44 +00:00
a3e357a0e7 simplified by entirely removing DataRef
c900a0f4b3 prowocessing: let-else refatoring as according to review
ddc1f935c6 prowocessing: apply most basic reviews
Compare 3 commits »
schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 11:02:34 +00:00
WIP: image processing library (or libraries?)

Unless I misunderstood rusts dyn, this avoids the overhead of dynamic dispatch by saving static function pointers, which can just be called on the fly

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 10:56:30 +00:00
WIP: image processing library (or libraries?)

this is heavily WIP, remember, these are experiments. There will not be a seperate PR until this is not only out of experimental state, but a functioning image processing library that has all…

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 10:54:30 +00:00
WIP: image processing library (or libraries?)

because i wanted to do second params like that originally, then realizing it doesn't work that "easily". so basically, still WIP

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:47:37 +00:00
WIP: image processing library (or libraries?)

probably gonna refactor this to not panic in the future and add proper handling (Results lol)

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:45:34 +00:00
WIP: image processing library (or libraries?)

I did that deliberately to not trigger the lint, but I'll fix that and properly do it after fixing your simpler reviews

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:43:36 +00:00
WIP: image processing library (or libraries?)

did the renaming, gonna take care of the AsRef impl later (I remember trying that earlier and something causing problems, i forgot what that was though.)

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:41:21 +00:00
WIP: image processing library (or libraries?)

Inputs only contains a Vec of Data which either contains a string slice or an integer, which are really cheap to clone. OwnedData would be much heavier to clone in this case.

(I'm…

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:37:03 +00:00
WIP: image processing library (or libraries?)

ah yes, rust-analyzer loves completing full paths lol

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:32:38 +00:00
WIP: image processing library (or libraries?)

nope, changing that

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:32:03 +00:00
WIP: image processing library (or libraries?)

that's what i already mentioned, that i prefer playing around like that

sure, can do that, but i much prefer having them run like that and output there so i can see it more or less interactively. …

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:29:49 +00:00
WIP: image processing library (or libraries?)

Doesn't work since find_config_file returns an owned value and the other value is unowned, if i add .as_ref() to the find_config_file call, it doesn't work either since then it's a temporary…

schrottkatze commented on pull request katzen-cafe/iowo#12 2024-02-23 09:22:34 +00:00
WIP: image processing library (or libraries?)

ah cargo keeps doing that and i keep forgetting when adding new crates lol

schrottkatze pushed to main at schrottkatze/schule-pong 2024-02-23 07:37:17 +00:00
11f9fecba1 basic refactoring
b8d27eb909 add field and themeing
Compare 2 commits »
schrottkatze pushed to main at schrottkatze/schule-pong 2024-02-23 07:12:10 +00:00
c2cb73fbc7 get rendering semi fixed
schrottkatze pushed to main at schrottkatze/schule-pong 2024-02-22 17:10:47 +00:00
93af87b482 add moving objects and stuff
schrottkatze pushed to main at schrottkatze/schule-pong 2024-02-22 12:01:05 +00:00
b495dbbdcd basic rectangle drawing support added