#rhai — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rhai, aggregated by home.social.
-
Red Hat AI tops MLPerf Inference v6.0 with vLLM on Qwen3-VL, Whisper, and GPT-OSS-120B
#RedHat #RHEL #OpenShift #AI #RHAI #RHELAI #OpenShiftAI #OpenSource #Linux #vLLM
-
Red Hat AI tops MLPerf Inference v6.0 with vLLM on Qwen3-VL, Whisper, and GPT-OSS-120B
#RedHat #RHEL #OpenShift #AI #RHAI #RHELAI #OpenShiftAI #OpenSource #Linux #vLLM
-
Red Hat AI tops MLPerf Inference v6.0 with vLLM on Qwen3-VL, Whisper, and GPT-OSS-120B
#RedHat #RHEL #OpenShift #AI #RHAI #RHELAI #OpenShiftAI #OpenSource #Linux #vLLM
-
Red Hat AI tops MLPerf Inference v6.0 with vLLM on Qwen3-VL, Whisper, and GPT-OSS-120B
#RedHat #RHEL #OpenShift #AI #RHAI #RHELAI #OpenShiftAI #OpenSource #Linux #vLLM
-
Red Hat AI tops MLPerf Inference v6.0 with vLLM on Qwen3-VL, Whisper, and GPT-OSS-120B
#RedHat #RHEL #OpenShift #AI #RHAI #RHELAI #OpenShiftAI #OpenSource #Linux #vLLM
-
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 :boost_requested:
- #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 :ablobcatreachreverse:
-
I've been using #Knitfile for a while and it's pretty good.
https://zyedidia.github.io/blog/posts/3-knit-better-make/But now I get annoyed with Lua `require()` which doesn't allow arbitrary path. I think replacing Lua with #Rhai script should solve the problem. Unlike gopher-lua, rhai provide a way to customize the syntax. However, the whole project (:knit) need to be rewritten in Rust 😅
-
#Rhai is a scripting language for #Rust.
Rhai is a configurable, embeddable scripting language for use in Rust programs. Rhai scripts can easily be loaded and executed from a Rust program, even for no-std or #WebAssembly targets. Rhai supports closures, OOP, dynamic typing, and a simplified Rust-like syntax. Functions and operators can easily be added to Rhai, as well as entirely new syntax.
Website 🔗️: https://rhai.rs/
-
How we customised #Blockly for #Rhai Script and BL602
https://lupyuen.github.io/articles/rhai?19#appendix-customise-blockly-for-rhai
-
Drag-n-Drop #Rhai Scripts for BL602 with #Blockly
https://lupyuen.github.io/articles/rhai?18#drag-and-drop-rhai-scripting
-
Transcoding #Rhai Expressions and Function Calls to #uLisp
https://lupyuen.github.io/articles/rhai?12#transcode-expression
-
Rewriting "let" and "for" statements ... From #Rhai Script to #uLisp
https://lupyuen.github.io/articles/rhai?11#transcode-statement
-
What's an Abstract Syntax Tree? Why is it perfect for converting #Rhai Script to #uLisp?
https://lupyuen.github.io/articles/rhai?9#abstract-syntax-tree
-
Converting #Rhai Script to uLisp ... In #BL602 WebAssembly Simulator
https://lupyuen.github.io/articles/rhai?8#convert-rhai-to-ulisp
-
Here's how we add the #Rhai Scripting Engine to our BL602 Simulator in #RustLang
https://lupyuen.github.io/articles/rhai?5#add-rhai-scripting-to-simulator
-
Our #Rhai Script transcoded into uLisp #BL602 runs correctly! 🎉
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L393-L622
-
Now #Rhai Script is transcoded to uLisp #BL602 with the proper scopes
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L393-L622
-
#Rhai Loops are now transcoded to uLisp #BL602 yay!
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L279-L443
-
Our #Rhai Script to uLisp #BL602 Transcoder ... So far so good!
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L158-L370
-
OK transcoding a #Rhai StackSlot to uLisp #BL602 wasn't so hard!
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L110-L156
-
Transcoding #Rhai Function Calls to uLisp #BL602 ... Needs more work because of the "StackSlot" parameters 🤔
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L107-L141
-
How we transcode #Rhai Statements and Expressions to uLisp for #BL602
https://github.com/lupyuen/bl602-simulator/blob/transcode/bl602-script/src/transcode.rs#L54-L105