Live data from Hacker News

Zig → Rust porting guide

github.com

501–510 of 592 posts

Re: Zig → Rust porting guide

#501

Earlier quoted context omitted.

It is a pity that you can't make an experimental commit on an experimental branch without igniting a fire of delirium through some people who -- if they were able to put their emotional response aside for a minute and could weigh this up on the basis of merit -- would probably agree with the motivations for researching this approach. > if/how hard it’d be to get it to pass Bun’s test suite and be maintainable Every m…

The fact someone who works on Bun is willing to create and even push a branch generated by a stochastic parrot is very telling of the direction the project is going. Doesn't matter if it's "experimental", it's a dumb experiment that shouldn't exist.

Doesn't matter if it's "experimental", it's a dumb experiment that shouldn't exist.

Do you think the same about bitcoin? Where do you draw the line as to what programs are allowed to be written?

Re: Zig → Rust porting guide

#502
post #332
post #319

I work on Bun and this is my branch This whole thread is an overreaction. 302 comments about code that does not work. We haven’t committed to rewriting. There’s a very high chance all this code gets thrown out completely. I’m curious to see what a working version of this looks, what it feels like, how it performs and if/how hard it’d be to get it to pass Bun’s test suite and be maintainable. I’d like to be able to co…

I love your work on bun. How do you feel about all the constant concerns being raised about the quality of the project lately? I understand some of them might just be typical twitter hate but some of them are real. And I think people are right to question why you are adding image processing or web views inside a javascript runtime when there are bugs affecting production that sit unaddressed. For example on of our bi…

Okay, let's be honest. That's a feature request, not a bug report.

Re: Zig → Rust porting guide

#503
post #398

Earlier quoted context omitted.

Compiling Rust is actually quite fast in my experience. The problem with many Rust projects is that they pull in dependencies left, right, and center. Pulling in Tokio makes your project compile an entire thread management system even if you're just compiling Hello World, and simple oneliners containing macros can easily spread out into dozens of lines of code each. Linking is also slow, and the extreme amounts of me…

>Compiling Rust is actually quite fast in my experience I guess it's all relative. I find Rust's compile times abhorrent and it's objectively slower than many many other languages that also pull in dependencies left, right, and center. I guess that just means Rust scales very badly with amount of code. I'd put it at a bit better than Haskell, but honestly not by much. I really wish Rust would focus much more on compi…

idk, maybe you can do it, but your TypeScript project compiles to machine code?

Re: Zig → Rust porting guide

#504
post #502
post #332

Earlier quoted context omitted.

I love your work on bun. How do you feel about all the constant concerns being raised about the quality of the project lately? I understand some of them might just be typical twitter hate but some of them are real. And I think people are right to question why you are adding image processing or web views inside a javascript runtime when there are bugs affecting production that sit unaddressed. For example on of our bi…

Okay, let's be honest. That's a feature request, not a bug report.

I'd agree but bun is supposed to be a "drop-in replacement" and is marketed as such. This breaks several packages and projects.

Re: Zig → Rust porting guide

#505

Earlier quoted context omitted.

Cool. Fork it and maintain your own runtime, then. Why are you complaining about what the bun team does with their project?

Cause I'm sick of this amateur hour shit

Then show it wrong by making something people want to use more instead. If it's too difficult then the existing project must not be very amateur.

Re: Zig → Rust porting guide

#506
post #319

I work on Bun and this is my branch This whole thread is an overreaction. 302 comments about code that does not work. We haven’t committed to rewriting. There’s a very high chance all this code gets thrown out completely. I’m curious to see what a working version of this looks, what it feels like, how it performs and if/how hard it’d be to get it to pass Bun’s test suite and be maintainable. I’d like to be able to co…

the is lovely, how admirable that you have the space to do this. its very rare that we as a community take the time to actually implement a non trivial system in X and Y and look at the differences. so much discussion around these things is based on pointless tribalism.

I'm sure recasting Bun in a new mold is going to be hugely informative about the structure of Bun itself, regardless of the outcome.

would love to read a postmortem

Re: Zig → Rust porting guide

#507
post #46

Earlier quoted context omitted.

This is likely irrelevant given bun has stopped taking community PR's entirely and Jarred is pitching that human contributors should be banned.

There is like 1,713 open PR's on the Bun repo. I'm assuming all are from Claude or robobun?. I guess this gives us an insight on what the claude-code workflow look likes. Crazy times.

https://lobste.rs/s/otxkjw/bun_js_runtime_is_being_vibe_port...

> The regular pull requests for bun are wild too: https://github.com/oven-sh/bun/pulls?q=is%3Apr+

> Most are created autonomously by @robobun, checked for duplicates with a GitHub action (powered by Claude), reviewed by @coderabbitai and @claude. Meanwhile the CI is broken and @robobun finally closes a portion of its own PRs because they duplicate other PRs it has written. (Merging into main is still done by a human.)

Re: Zig → Rust porting guide

#509
post #400

Earlier quoted context omitted.

Perhaps a viable approach might be to vibe code the translation tool itself and observe that for every input it gives the expected output. Then once the translation is done, the translation tool can be discarded. This would require a robust test suite though. One of the cases where vibe coding might actually be useful, writing a throwaway tool.

I see this dilemma with LLMs all of the time. Should you use the LLM to do the thing directly, or use the LLM to implement a tool that does the thing? I tend to reach for the latter, it’s easier to reason about.

Plus, if the LLM goes down (or gets "upgraded" to a model that does the translation differently/wrong), you still have the tool available locally.

Re: Zig → Rust porting guide

#510
post #447
post #342

Earlier quoted context omitted.

That is one person's definition of vibe coding, not "the definition" of vibe coding. Words have multiple meanings.

It’s the person that created the term’s definition.

Language and culture don't work like that.

Inventing a term doesn't give you exclusive rights to provide the definition.

Post reply on HN