you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 insightful - 3 fun4 insightful - 2 fun5 insightful - 3 fun -  (4 children)

I hope you will try Rust then. I'm not really doing Rust myself. But I heard a lot of good things about it from students and colleagues.

Maybe I'll even visit a lecture about it next summer.

I started with Java about 15 years ago and then took off to Haskell and Erlang mostly. These are my homes, so to say.

That is why I can remember these kind of problems only very dimly. But i can relate to them. Being the reason me searching for alternatives in the first place.

[–]zyxzevn 4 insightful - 2 fun4 insightful - 1 fun5 insightful - 2 fun -  (3 children)

Rust is good in very specific plain programming, but it restricts the use of data far more than necessary.
If you work with complex data structures, it becomes much much harder than it needs to be.

With C or C++ you can just deal with the complex data in simple steps.
In Rust the complex data-structure (like recursive graphs) is impossible by definition, so you need to create something to replace it.
And this replacement adds another layer of complexity.

The excuse Rust-programmers use, is that complex data structures are wrong. But they never programmed any complex system to begin with.
So you see that Rust is only used for simple things that have no such structures. High end programs, like triple-A games or graphical tools are not rust-friendly.

If you want to replace C or C++, I would currently advice Nim.
And for very complex systems, Elixir.

[–][deleted] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (2 children)

Nim is genius. Static types and generics and no hassle with JavaScript and meta-programming ? It even has lamda-expressions !

What the fuck more can you even ask for ?

[–]zyxzevn 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (1 child)

I made some small things with Nim, like a reader for HTML that converts into a database.
The structure is very simple and the generics are very meta and can be combined with macros.

In programming it is like an improvement on LISP with types. And it encourages you to keep things plain and simple.
It even looks like Python.

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 children)

I started working a book about it yesterday. Which says a lot. I'm not a guy easily convinced by new stuff.

But nim I just didn't know about.

I still wonder how the fuck this could happen, but that is not the point here. I wanted to try out something else than Erlang or Julia for a long time. As my main languages.

Seemingly every one of my colleagues does Rust, so nim is perfectly fine for me.

I'm always the offbeat guy. Every one knowing me knows that. I've got to defend the spin on a legend here, you know ?