heh, since I make a video every day they can only be so long before setting up, recording, and editing takes longer than that 😅 I have a couple specific videos in mind that will run longer though (and thus will take more time to put together).
Straightforward to set up SSR plus hydration with Axum server side, on plain vanilla sycamore. I hope to hear more about Perseus templating. Advantages over other rust solutions or database driven homegrown?
Really cool video! I want to ask though, if you think that this tech stack is mature enough/good enough to justify using over any of the traditional JS/TS options. Could you justify this as a choice at a company?
I think it's *good enough*, but that's true for most things really. It's not hard to hit a low bar of "can build a webapp/website" for new technology these days and it's all about your project's constraints, etc. Perseus/Sycamore and the Rust ecosystem in general is much younger than the JavaScript ecosystem... but Rust is really good at WASM and maintaining Rust projects tends to be more achievable than JS/TS projects. You also tend to get better performance (in terms of memory usage, etc) with Rust server-side code than JS/TS. So yeah, I could see this being used at a company *but* that will not be a generally applicable sentiment to all companies. I wouldn't walk around telling everyone to rewrite their JS apps in Rust, or to retrain all of their JS developers, etc. Also If your company's expectations are built around specific technologies (ex: "what WordPress offers", or "NextJS has feature X,Y, and Z, and offers integrated paid hosting") it can be really hard to move on to any other ecosystem.
Hi Chris, Go to know about all these projects in Rust. Which of these projects would be the best: Yew, Perseus, Leptos, Sycamore, etc.? according to your experience. Best regards, JA
They all have different tradeoffs and I don't think any one of them is "the best". If I was making a site for a client I'd probably reach for something that's been around longer like Yew unless they had requirements that fit Perseus better. Leptos is up and coming and is just about to see its 0.1 release so I'd only use it if you wanted to be on the early-adopter cutting edge.
Really cool! Do you anticipate a JSX/TSX style approach to the current view implementation down the line? (Asking as someone who has beginner level knowledge of Rust but wants to learn - also idea of .rsx seems cool to me)
My problem with Perseus is fixable. I want a single binary that does both frontend SSR/static file and also serves the API. It may be fixed, now, but, the last time that I checked, it was reccomended to have a seperate API server. Even so, I'm pretty much done with SSR. It's not something that offers any benefit past the 1st page load, and 1st page load is already fairly fast in my apps. Code splitting (for WASM) is a much more interesting.
yeah I definitely think the recent surge to push SSR for everything adds complexity that isn't necessary for a lot of projects. A lot of this focus came from VC backed companies' marketing efforts in the JS ecosystem. The UI vs API split is something I do in all my projects so it doesn't particularly bother me. Having the server and the client be a consumer of the API also means that you can build other interfaces easier (admin APIs, native apps, etc).
@@jaysistar2711 NATS is definitely interesting. I haven't looked at wasmCloud much or HarperDB at all. HarperDB looks like the pricing is pretty brutal so I'm not sure the average person watching would even be able to run it for a side project.
IMO, Perseus is still a young project that needs maturation. I browsed examples in github, and code is very dependant of the perseus version, API is unstable for the moment. So each version will require hassle migration. I can't recommand it to my company. Compilation takes a lot of time, ni comparaison with sycamore alone.
Can’t wait for Rust On Rails 😂
Trains will crash a lot 💀
Please more! and "long videos" are not something bad, so feel free to make even longer videos ;)
heh, since I make a video every day they can only be so long before setting up, recording, and editing takes longer than that 😅 I have a couple specific videos in mind that will run longer though (and thus will take more time to put together).
Very nice video, as usual! Would love a video about the different rendering strategies in perseus.
I've been waiting for this!
Straightforward to set up SSR plus hydration with Axum server side, on plain vanilla sycamore. I hope to hear more about Perseus templating. Advantages over other rust solutions or database driven homegrown?
Really cool video! I want to ask though, if you think that this tech stack is mature enough/good enough to justify using over any of the traditional JS/TS options. Could you justify this as a choice at a company?
I think it's *good enough*, but that's true for most things really. It's not hard to hit a low bar of "can build a webapp/website" for new technology these days and it's all about your project's constraints, etc.
Perseus/Sycamore and the Rust ecosystem in general is much younger than the JavaScript ecosystem... but Rust is really good at WASM and maintaining Rust projects tends to be more achievable than JS/TS projects. You also tend to get better performance (in terms of memory usage, etc) with Rust server-side code than JS/TS.
So yeah, I could see this being used at a company *but* that will not be a generally applicable sentiment to all companies. I wouldn't walk around telling everyone to rewrite their JS apps in Rust, or to retrain all of their JS developers, etc. Also If your company's expectations are built around specific technologies (ex: "what WordPress offers", or "NextJS has feature X,Y, and Z, and offers integrated paid hosting") it can be really hard to move on to any other ecosystem.
@@chrisbiscardi Cool! I might take a shot at making myself a resume site with this.
@@ryanmcwhorter8501 that sounds like a great project to try
Hi Chris,
Go to know about all these projects in Rust.
Which of these projects would be the best: Yew, Perseus, Leptos, Sycamore, etc.? according to your experience.
Best regards,
JA
They all have different tradeoffs and I don't think any one of them is "the best". If I was making a site for a client I'd probably reach for something that's been around longer like Yew unless they had requirements that fit Perseus better. Leptos is up and coming and is just about to see its 0.1 release so I'd only use it if you wanted to be on the early-adopter cutting edge.
Really cool! Do you anticipate a JSX/TSX style approach to the current view implementation down the line? (Asking as someone who has beginner level knowledge of Rust but wants to learn - also idea of .rsx seems cool to me)
Leptos and Dioxus already use an rsx style 👀 I've got two videos on leptos on the channel right now
@@chrisbiscardi ah cool will check them out!
All these libraries sound like pokemon characters.
that reminds me that pokemon is launching in 2 weeks
My problem with Perseus is fixable. I want a single binary that does both frontend SSR/static file and also serves the API. It may be fixed, now, but, the last time that I checked, it was reccomended to have a seperate API server. Even so, I'm pretty much done with SSR. It's not something that offers any benefit past the 1st page load, and 1st page load is already fairly fast in my apps. Code splitting (for WASM) is a much more interesting.
yeah I definitely think the recent surge to push SSR for everything adds complexity that isn't necessary for a lot of projects. A lot of this focus came from VC backed companies' marketing efforts in the JS ecosystem.
The UI vs API split is something I do in all my projects so it doesn't particularly bother me. Having the server and the client be a consumer of the API also means that you can build other interfaces easier (admin APIs, native apps, etc).
@@chrisbiscardi Unrelated: Have you looked at wasmCloud? It might make a good video topic. NATS and HarperDB are pretty interesting as well.
@@jaysistar2711 NATS is definitely interesting. I haven't looked at wasmCloud much or HarperDB at all. HarperDB looks like the pricing is pretty brutal so I'm not sure the average person watching would even be able to run it for a side project.
Does it support streaming HTML like Next.js 13 Server Components with suspense?
not that I know of, but fwiw NextJS doesn't even support that stably
Looks cool, terrible name for a framework tho
Window manager / OS?
yabai/macos -- th-cam.com/video/apEXmJP5xxw/w-d-xo.html
IMO, Perseus is still a young project that needs maturation. I browsed examples in github, and code is very dependant of the perseus version, API is unstable for the moment. So each version will require hassle migration. I can't recommand it to my company. Compilation takes a lot of time, ni comparaison with sycamore alone.