Translate

2021-05-15

Finally, Rust and what I need it for. The end.




It seems that the most time efficient alternative for me is to write a small rust routine that makes system calls to the kernel and if necessary some other well-defined support function if required and then use it/them in PHP to get somewhere. The ultimate goal is to be able to write to the framebuffer in Linux to draw what I want. If I'm going to do it in Rust, I need a course in how to talk to the graphics card and even the simplest operations mean that you have to write hundreds of rust lines AND you have to know how the hardware resonates in order to know what it wants to know. It's incredibly time consuming.

There are other options, Open-GL, sneak applications that use GL (Glutin & Co) and a lot of other things and to get acquainted with to know how to use them ... before I get anywhere I am already dead.

There is no doubt that Time is the thing I have absolutely the least of (I'm old!). The more time it takes, the more aware I become that it is the result that counts.

Rust is extremely effective but plentiful, linewise. But, it may be the missing link in my case so I do not consider the time I spent on it as lost. On the contrary, missing links in a chain make it too short. I can unreservedly say that Rust has impressed me. It is a high quality project. PHP seems to me a toy, compared to Rust.


Inga kommentarer:

Skicka en kommentar