#rust

  Рет қаралды 8,791

Sandeep Nambiar

Sandeep Nambiar

Күн бұрын

Пікірлер: 44
@tombanksme
@tombanksme 11 ай бұрын
Hey. Amazing video; I'm glad to see others enjoying rust as much as I am. I'm working on a Rust integration for the vite build tool which might help with your tailwind stuff. Im mostly focusing on a stack of Axum + Askama. Hoping to release it in the next few weeks. 🤞
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
I'm looking forward to it. Having less external deps is a big goal for me.
@thomasfrancis3766
@thomasfrancis3766 4 ай бұрын
I built mine with Axum and Askama as well. Askama seemed more well-developed at the time.
@alexhammi6898
@alexhammi6898 11 ай бұрын
Hey, Very nice work there, always love to see rust and htmx. This sounds a lot like a matrix chat alternative to me, maybe take a look at that
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Hm. I hadn't thought in that direction. If i pull out the chat backend, then maybe it can become more like matrix.
@m___pryor
@m___pryor 8 ай бұрын
The just trick is sweet. Nice build and stack 🙌
@_sandeepnambiar
@_sandeepnambiar 8 ай бұрын
Glad you like it!
@houstonbova3136
@houstonbova3136 10 ай бұрын
Great video! Great stack! I’m definitely going to toy around with this. I’ve been enjoying working in Leptos a bit here and there but this seems a lot more clear cut for most web dev things I would be doing. The just file is nice extra touch!
@indierusty
@indierusty 11 ай бұрын
Your projects are unique like adventures. This inspire me to make my own.
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Thanks! Would love to see them when you you do so!
@omkarmahajan9918
@omkarmahajan9918 11 ай бұрын
Hey Sandip, have you heard about dioxus? It's a rust framework which plans to Target every single platform. From desktop, web to smart watches using a single rust app codebase. It's written in rust. I am really excited about it!
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Yep yep. dioxus is very cool!
@pookiepats
@pookiepats 22 күн бұрын
Very incomplete
@mbvlabs
@mbvlabs 11 ай бұрын
Good video! You're making me want to start working on my starter template project in Rust that uses a very similar stack, just askama instead of minijina
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Go for it! The only problem I had with it was the pain of compilation times with Askama.
@mbvlabs
@mbvlabs 11 ай бұрын
@@_sandeepnambiar Yeah, that's the reason I switched back to Go. Tera has very fast compilation times, but you don't get the comprehensive checks during development as you do with Askama.
@SpeedCodes-oc7ed
@SpeedCodes-oc7ed 11 ай бұрын
do you think yew could be a solution for your case? i mean to use yew for frontend with axum or activx for backend?
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
The idea behind using Htmx and hateos is that the server returns UI rendered with state. Yew (and others like leptos) are mainly front-end frameworks where they fetch once to render UI and then fetch state after. While there are ssr things in them, I'm aiming to avoid magic things, going for simple "return this html" instead.
@SpeedCodes-oc7ed
@SpeedCodes-oc7ed 11 ай бұрын
@@_sandeepnambiar thanks for your response, really i love the idea of htmx, tailwind and alpine... but my question is, how could it works as microservice, when you just return the rendered UI instead of the data? or do you prefer to use alpine in that case?
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
@@SpeedCodes-oc7ed I see no problem in splitting up the UI rendering over multiple servers and the database as well. Returning html is for the final layer that is served to the users. Services can talk to each other in any protocol. Also, the trick here is to split what is returned from what is processed. You can return the serialised object as json or as rendered html based on whether the request wanted html or JSON.
@himanshutripathi7441
@himanshutripathi7441 11 ай бұрын
Tamasha, Accha nam hai bhai. keep it up . Thank you for video
@ajinkyax
@ajinkyax 11 ай бұрын
Good job Sandeep, do you think JS devs can see a future in Rust ?
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Yes for sure! i think it takes a little while to get over the initial learning curve, but after that you feel like writing everything in rust
@ajinkyax
@ajinkyax 11 ай бұрын
@@_sandeepnambiar thanks I have decided to learn Rust by making a game, thanks to you
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Thats great! I am a game dev during the day! Would love to play what you put out! @@ajinkyax
@irlshrek
@irlshrek 8 ай бұрын
dude, great video!
@elitiums9320
@elitiums9320 8 ай бұрын
Why didn't you use tauri?
@_sandeepnambiar
@_sandeepnambiar 8 ай бұрын
I assume Tauri is used for making a desktop application and if i was making a desktop application, I would definitely recommend Tauri as well! Cheers!
@chillbro2275
@chillbro2275 28 күн бұрын
wow, a JS Framework is still useful with HTMX? Didn't expect that.
@evccyr
@evccyr 11 ай бұрын
Great video btw... I'm also building a website with htmx, turso, Tera, and axum. I am still confused between the templating frameworks. I'm missing the render_block function from minijinja in tera.
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
Good luck!
@billymosis
@billymosis 11 ай бұрын
I'm using askama instead of mini Jinja. It also compile check too like sqlx. The bad news is when returning partial HTML I need to create two struct lol.
@evccyr
@evccyr 11 ай бұрын
What database are you using? Like what cloud platform?
@larsthomasdenstad9082
@larsthomasdenstad9082 11 ай бұрын
This uses SQLite, he mentions it in the video.
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
This project uses sqlite so.. the db file lives locally. But I think sqlx is compatible with postgres so there are bunch of the cloud offers for that. This project is built around you owning everything, including your data. So it's all local.
@evccyr
@evccyr 11 ай бұрын
Do you know where I can deploy an axum app for free with a custom domain name?
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
I think shuttle.rs is a great option for rust projects.
@evccyr
@evccyr 11 ай бұрын
@@_sandeepnambiar yea, but you can't hook up a custom domain without a subscription
@_sandeepnambiar
@_sandeepnambiar 11 ай бұрын
@@evccyr hmm true. I think there are a few crates that would do let's encrypt certificates for you. Then you can use that and follow the examples in the Axum repo to get TLS .
@chillbro2275
@chillbro2275 28 күн бұрын
3:20 hahah
@argha-01
@argha-01 10 ай бұрын
best stack ever (just need a solutilon for css , tailwind is too much copypaste )🤣
@metaphoricallyalive8109
@metaphoricallyalive8109 9 ай бұрын
This is so hawt. I'm in love.
@funky_hedgehog
@funky_hedgehog 7 ай бұрын
It can be easier with picocss
@_sandeepnambiar
@_sandeepnambiar 7 ай бұрын
Yes indeed!
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 164 М.
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Ben Wishovich - Full Stack Rust - Building Rust Websites with Leptos
44:54
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 75 М.
Dioxus vs Leptos  | Rust GUI Wars #2
21:18
Creative Coders
Рет қаралды 14 М.
The magic of Rust's type system
9:01
Let's Get Rusty
Рет қаралды 82 М.
Modern All Rust Stack - Dioxus, Axum, Warp, SurrealDB
24:02
Code to the Moon
Рет қаралды 76 М.
HTMX, the anti JS framework (vs React)
7:17
Kodaps Academy
Рет қаралды 75 М.
The Secret Language Scaling WhatsApp and Discord
28:32
Theo - t3․gg
Рет қаралды 190 М.
Why You Shouldn’t Build Your Next App in Rust
9:18
warpdotdev
Рет қаралды 106 М.