Live data from Hacker News

The Koto Programming Language

koto.dev

151–153 of 153 posts

Re: The Koto Programming Language

#151
post #147

Recently I've started evaluating new languages in terms of "how difficult would it be to read working code in this language, written by an insane person". After looking at this for 5 minutes it seems it is better than rhai according to my metric. But not necessarily better than lua.

Haha well I'm sure if you put your mind to it you could create some madness in Koto!

If it helps here's a git blame helper script I made for Helix (as an example of practical code without any effort put in to making it readable for others): https://github.com/irh/dotfiles/blob/main/scripts/.scripts/g...

Re: The Koto Programming Language

#152

Earlier quoted context omitted.

F# was never really "OCaml on .NET", though, not really. ML on .NET, sure, but it is (and always has been) missing OCaml's most interesting features, such as functors and OO with inferred row-types.

It probably was too much of a shortcut, thanks for the correction.

They have kinda positioned themselves that way and had (have?) syntactic compatibility with a subset of OCaml. And OCaml is probably the least obscure of the ML language family, so it's not exactly surprising.

Re: The Koto Programming Language

#153

Should compare with Rhai ( https://rhai.rs/ ) I found rhai's syntax very straightforward, and I could almost accomplish my needs just by looking at some basic examples. I use Rhai in wasm, and it can handle real-time audio blocks, which is really impressive: https://glicol.org/tour#meta2

I implemented a similar project using Koto https://github.com/cornedriesprong/ohm. Not nearly as full-featured as Glicol, but I guess it can serve as comparison.
Post reply on HN