prozacchiwawa

@prozacchiwawa@functional.cafe

programmer; i like idris, but also F#, reasonml, haskell and others.
- superheterodyne.net/

Replying to @prozacchiwawa@functional.cafe

the style of the Mibo.Raylib examples is to use Capitalized properties on structs and javascript style camel case, but the ocaml style i learned is snake case.

i'm not sure which way to steer my brain

i also aside loaded up my old gcc ppc pecoff wrapper, cause i haven't looked at it in ages. last i left it, it was compiling some typical C but the compiler side support for setjmp and longjmp wasn't working and i switched away from it. maybe now having the one big thing i was focused on put away i can make another go at it.

man i haven't written f# in ages.

my work is all in rust and i've been very focused on gxemul for the past couple years.

it's fun to forget about ownership and memory for a while and focus on just making something neat (even if it uses raylib, which needs one to remember that memory and ownership exist to a degree).

Replying to @prozacchiwawa@functional.cafe

something that caught my attention recently regarding this is:

i now loop the machine object over a much smaller number of instructions (small enough that it should be good for implementing these quick moving effects).

one thing i could do is have a simple state machine in the s3 that can remember how many commands are in the pipe and whether the queue busy bit should be observed as being unset and run it when the user writes or reads 9ae8 one step for every n instructions or until it reaches a quiet state.

that'd allow the cpu to observe all possible state changes of the s3 pipeline (like if you were implementing some kind of detailed self test), have it respect macroscopic time passing (since you could observe more or less simulation time between reads affecting it) but not need the timer tick to become a lot more frequent.