Feel like everyone’s been telling me it’s the best thing since sliced bread. I’m just a hobbyist with like a single big project I’m maintaining but I’m starting to hate the code and idk maybe I should rewrite it in rust. Idk
Feel like everyone’s been telling me it’s the best thing since sliced bread. I’m just a hobbyist with like a single big project I’m maintaining but I’m starting to hate the code and idk maybe I should rewrite it in rust. Idk
C/C++ senior developer here.
If you don’t know, learn Python.
There are very few things python can’t do on a hobby level. It’s simple and have tons of libraries and tutorials and so on. Also, no need to set up a compiler or so, it just runs straight out of the box. PyCharm is a simple and elegant IDE with debugging, but you could start out with the simplest text editor just to check things out.
HTH
I already know Python, JavaScript and Java. I want something without a runtime.
Just freeze the python to an executable is one way to do it (windows, linux, …).
But now I’m curious, what’s your hobby project about? I mean you can close to chose any language and do anything … Do you do database? Graphics? Is it supposed to be online? Cryptographics? Gpgpu? Massive multithreading? Large calculations?
If you don’t give us more information then we can only tell you to chose the language you like or master the most IMO.
It doesn’t really need it. I’m sorry for giving the impression that it’s some performance critical application lol.
It’s just a simple web app backend with a db. Oh and the front end desktop version I wanna build will use tauri (because I hate the thought of bundling a browser) so that’s another reason to learn rust.
I guess I just kinda want to make things minimal in the resources they use. Because that’s just neat :D
There is a reason a lot of web apps run on the JVM - while it does have high overhead, once your app is running it is fast and you get some nice advantages. Plus Java has a large system of helpers and libraries. Even though you can do everything in Rust, you will end up writing a lot more code just because in Java you can just download a library to do something while Rust forces you to write it.
Well if you want to use minimal resources, get Beej’s Guide to Network Programming (I highly recommend it for anyone tinkering with sockets in C/C++) and write it in C!