kmx.io Blog
-
-
2024-12-21 12:46:48
Viewed 750 times
An example of purely functional KC3 code
-
Here are a few examples of KC3 code. Some are original pieces for this article, some are taken from existing code.
Factorial
def factorial = fn { (0) { 1 } (n) { if (n > 0) do n * factorial(n - 1) ...
-
2024-12-21 12:46:48
Viewed 750 times
-
-
2024-12-20 09:57:10
Viewed 721 times
Apple ABI for structs on aarch64 reverse engineered in 5 minutes
-
Yesterday we added support for structs on Apple sillicon. It took us 5 minutes to figure it out.
The struct padding is ok : if size is greater than 32 bits, then align on 32 bits. This is a nice equilibrium between speed and space, and t...
-
2024-12-20 09:57:10
Viewed 721 times
-
-
2024-12-12 18:44:47
Viewed 747 times
GTK+4 bindings for KC3 !
-
We started writing bindings for GTK+4 in KC3 and it works !
-
2024-12-12 18:44:47
Viewed 747 times
-
-
2024-12-11 05:49:41
Viewed 692 times
First try at GTK+4 from KC3, a wrapper's hell
-
Work in progress on the GTK+4 wrapper for KC3.
A few wrapper functions were written for a simple hello world. There are a lot more to be written if we look at the number of functions with pointers of the [GTK+4 documentation](https://d...
-
2024-12-11 05:49:41
Viewed 692 times
-
-
2024-12-10 09:20:18
Viewed 612 times
A first production test with threads in KC3
-
Today we deployed the KC3 git master branch to our production servers : https://www.kmx.io/ and https://kc3-lang.org/.
The latest patches include full support for threads with a brand new `env_fork...
-
2024-12-10 09:20:18
Viewed 612 times