Here are a few examples of KC3 code. Some are original pieces for this article, some are taken from existing code.
def factorial = fn {
(0) { 1 }
(n) {
if (n > 0) do
n * factorial(n - 1)
...
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...
We started writing bindings for GTK+4 in KC3 and it works !
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...
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...