static-haskell-nix
monomer
static-haskell-nix | monomer | |
---|---|---|
7 | 16 | |
395 | 617 | |
1.0% | 1.5% | |
7.4 | 5.1 | |
10 months ago | 11 months ago | |
Nix | Haskell | |
- | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
static-haskell-nix
-
Trying to build a statically linked binary against glibc (Linux)
Using Nix: https://github.com/nh2/static-haskell-nix
- Generating static binary + CI questions
-
GHC reports "Loading static libraries is not supported"
To debug this type of problem (I have to debug linker errors regularly as part of static-haskell-nix):
-
[ANN] Monomer, a GUI library for Haskell
In static-haskell-nix there is currently this PR to enable support for that: https://github.com/nh2/static-haskell-nix/pull/108
- What's all the hype with Nix?
-
Termite Is Obsoleted by Alacritty
I think there's a misunderstanding: Most people want to use the .a file from their Linux/package distro that provides static libraries, such as Alpine Linux or nixpkgs.
Such package distributions just use the build system default options to build static libs. For example, Alpine might use `-Ddefault_library=both`.
> if they could keep that libgtk_static around
Why make these special cases instead of just using the build system defaults? That's easier to maintain and more obvious.
> I'd be interested to hear if static linking GTK even has that many benefits
One benefit is almost-infinite backwards compatibility that the Linux and Xorg ABIs provide, being able to make GUI apps that work out of the box everywhere.
Another is that these generated executables are very small, e.g. 12 MB for a full static GTK GUI app [1], or 6 MB when xz-compressed.
This is much less than when using shared libraries. One reason is that dead-code elimination works much better for static linking: It links in only the functions you actually use. For dynamic linking, it's always the entire .so.
[1] https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...
-
Clodl: Turn dynamically linked ELF binaries into self-contained closures
GTK can be statically linked.
Example executable:
https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...
It lost this ability temporarily when switching to Meson, but I fixed it in GTK3 and GTK4. But I just checked and apparently it is broken again:
https://gitlab.gnome.org/GNOME/gtk/-/issues/3774#note_109746...
monomer
-
What can I do in Haskell? UwU
Yes - for example https://github.com/fjvallarino/monomer
-
I'd like to share my first impressions of yesod and haskell
I don't know about gloss, but building a game with sdl2 been fairly straightforward for a few years now, and I know of one gtk3 tutorial, but also monomer seem to have pretty good tutorials and examples.
- Suggestions for "dashboard" graphics libraries?
-
SimpleX Chat - the first messaging platform that has no user identifiers (not even random numbers) - v3.0 of iOS and Android apps is released - coded in Haskell!
I would like to suggest the following Haskell GUI-library for the desktop application: https://github.com/fjvallarino/monomer
-
Help with running openGL applications
I recently tried building a monomer application, hoping to get it to run on my phone phone (currently I'm running the latest Manjaro phosh demo).
-
GUI with electron vs monomer performance
i was considering an electron app with pure script or GHCJS and then i came across https://github.com/fjvallarino/monomer and i would like to pursue it. I am just wondering if anybody knows how does it perform compared to an electron based app?
-
[ANN] Monomer 1.4.1.0
Release notes: https://github.com/fjvallarino/monomer/releases/tag/1.4.1.0
-
Is Haskell capable of this?
If you're looking into creating UIs, Monomer provides a declarative style inspired on Elm's architecture.
-
What projects to make in Haskell?
If you used Swift UI and like creating GUIs declaratively, Monomer may interest you.
-
Can't install WxHaskell on Windows
monomer is probably the newest GUI library for Haskell. It looks good, though I haven’t tried it.
What are some alternatives?
Cabal - Official upstream development repository for Cabal and cabal-install
LambdaHack - Haskell game engine library for roguelike dungeon crawlers; please offer feedback, e.g., after trying out the sample game with the web frontend at
haskell-kafka - [GET https://api.github.com/repos/jtonic/haskell-kafka: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
simplexmq - ⚙️ SimpleXMQ - A reference implementation of the SimpleX Messaging Protocol for simplex queues over public networks.
Windows-10 - Windows 10 Light theme for Linux (GTK)
MetalNanoVG - The Metal port of NanoVG.