Hacker News new | ask | show | jobs
by yeukhon 4558 days ago
I know nearly zero about why people choose Rust or Go. But my best guess:

1) historical reason. Rust, according to Wiki came about 2010 and golang came around 2009. So they are pretty old languages by now, even though Rust is still only at 0.8 release.

2) catchy words like concurrency and memory-safe caught attention. The first + thing I heard about Go is concurrency, how the language supports concurrency and channels out of the box. Being a total Go novice (though have written a few small programs), I imagine this means I no longer suffer Python's GIL and I don't need complex multiprocessing module to launch my jobs.

Rust is memory-safe, a replacement to C++. It also support concurrency. Looking at the language's influence, looks like Lisp and Erlang hackers love them. My guess is people who deal with programming languages are often functional programming language lovers.

3) names plus practical examples. Google was going to use Go to replace some of their existing C++ apps. Rust is now used to implement the next generation of Firefox's layout engine, Servo, which is totally awesome.

Now comes the real question: "why another language?" Basically a language comes down to the application domain the language is trying to solve. SQL is to solve business application where persistency and data analysis are required. Now people are wondering what is the purpose of M# when C# and Java are good enough... as a general programming language. Yeah, I am totally stealing this from Compiler class on Coursea (just started my first lecture last night myself :)))