Closed rubyFeedback closed 1 year ago
You finally committed code to the repository using git. Glad to see your great step!
\o/
Now if only I would understand C ... :)
(It's on my perpetual todo list ... but first I have to improve Java - there are many opportunities via Java too; Andy showed that via glimmer-SWT, and there is truffleruby in graalvm, as well as jruby. C and C++ are kind of the "real deal" though, even ruby is written in C.)
If you are interested in using C from Ruby, it is not difficult.
attach_function
or extern
.With these steps, the module will be able to call C functions.
I recently went through the examples, trying to polish them, and I think there is a duplicate line or actually two here:
https://github.com/kojix2/LibUI/blob/main/examples/draw_text.rb#L92