liblinux icon indicating copy to clipboard operation
liblinux copied to clipboard

[Documentation / Examples] Small examples?

Open rubyFeedback opened this issue 4 years ago • 1 comments

Hey there,

Would it be possible to add a few examples? e. g. from hello world to some SLIGHTLY longer examples perhaps? A bit like libffi may allow for this.

Like I remember from ruby calling glibc to calculate something and give back the number. Simple things like that, not full-scale tutorials - really just things that may get people started a bit easier, if that is possible and not too much time investment.

rubyFeedback avatar Nov 16 '21 17:11 rubyFeedback

Hello. Let me begin by saying that I'm happy about the interest in my project.

It turns out that the Linux kernel itself has been developing a great alternative. Apparently they use it for their own tools.

https://github.com/torvalds/linux/tree/master/tools/include/nolibc

I didn't know about it when I started liblinux. Back then it was just one header file but now it's become more organized and certainly a lot more complete. I feel like working on liblinux would just duplicate their work at a slower pace.

So I've moved on after learning as much as I could about this subject. I decided to write about it on GitHub Pages and start a Linux-centered programming language project which I haven't published yet. Perhaps I'll see you again when I do publish it.

matheusmoreira avatar Feb 21 '23 07:02 matheusmoreira