Replies: 15 comments 16 replies
-
Just found this out: https://codeberg.org/McCLIM/McCLIM/issues/1345 Which looks like there is/was already an attempt at doing this. Adding for reference |
Beta Was this translation helpful? Give feedback.
-
Just a clarification The Goal of this proposal is to write the GUI using McCLIM. The collaboration with McCLIM would probably be in terms of contributing bug fixes, posting issues, and making requests as you develop your application. That in itself will probably benefit McCLIM greatly, and maybe if there are features missing that you discover you need as you are developing, you can probably also code them and push them as PR. This seems much easier than dealing with the FFIs. |
Beta Was this translation helpful? Give feedback.
-
There are already two GUIs for Lem: SDL2 and Electron. If someone wanted to make another it might be used if it is good 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
Indeed, I'm quite interested in the way that McCLIM works and I would love to have Lem with that front-end technology. The problem as with everything else in life/software is time. I don't think it's a priority for the project, even tho in this case a very motivated individual can make it work quite decently. We only need this individual 🥳 |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for replying and considering it! 😄 |
Beta Was this translation helpful? Give feedback.
-
How does McClim handle hardware acceleration? Anyway, any chance you want to take on the #1345 above and see how far you get with that? Even if a proof of concept can be seen it would be cool. |
Beta Was this translation helpful? Give feedback.
-
Since I've been called out on IRC I'll comment on the hardware acceleration bit - on x11 backend rendering is accelerated by the server (no GPU access), on framebuffer backend everything is rendered with cl-vectors (no hardware acceleration). All other backends are experimental so there's no point in advertising them. Regarding McCLIM frontend for LEM - if anyone is interested in working on that, then I'll be happy to assist with CLIM-specific questions. That said I don't think that calling for others to write a frontend, without time to do it yourself, has a slim chance of success - unless someone is paid, they must be internally driven to do something. Note, that it was suggested that I'm McCLIM author and that is not true, I'm currently leading the development, but there are many prominent hackers who created it. |
Beta Was this translation helpful? Give feedback.
-
I have a few specific questions about the internals of Lem. Mainly I'm confused about the proper format for events sent to Lem and what some of the drawing-object's are supposed to represent (like eol-cursor-object or extend-to-eol-object). I haven't been able to get a good understanding looking through source. Also would appreciate any input on what I've done so far... currently working on a fork of lem here all the work is in frontends/clim. If anyone can spare a few minutes to chat that'd be great. I've been taking a stab at this, as a personal project... Hoping to get more familiar with CLIM and Lisp. |
Beta Was this translation helpful? Give feedback.
-
@cnickh I compiled your fork with I had to adapt the resources path for the PNGs, and I added |
Beta Was this translation helpful? Give feedback.
-
Can you make a short video and put it on YouTube or the discord channel how it looks like with mcclim? |
Beta Was this translation helpful? Give feedback.
-
I am trying to understand pros / cons of McClim vs sdl2. Is it more portable / performant than sdl2? Can somebody explain or summarize this, please? @daninus14 Did you mean McClim here ? Even if it's not electron because of the security vulnerabilities and slowness and other issues, and you decide to go with another toolkit, there will be technical costs in dealing with FFIs. |
Beta Was this translation helpful? Give feedback.
-
@cnickh Tried the latest version with latest fixes. Works - I like it! |
Beta Was this translation helpful? Give feedback.
-
Maybe try pulling latest git again. Before this I was having this, too.
Am 30. Juli 2024, 16:29, um 16:29, ioolkos ***@***.***> schrieb:
…For me, just shows the editor window for a second, then
crashes/disappears.
@cnickh maybe you can enable issues on your fork, to provide feedback.
Or do you prefer us to wait a bit more before we "test"? would
understand :)
--
Reply to this email directly or view it on GitHub:
#1311 (reply in thread)
You are receiving this because you were mentioned.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Think you need to export the QLOT variable pointing to where it is located. It is shown at the end of the install process if I remember correctly
https://github.com/fukamachi/qlot?tab=readme-ov-file#installation
Another possibility (without make) is just to start sbcl, do a (ql:quickload :lem-clim) and after it loaded everything start lem with (lem:lem)
Am 30. Juli 2024, 18:57, um 18:57, aykaramba ***@***.***> schrieb:
…How is this compiled? Make clim tells me "qlot cannot be found" and I
don't see any issues in the make file.
Suggestions?
--
Reply to this email directly or view it on GitHub:
#1311 (reply in thread)
You are receiving this because you were mentioned.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey, thought I'd update. I have opened issues on the repo, so you don't have to clutter up this main repo. I have implemented what I listed above and fixed some issues that was causing crashes, but performance is still terrible compared to sdl2. |
Beta Was this translation helpful? Give feedback.
-
DISCLAIMER: I am not associated with McCLIM in any way, nor am I writing any GUIs in CL. I just think this would be for the best both of Nyxt, lem, and the CL ecosystem.
Hi, I'm adding this here as well as in Nyxt ##3346
Since lem is developing a GUI, I think it would it make sense to develop it in CL
Describe your proposed change:
Why do you believe this to be an improvement?
While McCLIM is not perfect and not finished, in the end, it will probably be much easier to continue development in any project based on it than having to deal with FFIs. Even if it's not electron because of the security vulnerabilities and slowness and other issues, and you decide to go with another toolkit, there will be technical costs in dealing with FFIs.
Whatever other issues exist with McCLIM, by Nyxt and lem developers contributing, the improvement will probably be tremendous for the CL community.
Additional context/User story:
I am not associated with McCLIM in any way, nor am I writing any GUIs in CL. I just think this would be for the best both of Nyxt, lem, and the CL ecosystem.
Contact McCLIM #clim @ libera.chat
jackdaniel
is currently in charge of the project and it is actively maintained.I am sure there are tons of people that know more about this than I do. I know there will be a lot of people reading this who will think "I've used whatever CL GUI libraries and they #&!%", but that's the point. They may not be great, but they are advanced enough that with a serious contribution from active lispers involved in GUI development, they will no longer be bad. Furthermore, the McCLIM project is not only actively being developed, but it's open to contributions, so this would be a collaboration project rather than Nyxt simply being a client of some third party library. This will give you say and power in how to improve the library so that it suits your needs and is convenient to use.
Beta Was this translation helpful? Give feedback.
All reactions