glib
clara-rules
glib | clara-rules | |
---|---|---|
6 | 1 | |
1,473 | 1,177 | |
1.2% | 0.6% | |
9.9 | 5.9 | |
2 days ago | 13 days ago | |
C | Clojure | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
glib
-
Ask HN: Where do I find good code to read?
The question doesn't specify any language, so FWIW, I first learned "serious" programming by reading the sources for GNOME Glib, about 18 years ago.
https://gitlab.gnome.org/GNOME/glib
-
My adventures in Desktop GUI App development-land
The next adventure is called Vala. It is like a C#-like language that compiles down to C but it includes GLib (which is GNOME low level wrappers around C API). It looks like it was half abandoned but then gained again some contributors.
-
[Hiring] Rust consultant knowledgable with pulling in C code -- quick $200
It looks like you're using deprecated APIs, so you may need to link an older version of glib, <= 2.30. You'll notice in 2.32 there is no mention of GStaticMutex or GSystemThread
-
GLib-GIO ERROR && Suckless surf
Source code: https://github.com/GNOME/glib/releases/tag/2.70.3
-
I'm making a calculator that can calculate multiple numbers
As valac just generates C from your Vala code, it won´t be a bug in the valac compiler. According to you code, it could be a bug in double.parse() or in double.to_str(). Both of these are part of GLib. Please make sure which of the methods is causing the bug before filing it.
-
Libvirt: Adoption of GLib library to replace GNULIB and home grown code
Curious for some details. On what layer does that caching occur?
I immediately thought g_malloc but it seems to call directly to libc: https://github.com/GNOME/glib/blob/master/glib/gmem.c
clara-rules
-
Ask HN: Where do I find good code to read?
I've met a few young programmers who heard somewhere that object-oriented programming was bad and they want to get the enlightenment of functional programming that they've heard about. Frequently they travel from job to job like itinerant martial artists always looking for somewhere where they practice the true technique but they always seem disappointed as it is just as easy if not easier to screw up handling errors with monads than it is with exceptions and they find analogies like "a monad is like a burrito" just get them more confused.
As for something profound I'd point you to
https://github.com/cerner/clara-rules
which many people will struggle with because like many other production rules engines in LISP (and many other examples of simple compilers), there is hardly any code! Contrast that to the orders of magnitude larger rules engine Drools
https://github.com/kiegroup/drools
which is so crazy-complicated primarily because the Drools language is Java-based so you need all sorts of things that Clara or CLIPS don't need.
What are some alternatives?
Refactoring-Summary - Summary of "Refactoring: Improving the Design of Existing Code" by Martin Fowler
clean-code - Book review: A Handbook of Agile Software Craftsmanship
sqlite - sqlite mirror
ACalc - dotnet and Avalonia test
pocket - Official implementation of the Pocket Network Protocol v1
retlang
deno_std - deno standard modules
Binaryish-Clock - A fitbit watch face that partially displays the time in binary
DOOM - DOOM Open Source Release
sxiv - Simple X Image Viewer
beanie - Asynchronous Python ODM for MongoDB