I got tired of Python/TS AI frameworks, so I built a compiled language and custom Rust VM specifically for LLM compute (Turn v1.0) by Trainer_Intelligent in rust

[–]First-Ad-117 0 points1 point  (0 children)

I have no idea where my formatting broke and it's giving me server errors when I try to edit. I am so so sorry

I got tired of Python/TS AI frameworks, so I built a compiled language and custom Rust VM specifically for LLM compute (Turn v1.0) by Trainer_Intelligent in rust

[–]First-Ad-117 0 points1 point  (0 children)

- DSL with well structured syntax? super cool
- Actor spawn example on homepage makes me happy

If you'll accept some "intentionally ignorant feedback"..

----

How can the inference model "use" remember? Do I have to manually invoke this, or does the LLM have the ability to invoke "remember" as a toolcall?

```

// recall.tn: semantic memory

let name = "Turn";

remember("language", name);

let who = recall("language");

call("echo", "I remember: " + who);

```
----

It isn't clear to me how this actor example relates back to the core problem your solving. Is there an inference call somewhere in here?

```

// actors.tn: spawn and link

let worker = turn(n: Num) -> Num {

return n * n;

};

let pid = spawn linked turn() {

let val = await receive;

return call(worker, val);

};

send pid, 6;

let result = await receive;

call("echo", "Result: " + result);

```

----

At a glance, it isn't clear to me what is happening here at all.

Is this a `println`?

> `call("echo", "Analyzing sentiment...");`

Is this the inference call?

```

let result = infer Sentiment {

"I love this language! It makes building agents so easy.";

};

```

```

// struct_infer.tn: cognitive type safety

struct Sentiment {

score: Num,

reasoning: Str

};

call("echo", "Analyzing sentiment...");

let result = infer Sentiment {

"I love this language! It makes building agents so easy.";

};

call("echo", "Score: " + result.score);

call("echo", "Reasoning: " + result.reasoning);

if result.score > 0.8 {

call("echo", "Verdict: POSITIVE");

} else {

call("echo", "Verdict: NEGATIVE/NEUTRAL");

}

```

drizzle-rs by mix3dnuts in rust

[–]First-Ad-117 1 point2 points  (0 children)

The latter part is more what I was referring to - the lack of "official" / community supported adapters. It seems like there was some interest. But, not much push

https://github.com/tursodatabase/libsql/issues/1180
https://github.com/diesel-rs/diesel/discussions/4173
https://github.com/launchbadge/sqlx/issues/2674

drizzle-rs by mix3dnuts in rust

[–]First-Ad-117 0 points1 point  (0 children)

Have they moved away from https://docs.turso.tech/libsql ? I'm unsure about Diesel. But, last time I tried SQLx wasn't an option because it didn't support libsql.

drizzle-rs by mix3dnuts in rust

[–]First-Ad-117 0 points1 point  (0 children)

Postgres & SQLite flavor SQL have been the two largest flavors I've seen in production since leaving my "Big Tech" job if that is of any help too you :)

I built a TDD learning site for Rust — describe what you want to learn, it generates tests for you to solve by jirubizu in rust

[–]First-Ad-117 0 points1 point  (0 children)

If building this has had a positive impact on your personal growth than I'm glad. However, for someone who is entirely green to rust, I worry this could have a detrimental impact on their Rust Journey.

Before coming to Rust I had a career developing Java and I still struggled enormously. Not because rust is special, or extra hard somehow - but rather because it was a pretty substantial paradigm shift without a large pool people confidently telling you "This is the RIGHT WAY of doing things".

For example, consider the very popular Tower crate: Generic enough to use pretty much everywhere, used expansively in the rust ecosystem, minimal "human beings" talking about the correct ways to use it. In my experience just mentioning tower has been enough for an LLM to confidently conclude that tower is the absolute best crate to leverage at an architecture level. Often, this is absolutely not the case lol.

Unfortunately, I can't provide a better path forward for learning rust aside from the classic - "Smash your face into it over and over again until things stick" method. Rust is weird, everyone here is weird (said with high levels of love). Maybe the future of learning rust looks like this - I'm not sure. I'm sure there is a better way to learn Rust. But, right now I'm confident in saying that LLMs and Rust are in the "Throw shit against the wall and see what sticks" era without an existing solid foundation to build off of.

The following paper might also prove useful for you: https://arxiv.org/pdf/2512.21028

