Hacker Timesnew | past | comments | ask | show | jobs | submit | endorphine's commentslogin

I guess parent argues that:

  - humans have a track-record of writing memory bugs

  - memory-safe languages prevent such by construction
Therefore, what's the justification of not using a memory-safe language (as opposed to an unsafe one)?


> what's the justification of not using a memory-safe language

Use Go, Java or Fil-C, and memory safety is achieved at the expense of runtime performance. Tracing garbage collectors make your programs run slower and use more RAM.

With Rust you pay with complexity. Rust has new, weird syntax (lifetimes, HRTB, etc) and invisible borrow checker state that you've gotta understand and keep track of while programming. Rust is a painful language to learn, because lots of seemingly valid programs won't pass the borrow checker. And it takes awhile to internalise those rules.

I personally think the headache of rust is worth it. But I can totally understand why people come to the opposite conclusion.


> because lots of seemingly valid programs won't pass the borrow checker

Some straight-up valid programs as well


Rusts memory safety constructs do also impose a (much smaller) runtime performance penalty. Every Arc / Rc is a memory safe abstraction with runtime cost since rust has no way to prove cyclic reference graphs are safe at compile time.


Interop.


How about they are pointing out a worrisome direction society might be taking, whereas work will infiltrate even more what used to be family or personal time, thus accelerating burnout?


Beasts of no Nation is a personal favorite!


> I beg to differ...I have a feeling the needle will indeed move, but it won't be a single big jolt. [...]

Then it seems you're not disagreeing with parent: they're saying "needle barely moved", you're saying "it will move".

They're talking about the present; you're talking about the future.


Technically, the parent is saying "the needle barely moved, therefore it will never move appreciably in the future".


Is that a good deal for the employees of Astro? They're now Cloudflare employees, which I guess looks good on your CV.

But do such acquihires usually result in higher salaries for regular (non-leadership) employees or? Also, what about NSOs?


> Now Astro is downloaded almost 1,000,000 times per week [...]

Are these numbers supposed to provide any sense of the popularity if you're not often looking at npm trends?


Hey OP, curious how much experience you have with Rust, given that this is the only rust repo I see in your profile.


This is my only public Rust repo — I have some ongoing private projects in Rust, so I'm familiar with the ecosystem (cargo, crates, the borrow checker experience, etc.).

That said, to be fully transparent: as I disclosed elsewhere in this thread, the Ferrite codebase is 100% AI-generated (Claude via Cursor). I direct the development, test, and iterate, but I haven't written the Rust by hand for this project.

So my Rust experience is more "ecosystem familiarity + reading AI-generated code" than "battle-hardened Rustacean." This project is partly a learning exercise — seeing how far AI-assisted development can go while picking up Rust patterns along the way.


I'd be interested to know how the first one makes money. Is it through Memberships (https://building.shepherd.com/author-membership/)?


Yes, 80% of our funding comes from our 800 members, a mix of readers and authors.

Readers - https://building.shepherd.com/membership-for-readers/

Authors - https://building.shepherd.com/author-membership/

The other 20% is affiliate revenue from book sales across the website, via Amazon and Bookshop.org.

I work for free, so it is still pretty bootstrapped.


It would be useful to explain why ZJIT exists given that there's already YJIT.

Also, what's the long-term plan for YJIT.


ZJIT exists because it's a more traditional design and there's hope more people will have a easier time contributing[0]. Given that, it seems YJIT will become unnecessary if ZJIT succeeds.

0: https://railsatscale.com/2025-05-14-merge-zjit/


The explanation is in the second paragraph of the article.


I just upgraded my prod apps to run on YJIT so I'm annoyed at this announcement. Feels like javascript-esque runtime churn


Earnestly: why are you annoyed? I tried to make it clear that you don't have to make any changes. If you want, you can try ZJIT (which should not be anything other than a one character change), but you don't have to.


Because now YJIT is deprecated and at some point in a year or two I will have to have my team go through and switch everything from YJIT to ZJIT. So it's creating random tech debt busywork that will suck up dev resources that could better be used building features.

In isolation, having to switch from YJIT to ZJIT isn't that bad, but this same type of churn happens across so much of the frameworks and technologies that my company uses that in aggregate it becomes quite an annoyance.


YJIT is not deprecated. That word has a specific meaning in Ruby. You can continue to use YJIT.

With any luck, this performance in the next year or two will be enough to make it a happy change. "Damn, free money" etc


I assume you upgrade your Ruby VM? You also upgrade to use YJIT? And you will upgrade to ZJIT?

Not only do you get them for free, you get performance improvement for free. And YJIT is still supported and not depreciated. Not only is Ruby on Rails dont have churn anywhere near the order of magnitude of JS world. It is perhaps one of the stablest and non-moving framework and languages, to the point it is moving slowly and boring compared to even modern PHP and Python.

I dont even work on YJIT or ZJIT but I find this entitlement on OSS, even when you are getting newer upgrade and improvement for free, for all the benefits it provides while having so little downside being called "random tech debt busywork" frankly very rude.


Most JIT compiled languages have multiple implications, each pushing each other forward.


I was in a similar situation to OP: my Carbon X1 Gen 8 keys, notably `/` and some arrows keys, stopped functioning. Sometimes they did, but it was very erratic.

Luckily, when I replaced the battery (got a lot from iFixit) and tightened all other screws, the keys magically started working again.

Saved me quite a few dollars.


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

Search: