Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Modern C++ or C with Classes?
After spending time with Rust and Cargo I just can’t face any more C++. -
@kamen the build system really. The language itself is nice, but it never likes to play fairly when being transpiled elsewhere.
-
@MM83 right. Spoilers are awesome. Wheelchairs are an amazing invention.... together, it was ill thought out.
-
After seeing how much work it takes to make a web app with Rust compared to Go, I'll just stick to go if I want a compiled solution with a multitude of third party packages as well as a sane std lib.
Rust as a language is definitely superior to Go, but the advantages in terms of speed etc are just not comparable to the ease of building a proper Go app with tdd in mind etc.
At least on that side I still far prefer Go. In terms of using Rust vs C++, I honestly see little advantages, the compiler protecting you from stupidity is to me admitting defeat, specially compared to proper c++20 best practices.
That package manager is king tho, way better than anything I have seen in C++ or any other package manager for that matter.
So I feel you. -
@neeno sounds like a little bit Rusty here. I personally have no problem with Rust. But It depending on what the project is tho.
-
@neeno and that general consensus is what bothers me about Rust. I can either learn proper C++ to work on a field in which there are already a loooooot of jobs, opportunities etc, or wait for the Rust environment o mature enough for companies outside of very niche environments inside of Microsoft, Mozilla, Google etc to make it wide available.
I do view Rust as my entry into embedded development, that is one thing, but the level of complexity inside of the language is damn near as astronomical as that of C++, which makes me think that well, might as well just get better with C++.
One thing I can say for certain, there is no *({}!).*(malloc(sizeoOf)) bullshit trickery inside of Rust, the syntax is there and there are no two ways of fucking with it to do dark magic.
In terms of Go, stick with it, I really like how simple it is to build a full fledged web application with it, would not use it much outside of that environment tho, but that is just me.
I might very well be full of shit -
kamen67794y@devphobe The build system however is not inherent to TypeScript - TypeScript is usually just plugged into an existing build system.
-
kamen67794y@MM83 For people who add strings with numbers, maybe. For people who want to get shit done it's actually helpful.
Imagine a language that only blows up in runtime because you passed in the wrong argument. That's vanilla JavaScript. TypeScript keeps you from that. And on a road that only accepts wheelchairs, you bet I'd want my spoiler (you don't have much choice for the web now, do you?). -
matt-jd9724yFrom the thread I gathered it was about using rust for Web applications?? I mean I'd pick rust over c++ any day, as soon as it compiles you usually got a stable application as runtime bugs get converted to compile time errors. Definitely not a good choice if you need to develop fast but it has its use cases however C will never truly be replaced at least in embedded and close to hardware programming
-
@kamen yes, but as a DevOps guy that’s my job. No two typescript apps are ever built the same way in my world. In C# I could almost guarantee the build commands were the same with different parameters passed in.
I fucking hate TypeScript and Rust. I’d rather be working in C++
rant