Hacker Newsnew | past | comments | ask | show | jobs | submit | galangalalgol's commentslogin

It depends on how thorough the test infrastructure is I think. Something like curl with its immaculate tests could probably get autonomously ported if you threw infinite tokens at it because you have deterministically defined what finished looks like. But I think you are likely right in this case.

I am not aure either, but bun wasn't using normal zig and there was drama about upstreaming. Combine that with anthropics desire to show they can help rewrite everything in rust and that probably accounts for some of it.

What do you like to ise those features for?

In rust, having unused variables as a warning (but not an error) let's you refactor code, test it and see what is now unused as a result. You can then remove the unused items. Zig requires you to remove the unused items (e.g. with '_ = ...;' which is then something you might forget about) before testing, increasing friction.

Multiline comments are less important, but its still convenient for commenting out large chunks of code. IDEs make this a bit easier when you can press e.g. Ctrl+/ to comment out the selected lines with //, but it doesn't work in all cases.

The friction stops zig from being fun imo. A shame because I really like comptime.


Thanks, there is always a risk of people jumping on replies like that to scream that you are doing it wrong. I just wanted to see how other people do stuff. Hope everyone stays nice.

Not the person you replied to but I leave unused variables as future TODOs. It's a warning in F#. I also often use them for inspecting data in the debugger

Being faster than humans at mundane and verifiable tasks is a useful thing. Great for format conversions. Api mappings etc. if you don't understand the algorithm you are asking it to implement, you better at least understand how to generate a large set of correct input and output pairs yourself, because it will absolutely make stuff up and adjust the test cases to pass.

That is a fantastic use and would likely benefit asd as well. Could you share your strategies for creating something that is still you and concise but comprehensible to neurotypicals?


I find vscode with the right plugins better than vs6 was by a long shot. Helix is pretty amazing too.

The debugger doesn’t even come close

Haven't swe layoffs usually targeted more experienced devs?


Yes they have. They cost more. Why keep the senior curmudgeon employee around when the Jr who costs half as much is deemed sufficiently competent? And the Jr isn't going to quit in solidarity either, they're just happy to have not gotten cut.

Junior employees are not sufficiently competent.

Competency isn't the layoff criterion, cost is

Competency doesn't matter for corporations.

And for electronics with wireless, they still just ignore everything. No FCC ID, don't even have any silkscreening on the pcb or markings on the ICs. Nothing gets enforced.

I can't decide how much I like it myself. It can help me with really complicated projects. Software and otherwise. It has completely replaced my usage of non site local search engines. But I don't like how lazy it makes me. I don't vibe code, I understand what it is doing, and have it make adjustments typing it examples of what I want. But I can see myself getting lazier quckly. And when I find a task too hard for it I waste a lot of time trying to get my prompts correct before taking over.

Ocaml maybe? Multi threading didn't seem necessary and introduced the possibility of data races.

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

Search: