The JVM is written in an unsafe language. That's where these unsafe calls occur. Clients of these APIs have no control there. Java code itself is safe.
No, it's not. A relatively common case for unsafe in Rust is in data structures. The data structures in the Java runtime are all written in Java and has almost no use of unsafe (there might be a few, but not becsause of language limitation, but because of initialisation order).
As for the JVM, much of it is a compiler. It doesn't matter what language it's written in, as it generates machine code. Indeed, the vulnerability disclosed yesterday was in a compiler intrinsic, but those are just as common in Rust.
Other than that, the other big piece in the JVM is memory management, and it does, indeed, use C and C++ for memory management, but Rust also uses C (the various implementations of malloc/free in whatever runtime the Rust program is using; BTW, some popular malloc/free implementations are almost as big as Java's most complicated GC).
As for native C/C++ libraries (outside the JVM itself), Java programs do use some, but generally not more than Rust programs.
Not accurate. Most datastructures that use unsafe in Rust are primitives; `Box`, `Vec`, `Rc`/`Arc`, `HashMap` and `BTreeMap`. Of those, only the equivalent to `HashMap` and `BTreeMap` are written in Java, and they can be written in safe Rust as well if you're willing to give up some of the performance (e.g. always initializing - thing that happens in Java as well). More complex data structures (e.g. graphs) can and often are implemented without unsafe at all.
I know that you can write slow data structures in safe Rust, but the standard library's data structures are supposed to be efficient. Anyway, a quick look at how common unsafe is in Rust vs Java, both in the standard library and in applications, and you'll see that it's much more common in Rust.
Not all JVM implementations, there are multi-circular implementations in Java, starting with JikesRVM almost 20 years ago already, whose work with the MMtk memory allocator was later inspired a Rust version thereof.
Isn't the intent of rejecting, or boycotting, a company supposed to cause a disruption in the first place? If the people boycotted a company into bankruptcy, because said company refused to change their behavior, would the people be in the wrong because it might hurt the users? No.
Yeah, I am quite sad that I am packing up and shipping off my nifty little Intel MacBook Pro and for the first time ever, I'm wondering if I can do without a Mac, not even really wanting one.... the one form factor which sort of appeals is a Wacom Movink 13 w/ a Mac Mini (but I hate that the screen is so low resolution and none of the Cintiq Pros use the same stylus as my other stylus devices (Kindle Coloursoft, Samsung Galaxy Note and Book)
I was literally not aware of this. I don't know if I'm going to be coming back to this site anymore. I've got some thinking to do. I am so ridiculously anti-Flock that I am not willing to discuss it, because it would be a pointless conversation.
I understand what you mean but I do not think the answer is to disengage. They will not stop. HN is an amazing place with brilliant people. I have been wrong so many times here and I own it; the amazing thing is the grace I have been shown, the support and all of the ways the community here has made me a better, more knowledgable person.
It's an echo chamber full of self-important piles of dogshit.
The real world is amazing... but this is a place for self-centered douche canoes like yourself to masturbate to your own imagined greatness. It's a place for assholes. It's a place for people whose fathers fucked up badly.
Sounds like you're contributing to your own narrative here. The only self-centered douche canoe of a comment I see in this thread is from you.
HN has its share of good & bad, but I've generally enjoyed talking to some of the people on this site; much more than sites like Reddit which imo fit your description much much better.
Unfortunately the signal to noise ratio has become too much work than worth.
New people who come here as novices now are given horribly bad to wrong advice constantly and even technically wrong examinations. And beyond that, now the same larping types here downvote real expertise.
It’s normal for forums so I can’t complain too much, but be aware as nice as this place is, it’s wildly uninformed.
Reddit does this. Every keystroke you type into a comment box is sent back to them. So, that means even if you decided to cancel posting something, they still receive what you wrote. I have been known to write responses that were harsh and angry, and I simply don't send. Sometimes it's therapy for me to think through something while typing whatever is in my head. Then I go back and edit once I have have thought it through. I don't want that info sent back. So, I tend to not involve myself with much online anymore. I don't want to expose myself to the thought police.
I find the browser the most unsafe piece of tech deployed.
I remember that good feeling when getting a new windows 9x machine up and running or installing a new video card, updating the graphics driver to get the display into 16M colors, and enjoying the darker teal. The color itself felt like an upgrade. When that brighter teal appeared you knew you didn't have the driver set, even before seeing any icons.
Man, I wish I could have the 90s back. I absolutely despise where we went with tech in the past decade. I suppose that's a me problem.
I'm with you, the 90s were cool, especially early computing days when things were equally quirky and equally magical.
On that graphics drivers note, I recall some video drivers were just so bad back then you might not get the full colors or resolution depending on your setup. Or some games might just look weird. But there was a cool thirdparty driver called UniVBE from SciTech[1] that you could install for almost any card and suddenly everything looked and worked so much more better, it was like magic. It was one of the go-to utilities I'd always carry around with me in my bag of floppy disks, full of unique, wonderous tools that the world has probably forgotten by now.