Live data from Hacker News

Tell HN: Rust is the superglue

news.ycombinator.com

11–20 of 38 posts

Re: Tell HN: Rust is the superglue

#11

Rust is awesome and could replace both JS and PY at exactly what they’re supposedly good at. The main issue is compatibility and library availability.

I wouldn't be so sure for Python. It's getting cluttered by the new additions, but what it's very good at is making very concise programs that, while brittle, can achieve a lot. Rust is mostly the opposite of that... I've been coding almost exclusively in Rust for the past two years and love it, but I really don't get why we should have universal tools.

Re: Tell HN: Rust is the superglue

#12

Rust is awesome and could replace both JS and PY at exactly what they’re supposedly good at. The main issue is compatibility and library availability.

Not a professional, just wrote some Python. I definitely find Rust difficult to learn. Mutability, variable borrowing, variable lifecycles etc, do I really need this? Personally I only want to learn another language rather than Python for performance issues, and C++ is far easier and a lot more intuitive.

Re: Tell HN: Rust is the superglue

#13

You maybe prematurely optimizing. The technological singularity will be realized when algorithms develop new programming languages, new hardware description languages, and so forth. We're not quite there yet. There is no universal answer or panacea tool. Evaluating which tool to use from the toolbox depends on a particular use and who else will be working with it. Being flexible and experimenting should, at a minimum…

Another niche: Many banks in Europe still use M4, but the existing maintainers are growing old and retiring.

What do they use m4 for?

Re: Tell HN: Rust is the superglue

#14

You maybe prematurely optimizing. The technological singularity will be realized when algorithms develop new programming languages, new hardware description languages, and so forth. We're not quite there yet. There is no universal answer or panacea tool. Evaluating which tool to use from the toolbox depends on a particular use and who else will be working with it. Being flexible and experimenting should, at a minimum…

Another niche: Many banks in Europe still use M4, but the existing maintainers are growing old and retiring.

m4 the macro language?

Re: Tell HN: Rust is the superglue

#15

You maybe prematurely optimizing. The technological singularity will be realized when algorithms develop new programming languages, new hardware description languages, and so forth. We're not quite there yet. There is no universal answer or panacea tool. Evaluating which tool to use from the toolbox depends on a particular use and who else will be working with it. Being flexible and experimenting should, at a minimum…

Basically all companies over a certain size will need software development capabilities, just to improve their internal processes. There are over 350'000 companies with over 250 employees. If they have just 3 full-time equivalents each, that is still 1M jobs. With increasing degree of automation in companies in general, the potential value created from software increases. Many industries are still in the start of their digital transformation, even if they started over 10 years ago. Even in modern economies, many business processes are largely ran based primarily on humans with pen and paper. Even with vastly better tooling, I do not think the job market for developer will go down in the next 20 years. We will just create more software, tackle more problems. And the role of the human will continuously evolve along with our tools.

Re: Tell HN: Rust is the superglue

#16
Rust can be used in a number of domains; from the use cases of programming languages I've encountered, its niche isn't one of the things you mention, and it wouldn't be my first choice. I think Rust's strengths are in these domains:

  - Embedded devices
  - Standalone applications
  - Operating systems / RTOSes etc
  - Performance-critical libraries

Re: Tell HN: Rust is the superglue

#17

Rust is a welcome addition to the global language toolbox but I feel is mostly a mirage in terms of future breakthroughs in the language / programming space: It still falls under the "formal methods / program correctness" paradigm which has led people astray for decades. Like Gerald Sussman proclaiming (talking about Haskell): "This is the most advanced of the obsolete languages!" Watch this talk: https://www.infoq.c…

And still for all the focus on projecting safety and trust of the compiled programs, you'd think it would be relatively easy to compile `rustc` from source so that people and Linux distros don't need to trust the `rustc` from the GitHub repository.

But unfortunately you need to do a gazillion compilation steps if you want to build the latest `rustc` from scratch.

I honestly can't wait until gccrs is good enough to allow us take a shortcut and be able to bootstrap a `rustc` in a reasonable amount of time and steps.

Re: Tell HN: Rust is the superglue

#18
First. I love F#. But it didn't take off in the market, so I'm learning Rust.

What I tend to see is that Rust does have a higher learning curve, because you have to change your brain's way of approaching problems. The 'functional' way of viewing things. (plenty of past flame wars on functional programming, so not trying to start that here)

Once you do learn Rust (or functional), it is safer, better, faster. But if you just came in from C++, Java, C#, and try and force that way of thinking into it, then it is difficult and crappy and you wonder what the fuss is about.

For Python. I tend to think if it wasn't for Machine Learning Libraries, it would have started to die off. It is super great as an ad-hoc, throw together some janky little script to tie some libraries together. It is very useful for new or non-programmers to just whip out something 'close enough'. Or as another poster said, the REPL that is similar to MATLAB. BUT -> Nobody builds big applications in MATLAB. So the use case is either, small janky scripts to do something small and useful, or as MATLAB with REPL which are also small scripts. Once a program gets to a certain size, it would be much better to graduate to something with at least type checking.

I do really hope that the giant ecosystem of Python does start to migrate to RUST. Ecosystems don't turn on a dime, so it will be years. And who knows, Python is also improving, maybe it's shortcomings will be fixed faster than the ecosystem migrates to RUST.

Re: Tell HN: Rust is the superglue

#19
Zig seems more interesting but it’s not mature enough yet.

I’ve been so spoilt with IDE support, documentation, massive community and ChatGPT for Python typescript and others that I really can’t pick up Zig yet.

One of the things I heard is that ChatGPT doesn’t actually “get” the hard parts of rust, and that’s a huge issue because the whole point of AI in programming is it’s meant to be able to lead and guide you in learning and understanding.

“Rust is so hard to learn that the AI doesn’t get it” is a bad place to be for rust.

Post reply on HN