If you’re hoping for the standard lib to have things built on evolving standards and ecosystems like HTTP clients, then I doubt that will ever happen. There are plenty of examples of why that would be a terrible idea (urllib
, std::regex
, etc).
If you’re hoping for the standard lib to have things built on evolving standards and ecosystems like HTTP clients, then I doubt that will ever happen. There are plenty of examples of why that would be a terrible idea (urllib
, std::regex
, etc).
Sometimes when I don’t leave comments like that, I get review comments asking what the line does. Code like ThisMethodInitsTheService()
with comments like “what does this do?” in the review.
So now I comment a lot. Apparently reading code is hard for some people, even code that tells you exactly what it does in very simple terms.
I’ll give it about two weeks before some random court in Texas tries to block it.
200V refers to the gen then? I saw the article mention some CPUs in the 200s so I guess that makes sense.
Odd choice to go with a V suffix though for a part that would probably explode if provided 200V power (at the usual current levels it draws anyway). Imagine a laptop CPU that draws 2000W and is somehow an improvement over previous gen - actually, that’s a very Intel thing to do now that I’m thinking about it.
I think we’re gonna need some updated naming wheels for the new generations of processors. I have no clue if a “Ryzen AI 300” is supposed to be a high-end, mid tier, or budget processor, nor what the Intel Core Plus Ultra whatever (that somehow draws 200V power?) is.
I’m not going to say that C is unusable by any means (and I’m not saying you are saying that). It’s a perfectly usable language. I do think that more people would benefit from exploring other options though. Programming languages are tools, not sports teams. People should familiarize themselves with many tools so they always have a good tool to use for any job.
I think a lot of people believe this because there is some truth to parts of it. I think we see languages like Rust and Zig (and others) popping up to try and solve specific problems better than others.
As for OP’s post, there is no single “C successor” or anything like that. People will use the best tool they know of for the job whether that’s C, Rust, C++, Zig, Python, C#, etc. Many languages will “replace” C in some projects, and at the same time, C will replace other languages in some projects (likely to a lesser extent though).
(Not /s this time)
Honestly C is the future. I don’t know why people would move from C to any other language. It does the job well enough that there’s no reason not to use it.
Think about it. Every modern application depends on a piece of code written in C, not Rust or Zig or any other language (except assembly). It can be used to solve any problem, and works in more places than any other language.
These arguments about “security” and “memory safety” are all pointless anyway in the face of modern code scanning tools. Cross-platform dev can be done trivially with preprocessors. If that’s not enough, I don’t know what to say. Get better at writing C obviously.
Lifetimes and UB should all be kept in mind at all times. You can explicitly mark lifetimes in your C code if you want using comments. Any index-out-of-bounds bugs, use-after-free, etc are just signs that your team needs more training and better code scanning utils. Write more tests!
Anything more complex than a simple typedef
is just a sign that you’re over-engineering your solution. is both simple, and does exactly what you’d expect any reasonable language to do - paste your referenced code inline. It’s genius, and doesn’t require any complicated explanations on namespaces and classes and subclasses and so on.
So which will be the future? C obviously.
/s
Reddit makes an anti-user change. In other news, grass is green.
I haven’t been on the site in over a year and nothing since then has convinced me to go back. Maybe I’m lucky that I’m not in any Reddit-only communities, but it could also just be that I treat those communities as though they don’t exist and never had a reason to join one as a result.
Reject assembly, return to machine code. Assembly is an inaccurate projection of what the machine truly does. Writing the binary by hand hardens us, and brings us closer to the computer. We better understand what our machine is doing when we calculate our jumps by hand.
The “‘modern’ development stack” we used at my school when I was in a CS program was C++98 or something, compiled using gcc directly. This was in the last decade. It technically wasn’t C!
But we did use C in my computer engineering classes so I guess they technically did teach it. I feel very fortunate that I haven’t needed to use it since then.
From the article:
Western-owned brands manufactured in China, such as BMW and Tesla
Looks like you’re safe buying a Tesla.
Their GPUs are already bricks. Just throw the GPUs.
Hey look, the classic “America bad” comment on a post critical of China!
Are these people bots or something? It’s possible to be critical of both at different times.
While I agree, it makes connecting to localhost as easy as http://0:8080/
(for port 8080, but omit for port 80).
I worry that changing this will cause more CVEs like the octal IP addresses incident.
Edit: looks like it’s only being blocked for outgoing requests from websites, which seems like it’ll have a much more reasonable impact.
Edit 2: skimming through these PRs, at least for WebKit, I don’t see tests for shorthand IPs like 0
(and no Apple device to test with). What are the chances they missed those…?
Imagine how different the story would be if they compensated people for this data. “10% off Geforce NOW if you let us use your gameplay footage as training data!” (for example)
This is obviously cheaper and there’s way more data to train with, but it just continues to skirt a line in copyright law that desperately needs to be tested.
Honestly, regardless of what happens to Intel, I’m hopeful for Qualcomm providing a real alternative in the CPU space, especially an alternative as meaningfully different as using an entirely different instruction set. More diversity between competing products in the space can only be a good thing since it gives consumers more meaningful choices to make when deciding between products.
People on Chrome adding Reddit to their Google searches already use Google. People not using Google who don’t search “Reddit” are going to see fewer Reddit results.
No, this won’t kill Reddit, but it certainly isn’t helping them get more traffic.
Joke’s on Reddit. I’ve been blocking their results in the search engine I use for months!
I wonder if this will end up being pursued as an antitrust case. If anything, it’ll reduce traffic to Reddit from non-Google users, so hopefully that kills them off just a little faster.
Looks like the article requires an account. Is there an archived version?
My understanding is that users can edit the chat themselves.
I don’t use c.ai myself, but my wife was able to get a chat log with the bot telling her to end herself pretty easily. The follow-up to the conversation was the bot trying to salvage itself after the sabotage by calling the message a joke.