Remix.run Logo
IshKebab 16 hours ago

I wish there was something better than Lua and just as "obvious" a choice. Static types, real arrays, zero-based indexing, etc.

Closest thing I've seen so far is Roto: https://roto.docs.nlnetlabs.nl/en/stable/index.html

Basically everything about this looks great - Rust-style syntax, static type checking, sane type system, easily embedded. The only slightly odd things are that it has built in types for IP addresses, AS numbers, and `filtermap`. But I guess you can just ignore those if you don't need them.

eqvinox 14 hours ago | parent [-]

The language is primarily used by Rotonda, the composable, programmable BGP routing engine.

Not odd to have those data types at all…

IshKebab 5 hours ago | parent | next [-]

Yeah it makes sense for their use case. I meant it was an odd thing to have if you were using it as a general purpose language like Lua.

LoganDark 13 hours ago | parent | prev [-]

Better to let specific domains define their own data types than favor one in the language.