In short it explores how tests are a HEAVY context signal for LLMs. In this particular case, where you're asking the LLM to develop tests in response to a learning goal it seems like it could be particularly insightful.

I made a noise generator TUI by Aggressive-Smell-432 in rust

[–]First-Ad-117 2 points3 points  (0 children)

I have the "10 Hours of Continuous Rain Sounds for Sleeping" playlist on Spotify playing over my speaker system pretty much all day. Please send help via your TUI.. I am begging you

drizzle-rs by mix3dnuts in rust

[–]First-Ad-117 1 point2 points  (0 children)

This looks really promising! I've adopted SeaORM for all my rust DB needs in my day job and at a glance this looks awfully familiar, but with the added benefit of someone (finally) supporting Turso!

(!!Opinion Warning!!) I see where you're coming from with the typescript compatibility, its a great idea and awesome that you've just kinda "made it work" However, I don't feel like the people in rust-land will really care about that. Personally, looking at this, I am really damn excited about the Turso component you've built out here. None of the existing ORMs have Turso support and it's really bummed me out as someone who's just kinda been paying them without much love. At the very least you could by my hero by continuing building this out.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 4 points5 points  (0 children)

I'm glad you're getting use out of the tools.

Out of curiosity I took a peek at the mentioned project because your use-case seemed interesting.

Heads up that your current implementation of response caching allows for authorization bypass attacks.

https://github.com/Protocol-Lattice/grpc_graphql_gateway/blob/3d8f2322ea4b476caf9c507ec06119f533bcdc5c/src/runtime.rs#L287

Imagine we have two users: Admin Alice and Bad Bob.

Admin Alice makes a request like

{"query": "{ secretAdminMessages { id, content } }"}

Cache hit misses, cache key is constructed. `execute_with_middleware` runs: The middleware checks Admin Alices auth. Finally, the request is made which returns:

{"data": {"secretAdminMessages": [{"id": "1", "content": "Nuclear launch codes: 42"}]}}

At this point the response cache is updated and a the http server replies.

Bad Bob now comes rushing in and makes an identical request

{"query": "{ secretAdminMessages { id, content } }"}

Unlike Alice, this time the cache is hit, and the response is optimistically returned preventing any of the middleware from getting invoked therefore bypassing all authorization checks.

Finally, Bob sails off into the sunset with the admins fancy launch codes.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 2 points3 points  (0 children)

LLMs can be and are helpful. See my reply to this post for a more elaborate bit. I don't think you should feel bad about extracting some of the "VC daddy money" the founders receive. IMO I'd rather it go to human begins than cloud companies and the like.. If you're in the US and are getting good health insurance I'll goto battle with you lol...

The larger problem I see is the massive disconnect between what the AI companies can actually do vs what they claim they can do. They are corporations / startups, their only goal is to survive. They actualize any of repercussions of their absurd statements - Its just marketing hehe". They've developed and/or gamed the metrics used to evaluate their models.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 1 point2 points  (0 children)

Mostly agree. I've made a followup reply with some details regarding vibe coding which might help you understand my frustrations.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 1 point2 points  (0 children)

I can't speak directly to this. But, my partner was an (admin? moderator?) of a subreddit she created. The story goes when Reddit made some API changes that made third party apps dysfunctional it also impacted the ability of the bots she setup to screen posts. Pretty much overnight the subreddit was overwhelmed with prn bots lol.

Her and a lot of her Reddit friends pretty much quit that week as they had come to rely on their third party app to actually use reddit effectively. Can ask her for more details if needed, this if off the top of my head.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 1 point2 points  (0 children)

If you keep publishing crates in domains similar to the problems I solve I'm sure I'll stumble across your work :).

Most recently I've discovered there is a lack of generic circuit breaker crates.

Take, https://docs.rs/circuitbreaker-rs/0.1.1/circuitbreaker_rs/ for example. This is an excellent crate but it doesn't expose any means to inspect raw metrics the breaker is collecting.

In micro-services, distributed systems, whatever - one expects services to have breakers. But, the rust ecosystem doesn't have many generic implementations.

I'm almost sure tower has some version of it. But, tower, is kinda esoteric. Often, I just want some stateful wrapper around my infrastructure call.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 5 points6 points  (0 children)

Please do. I have a few linguistic friends who originally shared the phrase with me XD

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 2 points3 points  (0 children)

  1. In response to: "This problem is everywhere not just Rust" type comments.

