HN2new | past | comments | ask | show | jobs | submit | phplovesong's commentslogin

Rust has nothing new (even the lifetime stuff is copied) really. It just marketed itself really well. It got a huge number of migrants from JS/TS ecosystem, and python, and some from the C(+*) ecosystems.

Its a good language dont get me wrong, but also a huge pita to work with.


> Rust has nothing new (even the lifetime stuff is copied) really.

Rust has nothing new by academic standards, and this is an explicit goal of the project. (And that's why it has yet to support e.g. Haskell-like higher-kinded types; or dependent types for compile-time programming: the interaction with its low-level featureset is very much an open question.) It's incredibly novel as a production language, of course.


It has nothing new but they did a good job at cherry picking what what nice in other languages.

Which makes it an interesting language to learn actually. I even feel like Rust can even be a superb first language to learn for a new programmer : that’s a journey for sure but it would expose you to most of the modern programming concepts.


> [Rust is] a good language [...] but also a huge pita to work with

This is practically the elevator pitch of the language :) and I speak as one who likes it a lot!


Saying it has nothing new seems like an uncharitable take. Yes, it has influences (that rust docs dedicate a page to [0]), but PL theory has such a rich body of literature that you can make a similar claim about virtually any language. It's the whole package that matters, and I don't think there's anything "rust but earlier" to point to there. Certainly isn't Ada.

[0] https://doc.rust-lang.org/reference/influences.html


Soon AI will come for the C suite too. Then whos lauhging?

You dont need C(++) for building performant software.

We had many languages that are faster that are not c/c++.

Compare Go (esbuild) to webpack (JS), its over 100x faster easily.

For a dev time matters, but is relative, waiting 50sec for a webpack build compared to 50ms with a Go toolchain is life changing.

But for a dev waiting 50ms or 20ms does not matter. At all.

So the conclusion is javascript devs like hype, and flooded Rust and built tooling for JS in Rust. They could have used any other compiled languge and get near the same peformance computer-time-wise, or the exact same time human-timewise.


> But for a dev waiting 50ms or 20ms does not matter. At all.

It absolutely does:

https://mail.python.org/pipermail/python-dev/2018-May/153296...

https://hackernews.hn/item?id=16978932.


To win benchmark games it does, in a world where people keep shipping Electron crap, not really.

Not sure if you missed the /s?

Anyway, you posted about speed, and then followed by a link to some python related thing. In python speed has never been a key tenet, at least when it comes to pure cpu based calculations. How much tooling is built in python? All the modern python tooling is mostly Rust based too. So theres that.

I mean for a dev working in JS with JS built tooling the speed is not in milliseconds, but in seconds, even minutes.

I still think my point holds, having a build take int he 10s of seconds vs 50ms is very much good enough for development (the usual frontend save and refresh browser cycle)


No worries, when Zig hits 1.0, the RIZ projects from JavaScript, Python and Ruby tooling will start hitting HN frontpage.

Git undo?

If only. But `jj undo`?

But rust is named after a mushroom?

Rust is the layer in immediate contact with the metal :) That's what the official version says, at least.

:shush:

AI banned a AI generated ad. Its kind of funny that then some C suite complains. The shit people dig themselves in is truly amazing.

Tech today is treated like some drunken first year collage fratboy a sex doll.

It fails. Every. Time.

Then we get popcorn time.


Are there any numbers on comparison to electron?

i'm not sure how you could have any meaningful comparison here except for comparing bun to node. everything is pretty modular so you can swap things out. i would compare webview to chromium bundle size, but that has tradeoffs too, and electrobun can use chromium (CEF) too. so that's also moot.

what kind of numbers are you looking for?


Now, how much did the AI companies pay for their data? In 99% of all cases nothing, on the contrary they caused huge spikes in bandwith and server costs.

As an industry weed need better AI blocking tools.

Want to play? You pay.


What we reallt need is a place for secure hosting, one where AI is gatekept. Right now the big AI companies just steal code and no one does anything about it. Its pure theft. A blatant violation of copyright.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: