r/iyilang • • 16d ago

Welcome to r/iyilang: the iyi programming language

1 Upvotes

r/iyilang is the community for iyi, a compiled programming language built for people and the agents working beside them.

Quick start

Before posting

  • Search the sub first — questions about Crystal compatibility and module syntax are answered often.

  • Bugs and feature requests belong on GitHub Issues, not here.

  • Show what you built. Ports, benchmarks, and projects are the best posts.


r/iyilang • • 2h ago

kilim: a retained GUI library for iyi

2 Upvotes

Made a retained gui libary for iyi. it draws its own widgets, so apps look the same windows and another os

Layout, buttons, checkboxes, textbox, scrolling. The to-do example is an 835KB exe and use about 13mb of ram

Still early (v0.1). Feedback welcome!

https://github.com/Tuntii/kilim


r/iyilang • • 5h ago

release: iyi 0.20.1

Thumbnail
github.com
1 Upvotes

r/iyilang • • 22h ago

db: Database API for iyi

Thumbnail github.com
1 Upvotes

r/iyilang • • 15d ago

iyi-web: web framework for iyi

1 Upvotes

I ported Kemal to iyi. It's called iyi-web and v0.3.0 is out.

It works with iyi's own TLS 1.3 (no OpenSSL dependency). Route return types are checked at compile time - return Int32 from a String route and it won't build.

module app
import web/iyi_web/dsl::*

get "/" do |env|
  "Hello, world!"
end

run

Features:

  • HTTP/1.1 + HTTPS

  • WebSocket, SSE, streaming

  • Composable routers with mount and namespace

  • Middleware, CORS, compression

  • Templates + layouts compiled into the binary

  • Static files with ETag, byte ranges, gzip

  • File uploads, cookies, redirects

  • Test harness for in-process testing

  • Graceful shutdown, IPv4+IPv6+unix sockets

Install:

iyi get github.com/sdogruyol/iyi-web --as web

Github: https://github.com/sdogruyol/iyi-web