DEEP DIVE - Lefteris BIRTHDAY BASH @ SASS Music Club - 27 Feb feat. Dyon, KILL.DB, MIA MIA + more

#SESH #Dyon #KILLDB #MIAMIA

https://sesh.sx/e/1652283

Wenn er pfeift, macht sogar Admin Liegestützen🫡 Joyeux anniversaire, Nicolas #Dyon 🥳 Unser Athletiktrainer feiert heute seinen 47. Geburtstag. Genieß deinen Tag, Nico!

#dieFohlen

Okay, say I went full yolo and actually decided to ditch all our #TypeScript and rewrite everything in #Rust, as one does.

I still need to provide some scripting layer for normal sane people I would be forcing to use this (of which there might end up being many).

Any suggestions? Boosts appreciated 

- #Rhai seems pretty popular, but some decisions are weird, to say the least (e.g. https://rhai.rs/book/ref/fn-closure.html#admonition-beware-captured-variables-are-truly-shared). Kinda evokes PHP memories.
- #Gluon is proper static, which is probably really good for performance, less certain about experience.
- #Rune and #Dyon both look nice and simple. But also looks like there's no way to declare any useful type information for the dev tools.
- #Boa would let us actually keep TypeScript, which is nice, because its type system is just the best ever. But I'm not sure it's stable or fast enough yet.
- Embedding or building around #Deno is always an option, but having to spin up #V8 whenever any script needs to be run kinda defeats the purpose of moving to something more performant in the first place.

Idk. Would love to hear literally any thoughts on this. Please talk to me 

The use case is mostly "business logic", e.g. ORM/CRUD stuff, web/API handlers. Simple code written fast, by people of varying experience.

Closures - Rhai - Embedded Scripting for Rust

Tutorial and reference on the Rhai scripting engine and language.

First time I hear about #Dyon. I'll give it a try, but I'm skeptical that the world needs another dynamically typed, interpreted language, even if it's inspired by #Rust.

https://github.com/PistonDevelopers/dyon#readme

GitHub - PistonDevelopers/dyon: A rusty dynamically typed scripting language

A rusty dynamically typed scripting language. Contribute to PistonDevelopers/dyon development by creating an account on GitHub.

GitHub

Here's another one written in #Rust which drops privileges after opening the evdev input device and can be configured via #Dyon scripts:

https://codeberg.org/valpackett/evscript/src/branch/trunk/README.md

evscript

A tiny sandboxed Dyon scripting environment for evdev input devices that lets you do e.g. xcape in Wayland

Codeberg.org