HN user

nusaru

244 karma
Posts5
Comments75
View on HN

Personally I didn’t have borrow checker problems, but that’s because before I started using Rust at work I’d designed and built my own borrow checker. I don’t know if that’s a scalable pedagogy.

Yeah... maybe not, but I can see this being a project in an undergraduate course.

Bun v1.0.0 3 years ago

What does "allocalypse" mean here? Were memory allocations in Zig less explicit in the past?

This is the final step before merging YARP into CRuby, and we’re very excited to see it come to fruition. This work will be done in the next couple of work days.

It continues to amaze me the pace at which kddnewton and co. are able to work. His tweet[1] from a few months ago is really relevant here. Being full-time employees and not just open-source volunteers makes a huge difference!

[1] https://twitter.com/kddnewton/status/1639258413120073730

Second paragraph in OP:

One approach to building a native GUI for a cross-platform application is to write all of the business logic in a cross-platform language (C, Rust, Zig, etc.) and then write the platform-specific GUI code. This is the approach I take with my my terminal emulator and it works really well. As of the current date writing this post, 93% of my repository is business logic in Zig and C, and 4% is macOS-specific GUI code in Swift.

Should be noted that Rust (one of the most prominent languages with traits) doesn't allow you to implement a trait for an object you do not own. A common workaround is to wrap that object in your own tuple struct and then implement the trait for that struct.

Curl 8.0.0 3 years ago

True. I could have phrased that better. I’ll take this as a sign to go to bed. Good night!

Curl 8.0.0 3 years ago

I read that too, but I feel like a project as widely used as curl should be more “conservative” in their version increments.

Curl 8.0.0 3 years ago

Well yeah, but it looks like semver. Again, I don’t know why it bothers me, but it just... does.

Curl 8.0.0 3 years ago

There is no API nor ABI break in this version.

I don’t know why, but this really, really bothers me. Why even use semver then?