Code Monkey home page Code Monkey logo

Comments (9)

ouwou avatar ouwou commented on May 23, 2024

currently it uses microsoft/vcpkg@a9b27ed but as of a couple days ago i dont think that will work because some of the msys packages it tries to pull are so old they 404. ive been trying to move to msys2 and will probably finalize that very soon, you can try that from the msys branch.

switching to gtk4 would be a pretty big thing to try and do and its something i looked into. its not stable as a cross-platform gui framework right now (at least not as stable as gtk3) and i wouldnt be using the c++ bindings since its probably going to be abandoned (also gtkmm is basically hand-written and lacks a lot of the API since it was first developed before gobject-introspection which would make a lot more sense to use now).

anyways try the msys branch and if you run into any other issues feel free to open another issue for that

from abaddon.

joshmmlx avatar joshmmlx commented on May 23, 2024

Thanks for the github version, you can probably get away with using the latest msys install that vcpkg uses, just modify C:\dev\vcpkg\scripts\cmake\vcpkg_acquire_msys.cmake to the latest. I actually had to custom write my own because I am compiling on an x86 machine and vcpkg pulls the x64 msys repo. Trying to build this for a retro laptop (>10 years old) because Discord is simply unusable on it. Should install Linux but I've yet to find a stable distro.

Thanks again!

from abaddon.

poudink avatar poudink commented on May 23, 2024

stable distros aren't very hard to find. you know, debian stable, ubuntu lts, mint lts, etc

from abaddon.

joshmmlx avatar joshmmlx commented on May 23, 2024

I built it for 32 bit (on a 32 bit host, lol): https://github.com/joshmmlx/abaddon/releases/tag/v0.1.4

Works very well, 30 megs of ram as opposed to the 500 megs it would take to load Discord in Chrome/Firefox. Brought new life to this retro laptop. :)

from abaddon.

ouwou avatar ouwou commented on May 23, 2024

nice, though i dont see anything uploaded there. and btw if you were to have gotten it to build with gtk4, the memory usage would have been very bad. idk why but gtk4 eats so much memory on windows.

from abaddon.

joshmmlx avatar joshmmlx commented on May 23, 2024

Oops, Pale Moon browser didn't attach it properly. Fixed now. Also, abaddon will use up a gargantuan amount of ram in fast order on a slow system if you scroll too fast with lots of images and media files present, but I believe that is a cache writing thing on slow systems.

I tried figuring out a way to pattern the new GTK4 menu items with yours but I couldn't, there's other projects that wrote scripts to help them do it but yeah, a bit beyond me. I did notice while going over the code your comment about c time conventions lol...

from abaddon.

ouwou avatar ouwou commented on May 23, 2024

lots of images and media files

yeah this is particularly bad when there are gifs because it will try and load the entire gif and just display the first frame, and gif decoding is really really memory intensive in gtk (at least on windows). i think it uses wingdi which probably isnt the most efficient api. for instance open the emoji list in a server with a good amount of animated emojis and it uses a stupid amount of memory. i dont really know what to do about that. i guess for messages i can probably modify the url a bit to get a smaller file from discords cdn

from abaddon.

nyabinary avatar nyabinary commented on May 23, 2024

Been more than a year, how are the prospects of GTK4 looking now?

from abaddon.

ouwou avatar ouwou commented on May 23, 2024

putting aside how much id have to rewrite, gtk4 still isnt in a very good place imo. i would like to benefit from the increased responsiveness/snappiness buuutttt i still find it too unstable to use. it has significantly higher memory usage + has bad memory leaks and for example u can segfault the gtk4-demo reliably in about 5 seconds :P

from abaddon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.