Earlier quoted context omitted.
To provide some supporting evidence for this, a choice comment made a couple of days ago: > Rust has many benefits and I find it hard to imagine how anyone manages to get any performance-sensitive work done in the cryptocurrency industry with anything else.
I've seen every single thing I mentioned ("murder, assault, malpractice") applied to C++ programming in comments in Rust threads.
A pure JavaScript implementation of Git for Node and browsers
151–160 of 203 posts
Re: A pure JavaScript implementation of Git for Node and browsers
#152Re: A pure JavaScript implementation of Git for Node and browsers
#153Earlier quoted context omitted.
They are so often spoken of in the same breath in ways that other languages are not, that I think a lot of people do forget that they are not the same thing nor even that culturally close.
Eh, I'd call them culturally close. I always read it as "the most common systems programming languages", since that's how the phrasing is usually used.
Re: A pure JavaScript implementation of Git for Node and browsers
#154Earlier quoted context omitted.
I'm not sure on the last point, a lot of architectures, especially niche ones, aren't supported by Rust at all while there are plenty of C compilers for them going around. (have fun trying to get Rust working on 8bit controllers or Itanium/ia64)
I think the point is less that Rust runs everywhere that C runs, and more that there doesn't exist an environment that can run Rust and not run C (which is not true for Javascript)
Re: A pure JavaScript implementation of Git for Node and browsers
#155I think it's interesting how there's two phenomena that seem to be related to me that get posted here and seem to get treated with different responses. One the one hand, we have software originally written in C/C++ being rewritten in Rust (not often, sometimes just conceptualized), and there's often a real push back by some people about how it's a waste and not useful. On the other, we have software rewritten in Java…
we have wasm now. why is anybody writing anything in javascript ever nowadays? some form of religious self chastisement?
Re: A pure JavaScript implementation of Git for Node and browsers
#156Earlier quoted context omitted.
we have wasm now. why is anybody writing anything in javascript ever nowadays? some form of religious self chastisement?
Doesn't compiling a non-JS language into WASM require compiling a fat language runtime as well? That would put the output in couple-dozen-megabytes category.
Not necessarily. For a language with a large runtime that is either irreducibly large (perhaps because you need to support unrestricted eval) or for which you don't wish to spend the effort to allow your build toolchain to bundle only as much as your program actually uses, sure.
Re: A pure JavaScript implementation of Git for Node and browsers
#157Earlier quoted context omitted.
People are actually claiming that Rust is more readable than C?
It depends what you call “readable” I guess, if you think it as : “I can have a glance at this code and feel comfortable”, then obviously C is more readable than Rust, because Rust has a quite a few specific syntaxes that will feel alien to anyone not accustomed. But I'm not sure this metric is relevant. And on the other hand, if you call “readable” the ability of someone knowing the language to get on board of an ex…
Re: A pure JavaScript implementation of Git for Node and browsers
#158Earlier quoted context omitted.
And with wasm, Rust/C/C++ all can run in the browser too...
When people say “The Browser” they mean “that thing which is on literally every computer where you instantly load that one kind of software”. People think the web is a technology, or that JavaScript is a language. They’re not. It’s not. The web is an idea: it’s the idea that every computer in the world already has the runtime on it that can run your next app. Whatever that is—whatever that runtime is—that’s “The Brow…
You don't have to wait 10 years. You can start using WASM today.
Re: A pure JavaScript implementation of Git for Node and browsers
#159I think it's interesting how there's two phenomena that seem to be related to me that get posted here and seem to get treated with different responses. One the one hand, we have software originally written in C/C++ being rewritten in Rust (not often, sometimes just conceptualized), and there's often a real push back by some people about how it's a waste and not useful. On the other, we have software rewritten in Java…
I've lived thru null terminated strings, ASN.1, NULL values in SQL, C++, XML, CORBA/COM+, WSDL/SOAP, XSD, event buses, EJBs, ORMs, etc. (I'm forgetting a few dozen, I'm sure.)
You wouldn't believe the grief we XML skeptics got, back in the day. Being right and $2.50 will get you a bad cup of coffee. Pointing out the emperor's nude hardly seems worth it.
JavaScript is another obvious, terrible, avoidable, costly mistake. Only proving that even pigs fly, given enough thrust.
This too shall pass. Just find a way to suffer thru it.
--
When the Bozo Bit finally (inevitably) gets flipped, the former zealots never do a mea culpa.
It's okay to be wrong. We learn thru our failures. But intellectual honesty is kinda important. For example, Ryan Dahl (creator of nodejs) now mostly recommends Go. I can't overstate how impressed I am with his candor, efforts. (He kinda reminds me of Bill Joy.)
Alas, generally, people don't remember when they've changed their mind(s). Which is why, how propaganda works.
This cognitive quirk is the one thing that truly scares, depresses me.
Re: A pure JavaScript implementation of Git for Node and browsers
#160Earlier quoted context omitted.
And with wasm, Rust/C/C++ all can run in the browser too...
When people say “The Browser” they mean “that thing which is on literally every computer where you instantly load that one kind of software”. People think the web is a technology, or that JavaScript is a language. They’re not. It’s not. The web is an idea: it’s the idea that every computer in the world already has the runtime on it that can run your next app. Whatever that is—whatever that runtime is—that’s “The Brow…