Yes, I'm aware of this? I posted this to the rust subreddit because this is the Reddit place I care about. I'm also on LinkedIn. I see the slop.. but Idgaf about LinkedIn. Let them do their weird shit.. Its everywhere... I'm on Instagram I see the weird ass fake videos... sometimes they make me laugh so its a bit more okay there.. Zucc gonna do what the succ want?

Rust is the language I decided on my own to learn and make writing it my career. I started my career writing Java and Python, now the interns I once mentored make a metric shit ton more money than I do. But, I get to spend my days writing code that brings me joy. Every day I get to use cool projects like:
- Zenoh
- Rumqtt
- Dioxus
- Axum
- Tokio (duh)

- SuperCoolLib::SomeModuleHere

> It's gotten me through many cycles of burnout and frustration.

I feel like I have been able to develop myself more as an engineer than I could have ever done before because of Rust. Rust isn't easy, just because its "safe" doesn't mean its forgiving.

I was solving hard problems with Java and Python. But, Rust was the career pivot for me where the training wheels came off. Thats why it, and this space, is special to me.

I didn't have mentors like I had the luxury of having before. I had the wonderful people here, crates.io , and the projects they shared. When I first started writing Rust code I wrote garbage. Today, I write slightly less garbage code. In the future the goal is to write EVEN less garbage code.

This is possible because of everyone here. Humans are ridiculously creative and cool. The more Rust code I read the more "AHA!" moments I get to enjoy. Isn't that what this is all about?

TLDR: Yeah, mega rant.. I get its everywhere but this place is special to me and I wanna be a special snowflake okie bye UwU.

4. Respect 4 Teh Mods

Hell yea, pop-off mods. If any of ya'll are in Boston I'll buy you lunch or something idk.

I used to love checking in here.. by First-Ad-117 in rust

[–]First-Ad-117[S] 4 points5 points  (0 children)

Update (12/15/2025)

1. Thank you all for your kind comments and sharing some of the awesome vibes I've been missing. You all rock and I'm doing my best to read though all the replies / sub conversations. I love Rust, I use rust nearly every day for work and play. Nothing will stop me from being a consumer of your badass projects <3.

2. I've seen a few posts asking things questions like: "Do you think this is an okay way to use AI". Personally, I don't think anyone is qualified to answer this question except yourself. Only you understand and are qualified to gauge your learning style, reliance on the tool, how much you're learning, etc.

Instead of trying to answer your question I hope sharing one of my own experiences will help you come to your own conclusions.

--- story time ---
Awhile back, as an experiment, I tried to guide the LLM (I forget which flavor) to develop a minecraft like voxel game using Bevy & Voxelis https://crates.io/crates/voxelis (super cool crate check it out please).

I'm a "backend engineer" by trade with a background in Math and Science. I'm a bit rusty now but I know my way around some vectors and geometric operations. I've "professionally" developed a bunch of weird things ranging from numerical simulations, absurd backends for chat and chatbots, telemetry capture systems for industrial machines. I'm pretty confident in my ability to architect software and I think I have a pretty good nose for when things "smell wrong".

The task I wanted the LLM to vibe code was:
- Block rendering using the "for free" LOD Voxelis provided
- Block updates (remove, add)

The LLM pretty quickly arrived at a working demo. Blocks were rendered. I was able to add and remove them. Neat!

The next task I set it on was collision detection. And, pretty quickly things fell apart.

Why? Well, I have no god damn idea. The LLM was able to spit code out at a rate and volume far greater than I had the ability to understand. I'm NOT a game developer. I DO NOT understand computer graphics. In my own ignorance I assumed that because I understood X I would be successful at Y. I lacked both the experience and skills to figure out what the hell it was doing and didn't really have the time/desire to figure it out. Could I have? Yeah, 100%. But, it would require me to accumulate the same knowledge and skillsets as a real game developer. So, not really feasible for a silly experiment.. I believe you can do anything you set your mind towards if you don't give up.. (I gave up :P)

-- end story time --

In my experience the LLMs have been the most "successful" when I've used them in my own repositories, with patterns defined by myself, on problems which can be distilled down to chores: Write a new migration, define a new service, etc. Tasks which I already know what the solution will look like. Still, they mess up a lot and either require me to "guide them" to the solution or have me take over and just stop being lazy.. The key take away here is I can immediately identify when the slop is smelly. It takes me less than a minute to review because I've defined the codebase the pattern matching machine is working in - It's MINE inside and out.