Hacker Newsnew | past | comments | ask | show | jobs | submit | ezbie's commentslogin

I dont get the point of this.

Developers rewrite code in rust for memory safety, not speed.


Python and Node are already memory safe. If that were the only thing that mattered, Rust wouldn't be a thing.

Rubbish. There are at least three big reasons to use Rust:

* Memory safety

* Performance

* Logical correctness

People definitely rewrite in Rust for speed. To be honest I would say memory safety has been overegged as an advantage - yes obviously you want memory safety, but I think some people think it's the only advantage Rust has, when logical correctness (due to the stronger type system) is definitely in the same league.


I recently did it only for speed honestly. Python is quite slow in many cases, like a small operation on millions of lines of text. I tried the rust version and it removed that bottleneck, it's quite easy with AI. It's mostly for manipulation of strings, for math we already have numpy, numba, pytorch etc.

But in many cases a rust version already exists (like for tokenization etc.). I wouldn't advise to write it yourself if a supported repo is already doing it.


As we just saw in the MS outage, making it run faster might be introducing race conditions that were previously shadow conditions. You have the correct take. Rewrite the parts that are bad, not the parts that are slow.

As far as I can tell, the only reason people rewrite things in Rust is so that they can make HN posts about rewriting a thing in Rust that didn't need rewriting in the first place.

That doesn't mean Brazil does what you say. Back in the 2000s Brazil was runnning in that direction, everything public was incorporating OSS and I myself participated/used several public services that were built upon Linux. Then at some point in the 2010s they announced they'd be doing away with that philosophy and suddenly their started getting volume licenses and sticking windows/office on every school, university or government computer again.

Not saying this lad is lying, vut it would helpnif they added at least the sources to their claims


That this article even has to be written proves how stupid web development as a whole has become.

I loathe this area of software development, loads of unnecessary frameworks and spinning gears that add complexity while making less and less functional applications


Exactly. Ever since I was a kid I never understood how the US has jurisdiction way beyond their borders.

Then I graduated in International Relations and understood that the hole is much deeper than that.

Now it's pretty obvious with all the shit that trump has been doing, but back then me and much of the people I know were oblivious to what US power really means.


What in the actual fuck?


Gosh, what a badly written article, despite the theme being interesting


"In the end, all it took to break the impasse was a few copper wires, laid across the Gulf of Mexico to a high-energy physics lab just outside of Chicago, in 1991."

Make it make sense. Either in how Chicago is close to the Gulf, Brazil is on the Gulf, or in 1991 having a working wire thousands of miles long qualifies as a throwaway "all it took."


Deliberate understatement is sometimes deployed for humorous intent.


Which sometimes works.

But maybe not in the case of "all it took to get the internet connected was connecting the internet."


Someone please tell me what I am missing. Is this really just 10 topics about very basic win32 api?


Can someone explain me what the fuck this is supposed to be!?


Semantical subtraction within embeddings representation of text ("meaning")


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

Search: