News for hackers. Stuff that matters.
Re:Speedy Desktop Apps with GTK and Rust by realharo on Saturday July 06, 2019 @02:04PM (#20370932)
I'm thinking of a structure similar to https://reactjs.org/blog/2015/12/18/react-components-element...

There may be some limitations and some things may need to be done differently because of C++, but from a brief look it should be basically possible. The UI library doesn't need to iterate through props, those can be a single opaque structure from its point of view.

I tried doing something similar in Kotlin a few years back and from what I remember there wasn't any reflection used for that part. https://github.com/peterholak/mogul

Re:Speedy Desktop Apps with GTK and Rust by ptx on Saturday July 06, 2019 @04:34PM (#20371777)
That Kotlin project looks pretty cool! What happened to it – was there some fundamental problem, or just lack of time?
Re:Speedy Desktop Apps with GTK and Rust by realharo on Sunday July 07, 2019 @03:52AM (#20374033)
Mostly just lack of time, more important things got in the way, and it became less fun after the initial excitement.

I'm also still not convinced that Kotlin/Native will catch on in any significant way, but we'll see.