Maybe certain projects need a specialty tool in your toolbelt— but for your typical work, if you were to start a new project today, what would you reach for in order to deliver on time and on budget?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (140)
Rust + Typescript.
probably also worth mentioning, that Rust bindgen will generate ts typings so its perfect for some blazing wasm code if you so wish.
I am intrigued what you love about that combo?
At first it was because I wanted to try all the new hotness, but this is all quite old now so I guess I liked what both languages did for their respective areas. I like rusts no nonsense approach in that it's pretty hard to write bad code and it's pretty hard to write code from a beginners stand point, you really have to keep trying and failing and being repeatedly beaten over the head from the compiler until you end up with idomatic rust. On the other hand we have typescript, this is as flexible as you want, obviously I aspire to write strongly typed strict JavaScript but I tend to get a little lapse in my discipline over on this side, I get that freedom of prototyping speed that I don't in rust and I guess that's a nice pairing, now if I where a 10x I know this combination would lead to some incredibly resilient software.
That's fascinating. What do you mean by "now if I where a 10x I know this..."?
What a quote! Because it's true, I'm a lazy developer, I like my computer to help me to code at every stage. A 10x developer is a joke about the mythical inhuman skills of a developer that is superior to all other developers. I suppose I'm saying, if I weren't the human behind the machine this stack would meet the perfect criteria for excellent software, Microsoft seem to agree with me, for their software is being reengineered in rust, and the invented typescript and this new language which we don't know a lot about yet other than it's likely typescript like but will be used in the same space as rust, zig, d and other c alternatives.
I love that
Any library recommendations?
I read Actix was good, but now has maintainer problems.
It did have maintainer issues in the past, but has a new maintainer. You can also try Rocket which is about on par, but I dont know if its as fast.
Results of StackOverFlow's survey on most loved languages in 2020 might agree with you :)
9 out of 10 DEV devs might agree with me haha 😂
What's your Rust library/framework set look like?
So on the Rust side.
Actix Web although I tried Rocket which was also great, I wanted to use http2 on what is reportedly the fastest web server around. the reason being the stack I am developing is ESModule based so I am trying to move away from a bundler and get as many small requests as I can. the experience feels like 2005 but with Typescript powers, Its liberating!
For the front end, it has to be XState and lit-hml / lit-element. so enjoyable.
The intro to this project can be found here. Rust has been decided after this post was created. I am working hard on a full shop to showdev, its going really well and probably will be done next month.
🌌 A modern FE stack in a parallel universe 🦓
Adam Crockett ・ May 11 ・ 4 min read
This sounds really interesting!
This is really cool, I've been chewing at rust for web development, but I'm wondering how/where you can host a rust web server?
I'm likely to spin up a AWS lightsail or something small to install rust. I think that'll do for early days.
Lambda also has a Rust runtime.
🔬 On my list of stuff to tinker with! 🔬
I'm a big fan of what folks have dubbed the GoLD stack:
Who doesn't love a little bit of serverless :D
It almost feels like they purposely picked Lambda and DynamoDB for working with Go, just so the stack would sound that well xddd
Lol yeah
Step one is always have a kick-ass name! :D
Hahah, I'm currently working on a MERN stack, I'm thinking to switch out React to Vue just so I could be the mighty VENoM dev xddd
I don't, I guess ;) We used lambda since quite early days but in almost every case we regretted it in the end. It always turned out that Kubernetes with some application processing (eg. Sidekiq) scales better, performs better and we have better insight into what's going on if something goes wrong.
Hahah yes, definitely there are draw backs when it comes to serverless, I think it's all about the project at the end of the day.
Your final point is the most important to me, transparency is actually key for when (not if) something goes wrong :)
What's your experience with Dynamo DB? As far as I've heard it it's great for record based transactions, but tricky for aggregate analytics work. (Disclaimer: I've barely even read the docs :p)
Dynamo DB is great nowadays....a year ago was the worst thing I could have used ....I've never written so much code for such a small project (extremely high traffic) to handle just throttling strategies. Then one day we turned on "on demand" and never cared for that service ever again
I have never used it personally for analytics, but I have heard using it in tandem with Amazon Athena is great for that kind of stuff!
I like DynamoDB a lot, though I have heard it's not great if you have a data set which is growing rapidly.
I have used Athena with an S3 data store. That worked well for that particular job :)
This is my current go-to stack:
Full disclosure I'm working on an internal app for Prisma, but it's sooo nice to have VS Code write half of my code for me thanks to type-safety and intellisense. Types defined in the database schema flow all the way to React components on the frontend. 💯💯💯
Wrote an intro to this stack last week :D
Complete Introduction to Fullstack, Type-Safe GraphQL (feat. Next.js, Nexus, Prisma)
Xiaoru Li 🇨🇳🇩🇪 ・ Jun 9 ・ 13 min read
It really depends what I am doing, but for quick prototyping (which is a common thing I do):
Generally Laravel on the back end, with React on the front end.
I'd prefer to use Postgres rather than MySQL or MariaDB, but it tends not to be possible because the PHP community is very MySQL-focused. I also tend to use Redis as my cache and queue backend.
I have been really interested in getting deeper into Laravel. I heard that it meshes really well with Vue (which I already know) so it intrigued me more. I am also about to learn React. Have you tried using Laravel with both Vue and React and if so, what is your reasoning for your preference being React?
The default front-end toolset for Laravel uses Vue, so it's quicker to get working with Vue in Laravel than any other front end framework.
I have tried Vue a couple of times, and the issues I have with it are as follows:
I will concede that React is harder for front-end developers who don't necessarily know Javascript all that well to pick up, though.
Wow, awesome reply. Thank you for taking the time to respond :)
I just want to add that Laravel comes with its webpack-based build tool: laravel.com/docs/7.x/mix
The default installation is configured for Vue, but you can change it to React easily: laravel.com/docs/7.x/frontend#usin...
As it's really just webpack, you can even use Svelte with relatively simple setup. Basically you can bring any major UI/frontend stack that you are most comfortable with to use with Laravel.
Mix can also be used outside the context of Laravel. I use it on a legacy Zend 1 project I maintain where I've been using React for new front-end work.
The only thing that required more work is versioning - I had to roll my own solution for that.
Laravel and Vue are awesome, plus both come with some of the best docs around.. So it's a win-win if you need to look-up smth ;)
Very true, the Vue documentation is really thorough and I have noticed the same with my experience with Laravel so far :) Always a huge plus when getting into something new!
If I were aiming to deliver a project on time, I'd choose what I know: Ruby + Rails + Postgres + Vanilla JS (I don't know much about Front-end development >.<).
If I was wanting to try something new then it would be: Elixir + Phoenix + Go + Postgres/Mongo + VueJS.
Google Docs, Markdown, and VSCode.
(sorry, I'm a blogger by trade 🙃)
Over engineering something isn't something to brag about, your stack is perfect for blogging.
This is my favorite response
I'm pretty-well bought into Kotlin at this point across the whole stack. I love using Ktor for server-side apps, I'm primarily an Android dev where Kotlin has its greatest usage right now, and the fact that I can write Kotlin instead of JS just makes me giddy. Especially using this all together with MPP, sharing data models and logic is just wonderful and such a pleasant development experience.
I'm in the midst of learning Kotlin. I introduced it at work, and it's pretty much just a way for me to get some functional programming in our Java 6 EE-targeted application.
Do you have (or know of) any open-source examples with Kotlin across the whole stack? My "learning" part is writing an application which, for now, uses Angular on the front end.
And, for data access, do you use Exposed, Hibernate/JPA, roll your own, or something else?
Python, FastAPI, Typescript, React, and PostgreSQL
Something like this: github.com/Buuntu/fastapi-react
thanks , I was looking to use fastapi for my new project . You assemble all what I need in one place.