So if you were me a one man team

So if you were me a one man team developing a saas that’s using cloudflare workers and durable objects. I’m building a restaurant saas and have so many different solutions i plan to offer. I’m currently building the api to serve the client react native app in typescript cf workers and durables. Should I put in the backlog that I need to rebuild that using rust in cf workers and durables? What are the drawbacks of rust being used in cf workers? What are the missing features that forced u to switch to typescript
14 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MetalGear
MetalGearOP2y ago
That makes sense thanks for the great explanation. My problem is I don’t know anything but typescript so I don’t see my struggles that typescript might be causing me because I can’t pinpoint or compare to other languages as I don’t know much. Part of my app deals with a infinitely recursive tree of nodes that have different types and one type is only allowed under another type and etc. its starting to get so complicated handling all the different scenarios. Would rust really shine in that situation? I’m currently using typescript and it’s much better then JavaScript but really trying to see how rust would help me And yeah I’m not going all in on rust right away but trying to start learning it on the side so when my app really grows in 10 months I am ready to start using it if I decide it’s typescript that’s holding me back. Like the ordering api that will deal with calculating the order totals and actually deal with credit card processing I’m assuming rust will be huge in that space with its safety. My only struggle comes I see rust as a big thing to learn and I also have a job at Fortune 500 company and all they use is Java spring boot so sometimes I think if I should grow Java to be more hirable as a backup option in case I need a salary job
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MetalGear
MetalGearOP2y ago
So does rust with wasm still have a ways to go as far as what you can do? Are all the rust crates available? I coulda sworn someone told me there are caveats for rust on webassembly still with cloudflare workers Oh I was not aware rust demand is going up like that. I’m not afraid of it being too hard I like to think I have dedication to learn anything. I’m just trying to use my time most efficiently
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MetalGear
MetalGearOP2y ago
Please please keep me updated I’m so excited about rust and cloudflare serverless and wasix Thank you 🙂
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MetalGear
MetalGearOP2y ago
Announcing WASIX
WASIX extends the WASI proposal to build useful and productive applications today with full POSIX compatibility
MetalGear
MetalGearOP2y ago
That’s what gets me excited so much on top of everything else
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
katopz
katopz2y ago
I would suggest to do a side project in Rust first before jump right in (Some caveat is came from cf limitation but it will worth it in the long run especially you can share logic/struct anywhere as wasm via npm). Here's my proof that's Rust is easy to learn 👉 https://gist.rs After you code in Rust it will boost your mindset and logic in ts too! so just try it and you will understand why people are so crazy about it.
Gist of Rust
Learn Rust and Wasm with joy
MetalGear
MetalGearOP2y ago
Hey, really loved that gist of rust. Tysm. My only worry is in how long will rust basically be a no brainer for cloudflare worker backend development to the point that the team would reccomend using it over typescript. And trying to keep track of where we are on that mission or if that will ever come from the cloudflare team. And what are we waiting for the cloudflare team to release/fix when it comes to using rust on workers in order to make it a better option then typescript.
katopz
katopz2y ago
Hard to say. Rust is still young+slow compile and ts/v8 is continuing evolve, anyway is healthy to have some competition so I would rather ask when ts will eat js 😆
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server