Welcome to RustScript Discussions! #1
Replies: 3 comments 5 replies
-
|
Not a programmer, but I tinker. Consider me an absolute beginner. I think the README needs to clarify that RustScript is a web-scripting language, not a shell-scripting language. I came here with the idea that RustScript was going to be a better scripting language than bash, NuShell, zsh, Powershell, Python, etc. But the opening pages of the tutorial seem to indicate this is for web use, not shell use. Okay, I'm wiling to learn, so I'll keep going down this path a bit. I already had Rust installed (as mentioned, I tinker), but it was several versions old, and when I went to "rustup update", I ran into an issue with some piece of it being deprecated, and whereas the on-screen instructions told me what to do to fix it, it still took me a bit to actually fix it because those instructions kind of assume the user knows more than I do. Nevertheless, I got it figured out, and I'm now at:
I have no idea if this is ...
or not, nor how to determine that. I was able to do the Thinking the README is the best place to start, I continued reading, and soon got lost in details that a newbie probably doesn't need yet to be exposed to. I was quickly getting lost, but then I found the Okay, I have satisfied the I was able to clone the repository, but only because I spent a week or so last summer trying to wrap my head around git, and sort of kind of understand it, but not comfortably so - I don't "feel" like I understand it, and I instead feel like if I try to use it, I'm going to mangle stuff up. I had no idea where I'm supposed to git-download this repository to, so I defaulted to my "Downloads" folder, making a "tmp/RustScript" folder within that, into which I git-downloaded. Sort of being familiar with git, but not really, I was pleasantly tickled to see a clone of github.com's RustScript file structure, and then realized I probably should have expected that result instead of being mildly surprised by it. Like I say, I don't really understand git yet; I reckon I'm just dense in this area (but quite bright in others; call it a mental block). I was able to I at first tried to create my first RustScript program in my usual I Obviously I've done something wrong. So I
At this point, I could probably sort it out, but I'm finding that RustScript is not what I was expecting (a shell-scripting language), and I don't really have need for a web-scripting language (I'm not a web developer), and even though I was at first excited about a Rust-based scripting language (albeit from the perspective of thinking it was a shell-scripting language), which excitement carried me over into a desire to continue exploring it as a (not really needed by me) web-scripting language, the hurdles are higher than my desire to continue chasing a product I'm not sure really benefits me. I only mention all of this so you'll have an idea of what neophytes might be facing when they come to check out RustScript. I do really hope Rust makes progress in the web world; I like the general idea of Rust very much, and want to see it succeed, and think it would probably be a better tool than what I, in my limited experience, perceive about tools like JavaScript and php and Java and Kotlin and Go, etc. |
Beta Was this translation helpful? Give feedback.
-
|
On 11/29/25 4:30 AM, RustScript2025 wrote:
/home/kent> cat /etc/debian_version Debian 13+
Just hangs silently: home/kent/Downloads/tmp/RustScript/rustscript-learning> ../target/release/rjsc hello_world.rjsc × External command was terminated by a signal /home/kent/Downloads/tmp/RustScript/rustscript-learning>
/home/kent/Downloads/tmp/RustScript/rustscript-learning> cat hello.rjsc main(); /home/kent/Downloads/tmp/RustScript/rustscript-learning>
Yes. -- Kent |
Beta Was this translation helpful? Give feedback.
-
|
I just re-cloned the repository;
Just FYI; Running the script was then successful, and I was able to start the python web server and open the games demo page. ===== You have a "Compiler hangs and never finishes?" section in the "Troubleshooting" section under the "Browser Runtime" heading, but up to this point there's been no mention of compiling to This information is also duplicated farther down in the README, after the "Learning RustScript"/"Complete Tutorial" is mentioned; it makes much better sense here, but it would probably make even more sense in the "Complete Tutorial". Nice rewrite of the README, though; excellent job! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions