Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics - to add to the list of features? #2

Open
paul-hammant opened this issue Jan 24, 2024 · 2 comments
Open

Graphics - to add to the list of features? #2

paul-hammant opened this issue Jan 24, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@paul-hammant
Copy link

I appreciate it may not be done yet, but the ability to make fat UI applications (or not) would be a great addition to the list.

Context: QML is interesting, but I think they missed an opportunity - https://paulhammant.com/2016/11/15/qmls-squandered-opportunity/. In that post I talk of a calculator and there are loads of attempts at making it as a demo in different techs. The web has many, and one or two are "single file" for that. Of course Lisp is the grandpappy language for elegant pseudo-declarative apps - https://paulhammant.com/2013/03/28/interface-builders-alternative-lisp-timeline so I'd imagine it was possible and terse/elegant. That's racing ahead as lone-lang should note whether it can do UI or not :)

Great work though!

@matheusmoreira
Copy link
Collaborator

Hello, thanks for the interest! This is certainly something that I want to do. Right now it seems so far away from reality though.

I'm currently focusing on implementing the beginnings of what will become lone's foreign interface: binary structure manipulation functions for the bytes module. It will fulfill the short term goal of allowing manipulation of the kernel data structures but there's no doubt that it will enable further compatibility work. Once I implement calling conventions and an ELF loader, lone will be able to look up and call native functions. This enables things like bindings to Qt, GTK or other toolkits. Given the existence of XCB, it should also be possible to create a basic X client without the need for any foreign interface at all.

What I really want though is OpenGL ES bindings. With system calls alone it should be possible to set up kernel mode setting without depending on any toolkit at all. That graphics context can then be passed to OpenGL ES in order to get hardware accelerated graphics support. Now that's something to dream about...

For any of these things to happen though, I have to finish the foreign interface code... There's quite a bit of unfinished work in my devices that I haven't committed yet. The reason for that is life happened. I got engaged at the end of the last year and have been somewhat busy. I will get back to it as soon as I can.

@matheusmoreira matheusmoreira added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Jan 29, 2024
@danielsz
Copy link
Contributor

Parabéns pelo noivado !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants