Live data from Hacker News

Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

raymyers.org

731–740 of 862 posts

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#731

Earlier quoted context omitted.

It's insane that you think there's any moral problem with using a LLM to rewrite a FOSS software project in another programming language, regardless of whether or not Anthropic employees are doing it. This is the kind of thing that every free software license worthy of the name allows and encourages anyone to do for any reason.

I didnt say that there was a moral or legal problem with rewriting FOSS in another language, I said that Anthropic doing so in this instance was a direct act of hostility aimed at chilling critical discourse about their products and marketing narrative, and I’m shocked at how many people (maybe) are rushing to their defense. BTW the rhetorical device of misrepresenting what someone else says as something much weaker…

I think it is insane to characterize Anthropic, or Jared Sumner in particular, using Anthropic's LLM to assist with rewriting Bun in Rust as a direct act of hostility aimed at chilling critical discourse about Anthropic's products and marketing narrative. I'm defending Anthropic because I think this is an okay thing for anyone at all to do, and I would defend anyone at all doing it. If any criticism of Anthropic can in principle be chilled by an Anthropic employee using an LLM to rewrite a piece of open-source software in Rust, then that criticism cannot possibly be good.

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#733
post #243

Earlier quoted context omitted.

For what we know, probably around $200,000 to run the rewrite and rewiew it, + whatever was involved in writing the blog post and advertise it.

Anthropic produced the tokens. They don’t have pay themselves retail API rates for them. The cost was only provided as an honest estimate of what it would have cost someone else at time of writing, which I thought was fair. The number is peanuts relative to the cost of engineers working on the project. I find it odd that so many people think this cost number is some sort of smoking gun.

At the same time, Anthropic is still running at a loss, so should this actually be 300k? 500k?

Anyway, the exact number doesn't really matter in the context of my comment anyway (which was meant to facetiously note that the marketing campaign includes the Bun rewrite)

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#734
post #589

Earlier quoted context omitted.

This isn't propaganda, the Rust compiler's rules when using the unsafe keyword are difficult to uphold, which is why the community wrote Miri.

Ok, and how does, in your opinion, compiler rules enforcement work in an unsafe block? And how does Miri help solve this issue?

> Ok, and how does, in your opinion, compiler rules enforcement work in an unsafe block?

By the engineer's wit of course!

> And how does Miri help solve this issue?

By detecting undefined behavior caused by violation these rules

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#735

Earlier quoted context omitted.

This is untrue. You can do a file by file translation by using clone and copy liberally. After you're done, you can incrementally introduce borrowing.

You can also do one by using `unsafe` liberally, especially if you're flexible about actually upholding rust's rules (as the bun team just did). But either way, you're still stuck with a code base that's going to need extensive refactoring if you want to actually take advantage of rust.

> You can also do one by using `unsafe` liberally, especially if you're flexible about actually upholding rust's rules (as the bun team just did

As in, they did not, which I can prove by using Miri and seeing hundreds of errors.

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#736
post #576

Earlier quoted context omitted.

The industry isn't biting @ Zig because it's unstable, notoriously difficult to integrate new changes into an existing codebase and because the compiler is a bitch to develop with (hard error on unused variables with no way to turn it off).

Go has that same problem/feature

Yes, sadly.

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#737
post #133

Earlier quoted context omitted.

> Now if that's further migrated to safe Rust, put into production & gathered feedback from lots of users, yes then you have something. Obviously they have to start somewhere if they want to get to safe rust with a considerable degree of battle testing. So they decided to start with just a transliteration and go from there. I think the Zig people are really just concerned that maybe Zig itself is a DOA language becau…

I program C for my day-job. I see Rust encroaching in proposed transitions. It may even happen. That said, it is a poor match for it compared to something like Zig (or Odin). It's hard to make the new Rust code use existing allocator abstractions (so now you have two systems doling out memory, how do you reliably free composite objects with memory from both? How do they share?) and you increasingly have to either aba…

Is there a reason you cannot specify your allocator of choice in Rust? AFAIK, the abstraction exists to do just that.

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#738

Earlier quoted context omitted.

I program C for my day-job. I see Rust encroaching in proposed transitions. It may even happen. That said, it is a poor match for it compared to something like Zig (or Odin). It's hard to make the new Rust code use existing allocator abstractions (so now you have two systems doling out memory, how do you reliably free composite objects with memory from both? How do they share?) and you increasingly have to either aba…

C++ programmer here. I've looked at transitioning some of my code to Rust; not particularly out of a dissatisfaction with C++ but more just out of curiosity. I've always ended up deciding against it though, I feel like its safety features just come at too high of a price for the kind of work I do. If I was writing something that needs to be super secure like a web server or something I think it would make a lot of se…

The safety aspects do get very hyped. It's better to consider the language strict about correctness; memory safety falls out of that, but so does other stuff, like less logic bugs.

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#739
post #311

> Management eagerly approved the Rust rewrite option because it was a great marketing opportunity to showcase their new Fable model, Anthropic already uses Rust, and Zig is openly against using Anthropic’s products. Yeah, don't discount how powerful "marketing" is to management/executives, and also don't discount how absolutely ridiculously petty people can be, especially people who end up like CEOs and similar, req…

I don’t understand why anyone thinks management of any kind was involved in this at all. It seems much more plausible to me that Jarred just does what he wants. He has said as much.

> don’t understand why anyone thinks management of any kind was involved in this at all

Because it’s marketing gold? Any marketer worth their salt would be super keen to get their claws into a project like this.

Anthropic and friends are in then business of selling LLM’s. This is a demonstration of LLM capability, they’d be foolish to not even try to cash in on it.

Re: Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

#740
post #156

Earlier quoted context omitted.

It is in there nature. They (specially zig creator) were so jealous about about vlang getting traction and getting $800/month donations, they made it their core mission to attack vlang and spread hate.

Vlang is a ridiculous project that was entirely driven by hype that should have been easy for all to see straight through. It is ridiculous that it got $800/month with nothing to show for it. I haven't seen any hate spread for it by Zig.

> Vlang is a ridiculous project

With over 37,500 stars, over 2,300 forks, 826 contributors, books written on it (in Japanese and Portuguese, besides English), and a Wikipedia page; vlang is clearly a significant and successful open-source project.

> entirely driven by hype

People can plainly see Zig (and other HN pushed languages) directly engaging in marketing propaganda and hype (with HN accounts clearly stating they are from those projects) using social media (including HN) at levels way beyond anything anyone could accuse the V project of doing. The creator of vlang is also not a native English speaker, where the creator of Zig (and other competitors) have no such excuse. They know exactly what they are saying, the connotations of it, the cultural nuance surrounding it, and what it means in English.

> ridiculous that it got $800/month with nothing to show for it

Jealousy over vlang getting as much (or more) donation money (in 2019) from its supporters was a central theme in numerous social media and website posts made directly by Andrew Kelley[1]. Even to the extent he and the Odin creator[2] were asking people to give them money, instead of to the V project. Many would consider such behavior as extremely bad and unprofessional. Also note, there is no reverse of such behavior to be seen by the V community at them, instead we see uncalled for conduct and statements being directed by them towards the V project.

Donations that vlang had received and continue to receive, is from their supporters. Some of these paying supporters have even come to HN, to publicly express their support[3][4][5] against competitor false accusations and disinformation. Competitors should have nothing to do with someone else's supporters giving donations, in the same way that vlang's creator does not speak on who donates or supports their projects.

> I haven't seen any hate spread for it by Zig.

It is documented, on HN no less (and elsewhere), where people can see Zig's creator directly slandering vlang's creator[6] and this kind of unprofessional behavior encouraged followers to do similar.

[1]: https://news.ycombinator.com/item?id=39495369

[2]: https://news.ycombinator.com/item?id=20231704

[3]: https://news.ycombinator.com/item?id=31801287

[4]: https://news.ycombinator.com/item?id=31801262

[5]: https://news.ycombinator.com/item?id=31812189

[6]: https://news.ycombinator.com/item?id=20230351

Post reply on HN