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

Sure. Or you can let the language do that for you and spend your tokens on something else. Like, do you want your LLM to generate LLVM byte code? It could, right? Buy why wouldn't you let the compiler do that?

Unless im writing something like code for a video game in a game engine that uses C++, most of the stuff that I need C is compartmentalized enough to where its much faster to have an LLM write it.

For example, the last C code I wrote was tcp over ethernet, bypassing the IP layer, so I can be connected to the VPN while being able to access local machines on my network.

If im writing it in Rust, I have to do a lot of research, think about code structure, and so on. With LLMs, it took me an hour to write, and that is with no memory leaks or any other safety issues.


Interesting. I find that Claude 4.5 has a ridiculous amount of knowledge and “I don’t know how to do that in Rust” is exactly what it’s good at. Also, have you tried just modifying your route table?

>Also, have you tried just modifying your route table?

The problem is I want to run VNC on my home computer to the server on my work Mac so I can just access everything from one screen and m+b combo without having to use a USB switch and a second monitor. With VPN it basically just does not allow any inbound connections.

So I run a localhost tunnel its a generic ethernet listener that basically takes data and initiates a connection to localhost from localost and proxies the data. On my desktop side, its the same thing just in reverse.


>in the real world are more expensive: health care, housing, cars.

Think of it another way. It's not that these things are more expensive. It's that the average US worker simply doesn't provide anything of value. China provides the things of value now. How the government corrected for this was to flood the economy with cash. So it looks like things got more expensive, when really it's that wages reduced to match reality. US citizens selling each other lattes back and forth, producing nothing of actual value. US companies bleeding people dry with fees. The final straw was an old man uniting the world against the USA instead of against China.

If you want to know where this is going, look at Britain: the previous world super power. Britain governed far more of the earth than the USA ever did, and now look at it. Now the only thing it produces is ASBOs. I suppose it also sells weapons to dictators and provides banking to them. That is the USA's future.


Yep. My grandma bought her house in ~1962 for $20k working at a factory making $2/hr. Her mortgage was $100/m; about 1 weeks worth of pay. $2/hr then is the equivalent of ~$21/hr today.

If you were to buy that same house today, your mortgage would be about $5100/m-- about 6 weeks of pay.

And the reason is exactly what you're saying: the average US worker doesn't provide as much value anymore. Just as her factory job got optimized/automated, AI is going to do the same for many. Tech workers were expensive for a while and now they're not. The problem is that there seems to be less and less opportunity where one can bring value. The only true winners are the factory owners and AI providers in this scenario. The only chance anybody has right now is to cut the middleman out, start their own business, and pray it takes off.


But the us is China's market, so the ccp goes along even though they are the producer. Because a domestic consumer economy would mean sharing the profits of that manufacturing with the workers. But that would create a middle class not dependent on the party leading (at least in their minds, and perhaps not wrongly) to instability. It is a dance of two, and neither can afford to let go. And neither can keep dancing any longer. I think it will be very bad everywhere.

The rich own congress. At this point, it's all regulatory capture.

While I agree, for the most part this comes under state regulations. Especially red states are always trying to cut taxes and the government at the cost of not having enough inspectors.

So I've got a crate I built that has a type that uses unsafe. Couple of things I've learned. First, yes, my library uses unsafe, but anyone who uses it doesn't have to deal with that at all. It behaves like a normal implementation of its type, it just uses half the memory. Outside of developing this one crate, I've never used unsafe.

Second, unsafe means the author is responsible for making it safe. Safe in rust means that the same rules must apply as unsafe code. It does not mean that you don't have to follow the rules. If one instead used it to violate the rules, then the code will certainly cause crashes.

I can see that some programmers would just use unsafe to "get around a problem" caused by safe rust enforcing those rules, and doing so is almost guaranteed to cause crashes. If the compiler won't let you do something, and you use unsafe to do it anyway, there's going to be a crash.

If instead we use unsafe to follow the rules, then it won't crash. There are tools like Miri that allow us to test that we haven't broken the rules. The fact that Miri did find two issues in my crate shows that unsafe is difficult to get right. My crate does clever bit-tricks and has object graphs, so it has to use unsafe to do things like having back pointers. These are all internal, and you can use the crate in safe rust. If we use unsafe to implement things like doubly-linked lists, then things are fine. If we use unsafe to allow multiple threads to mutate the same pointers (Against The Rules), then things are going to crash.

The thing is, when you are programming in C or C++, it's the same as writing unsafe rust all the time. In C/C++, the "pocket of unsafe code" is the entire codebase. So sure, you can write safe C, like I can write safe "unsafe rust". But 99% of the code I write is safe rust. And there's no equivalent in C or C++.


The article reports Microsoft SDEs complaining about Copilot and being forced to use it. It's "worse than competitors' tools."

No shit. But that's hardly everyone is Seattle. I'd imagine people at Amazon aren't upset about being forced to use Copilot, or Google folks.


And the gutting is done by the people she described as the parasites.


She believed that even wealthy kids that just live off their trust funds were parasites too. It was about consuming vs producing, not elite vs non-elite.


Indeed, dehumanizing people shouldn't be the foundation of a logical argument.

Have a wonderful day =3


It's pretty clear which group she would place Elon Musk into, probably the most Randian character out there.


“We aren’t making any money by not using AI. Please give me money for courses on how to not use AI so that you can not make money too.”


This just in: Software engineer with motivation and skills to develop a new language, strangely lacking in PR and marketing skills. More at 11.


Surprising or not, doesn't change what I said.

And I this case it is a little surprising. Andrew is generally a pretty nice dude, has gone out of his way to try and make a fairly welcoming community. The Zig foundation also has Loris, who normally handles PR stuff, so he could have written this instead of Andrew.

Finally, that's such a bullshit stereotype. Plenty of people in the software world are perfectly friendly and articulate.


Gatekeeping basically. Neurotypical only please! Could Andrew have yielded his voice to someone who is good at PR? Sure. And that’s how people give up and burnout.

I’m ok if sometimes a nerd displays some emotion online.

I’m corporate, so I have to manage my shit. I use LLMs to manage that. I’m glad Andrew has a space where he doesn’t have to.


Ah yes, I always look for big box Warhammer 40k stores in malls.


I’ve used presenterm. Like it a lot.

https://mfontanini.github.io/presenterm/


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

Search: