r/klyn • • 23d ago

Klyn 0.2.2

Post image
1 Upvotes

Enhancements:

  • klyn.llm becomes klyn.genai, expanding to include TTS (Text-to-Speech) and STT (Speech-to-Text).

  • New klyn.audio package.

  • Enhancements to klyn.os.

Useful links:


r/klyn • • Oct 17 '26

Klyn 0.2.1

Post image
1 Upvotes

Enhancements:

  • Improved support for the ref, out, and notnull keywords

  • Added the klyn.code package (source code file parsing)

  • Improved Wayland support (Linux)

  • Added numerous methods to klyn.math.NDArray

  • Optimized convolutional layer computations (klyn.math.nn package)

  • Numerous bug fixes

Useful links:

- Website: https://klyn.deepcodia.fr

- Tutorial: https://klyn.deepcodia.fr/docs/tutorial/index.html

- API Reference: https://klyn.deepcodia.fr/docs/api/index.html

- Stay connected: https://www.reddit.com/r/klyn/


r/klyn • • Oct 16 '26

Why did I create Klyn? For example…

1 Upvotes

Abstract classes and methods

Python : Why are so many elements part of the library rather than the language syntax itself?

import math
from abc import ABC, abstractmethod
from typing import override

class Shape(ABC):     # Do you know ABC (Abstract Base Class)?

    center: Point = Point()

    @abstractmethod
    def area(self) -> float:
        pass


class Circle(Shape):

    radius: float = 1.0

    @override
    def area(self) -> float:
        return math.pi * self.radius ** 2

Klyn : it's clean ;-)

import klyn.math

abstract class Shape:

    private center = Point(0, 0)   # Type inference

    abstract area() as Double


class Circle extends Shape:

    private radius = 1.0

    public override area() as Double:
        return Math.PI * radius ** 2

What do you think? Do you agree, or do you see it differently?


r/klyn • • Oct 13 '26

Klyn 0.2.0

Post image
1 Upvotes

Happy to introduce this new version! A lot of work has gone into it. Among the new features:

- Improved Unicode support

- Ability to perform pattern matching on data types

- Improved support for operator overloading in classes

- Added Case and Cases annotations to the unit testing framework

- Improved language support in VS Code and Klyn Editor

- Added an initial version of the klyn.math.nn package for Deep Learning, with NVIDIA GPU support

- Ability to run an SLM model locally in process, using an NVIDIA GPU

- Early implementation of a 3D engine

Useful links:

- Website: https://klyn.deepcodia.fr

- Tutorial: https://klyn.deepcodia.fr/docs/tutorial/index.html

- API Reference: https://klyn.deepcodia.fr/docs/api/index.html

- Stay connected: https://www.reddit.com/r/klyn/


r/klyn • • Sep 29 '26

Why did I create Klyn? For example…

2 Upvotes

Encapsulation : a naming deterrent vs. enforced access control

Python : __ renames the attribute but does not prevent access to it (“name mangling”).

class Compte:
    def __init__(self):
        self.__solde = 100.0

c = Compte()
c._Compte__solde = -500.0               # Allowed: bypassing “private” access :(

Klyn : visibility is explicitly declared with a reserved keyword.

class Compte: 
    private _solde as Double = 100.0

c = Compte()
c._solde = -500.0                       # Compilation error: REAL private member :)

What do you think? Do you agree, or do you see it differently?


r/klyn • • Sep 20 '26

Klyn 0.1.8

Post image
0 Upvotes

This new version includes the following improvements:

  • Further improvements to the memory footprint of a Klyn process.

  • Separation of the String class into two classes: String (immutable) and MutableString.

  • Expanded use of the sizeof operator.

  • Improvements to Klyn’s internal testing procedure to better verify language consistency.

Useful links:


r/klyn • • Sep 12 '26

Klyn 0.1.7

Post image
4 Upvotes

This new version includes the following improvements:

  • Significant reduction in the memory footprint of the Klyn runtime environment,

  • Addition of the yield keyword for defining generators,

  • Addition of a library for generating charts (line charts and 2D and 3D scatter plots),

  • Addition of a library for extracting text from PDF files.

Useful links:


r/klyn • • Sep 06 '26

Klyn 0.1.6

Post image
1 Upvotes

The new version of Klyn is now live. This release doesn’t really introduce any new features, but it includes a large number of bug fixes and further performance improvements.

Useful links:


r/klyn • • Aug 30 '26

Klyn 0.1.5

Post image
2 Upvotes

This new version introduces the following enhancements:

  • Support for variadic named parameters (kwargs)

  • Entity Engine: an object persistence engine for relational databases (ORM), as well as JSON and XML files (klyn.data)

  • KQL (Klyn Query Language): the object query engine supported by the Entity Engine

  • A new TOML parser (klyn.io.toml)

  • A new logging API (klyn.logging)

  • Support for new dialog boxes for GUIs (klyn.gui.windows.dialogs)

  • Numerous bug fixes

  • Performance improvements

Useful links:


r/klyn • • Jul 17 '26

New version of Klyn language

2 Upvotes

A new version of the Klyn programming language is now available, featuring numerous improvements:

  • Expanded core libraries,

  • Enhanced JSON support,

  • Twice as many tests and non-regression checks,

  • A strong focus on the Klyn GUI library,

  • Performance improvements, particularly for the GUI library,

  • Updated Klyn tutorial and API documentation.

Useful links:


r/klyn • • Jul 03 '26

Recherche développeurs pour me faire retour constructif sur un nouveau langage de programmation.

2 Upvotes

Bonjour

Je travaille actuellement sur un nouveau langage de programmation appelé Klyn. Alors je sais, certains vont me dire pourquoi encore un nouveau langage. Peut-être est-ce vrai, mais d'un autre point de vu, pourquoi ne pas être audacieux et proposer une autre lecture possible...

Quoi qu'il en soit, mon point de départ est que Python propose une syntaxe épurée et lisible, par contre les performances en termes de temps d'exécution, c'est pas ça. Du coup, pourquoi ne pas intégrer les bonnes idées de C++ pour les perfs dans un langage "Python-like" ? Et tant qu'on y est, Java et C# propose aussi des trucs sympa. Et puis j'ai aussi quelques autres idées sympa à tester (j'ai notamment tester des choses sur les syntaxe des collections). Et donc je suis partis à proposer Klyn, un langage "Python-like" orienté performance.

Du coup, j'en suis là :

  • une syntaxe lisible et agréable, proche de Python,

  • un typage statique pour la fiabilité des codes,

  • une compilation native et implicite pour les performances,

  • des propriétés inspirées de C#,

  • pleins d'idées perso sur la syntaxe et les lib,

  • des API déjà assez riches autour des collections, chaînes, fichiers, terminal, interface graphique, bases de données, thread, api llm...

Etant actuellement seul sur le projet, j'ai grandement fait usage de l'IA (je préfère être cash ; clan Codex), mais franchement, je ne le regrette pas. En l'état le projet n'est pas prêt a passer en production. C'est pour ça que j'ai besoin de vos impressions (afin de préparer cette future étape). De plus, si vous êtes convaincu par la démarche, qu’attendriez vous d'autre d’un tel projet ?

Site du projet : https://klyn.deepcodia.fr
Tutoriel : https://klyn.deepcodia.fr/docs/tutorial/index.html
Référence de l'API : https://klyn.deepcodia.fr/docs/api/index.html

Je suis preneur de retours techniques, de critiques constructives et de suggestions d'améliorations.
Merci par avance pour vos retours.

PS : je sais qu'il y a pleins d'autres langages sympas et performants (Rust, Go...), mais j'ai vraiment envie de tenter ma chance. Donc ne sapez pas trop mes espoirs ;-)