Feedback on carpathia
Hello I released my side project GitHub - sdoerig/carpathia: Declarative database introspection and language agnostic code generation. · GitHub . As I'm still learning, feedback on my...
View ArticleShell arguments tokenization approach & implementation advice
playground code I want to ask if this is a correct approach to tokenizing shell arguments in Rust language. Previously, i did it through chars with a custom cursor, but i am not sure if that is what i...
View ArticleCarpathia — generate code from PostgreSQL schemas with your own Tera...
carpathia — generate code from PostgreSQL schemas with your own Tera templates carpathia — generate code from PostgreSQL schemas with your own Tera templates (0.3.0 on crates.io) Hi everyone! I'd like...
View ArticleChapter 8 Exercise (Median and Mode) - First time using Rust
Hello everyone, This is my first time writing Rust. I have been studying from the Official Rust Book without using any AI assistance. I spent almost 3 hours working on this specific exercise (Chapter...
View ArticleIPv6 as the "community default"
Hi there! As this came up in a Github Issue which pretty much ended in "we should discuss this", I wanted to get some more input about whether Rust should strictly default to IPv6 as the protocol used...
View ArticleDarknet/yolo what is the best onnx runtime to use?
Using darknet/yolo: CCodeRun/darknet: Darknet/YOLO object detection framework - Codeberg.org I have trained my model and I have converted my model to onnx format. I want to use a rust based however...
View ArticleConfused on the Rust Reference, about Visitem
According to the the reference, a VisItem consists of a Visibility (optional, such as pub) followed by, for example, an Implementation. However, pub is not permitted in front of impl. This seems to...
View ArticleAn open source risc-v processor with rust
I carried CVA6 to OoO and AI processing through AI agents and chose Rust as the primacy language for most of it, it's a great choice and everything went smoothly. I'm wondering if anyone would be a...
View ArticleTrait with associated type with covariant lifetime parameter
trait SomeTrait { type AssociatedType<'a>; } fn shorten<'short, 'long: 'short, T: SomeTrait>(value: T::AssociatedType<'long>) -> T::AssociatedType<'short> { value } This...
View ArticleHow to think about deallocation when you have graph + slotmap?
I have some code that uses a tree of widgets stored in a slotmap. Well, it's technically a graph, not a tree, because I can walk up to parent: Option<WidgetId> or down to children:...
View ArticleA niche exception to dyn Trait: Trait
hi! I am trying to understand this example from: dyn Trait implementations - Learning Rust Does the trait bound on Iteratable mean that Self should impl IntoIterator, and, if there's any lifetime with...
View ArticleRand crate observation
Why is the rand crate not included in the standard library, rather another dependency, despite it's requirements? 8 posts - 8 participants Read full topic
View ArticleRocketMQ-Rust: a Rust messaging implementation and async client SDK
I maintain RocketMQ-Rust, an unofficial Rust implementation of Apache RocketMQ’s messaging architecture, licensed under Apache 2.0. The project includes NameServer routing, a broker and storage...
View ArticleUlua: Pure Rust implementation of the Luau language with JIT and WebAssembly
GitHub · Playground · crates.io ulua is an open-source, pure-Rust implementation of the Luau programming language. Luau is Roblox's high-performance evolution of Lua 5.1, featuring a gradual static...
View Articlerzc:Write real Rust in your native language
Rust is powerful, but English error messages and unfamiliar terminology often discourage beginners before they even write their first line of code. The i18n-rust project aims to change that. Its core...
View ArticleWhere can I find developers to test a small Rust UI language?
Hi everyone, I’ve built a small programming language for UI development in Rust, but I’m not sure where to find developers who might be interested in trying it. I’ve mostly tested it on my own...
View ArticleWhat's up with SurrealDb?
So I put SurrealDB into my project because I have some data better modelled as a graph and, well, just because I wanted to dip my toes into graph database world. This works well but it's driving me...
View ArticleMinigraf: an embedded graph database with Datalog and bi-temporal queries
Hi everyone, I’ve built Minigraf, a small, single-file embedded graph database written in Rust. Minigraf stores connected data as facts and queries it with Datalog. It also tracks both transaction...
View ArticleAnnouncing Tollgate: quota admission and usage accounting without per-request...
We’ve open-sourced Tollgate, a Rust library that checks whether a request may run, calculates its cost and records the charge for billing without I/O on the request path. I built it for an API where...
View ArticleRust lottery app on Terminal
I am from Bangladesh ,Rust is basically non-existent here. And my environment is Termux on my phone. I have written this lottery app code,I will be glad if someone reviews it. It takes names from...
View Article