Sure, but the relevant comparison isn't between languages: it's between a state-of-the-art JIT implementation of one language and a likewise-state-of-the-art AOT implementation of the same language. Unfortunately there aren't many examples of this; most languages have a preferred implementation strategy that receives much more effort than the other one.
Mathematically, what you want to do here is to calculate the area of the pixel square (or circle; however you want to approximate it) that the shape covers. In this case a linear ramp actually approximates the true value better than smoothstep does. (I had the derivation worked out at some point; I don't have it handy, unfortunately.) Of course, beauty is in the eye of the beholder, and aesthetically one might prefer smoothstep.
By the way, since the article mentions ellipse distance approximations, the fastest way to approximate distance to an ellipse is to use a trick I came up with based on a paper from 1994 [1]: https://github.com/servo/webrender/blob/c4bd5b47d8f5cd684334... Unless it's changed recently, this is what Firefox uses for border radius.
Your note taking app doesn't need AI, but it also doesn't need OLE, which represented an equally hot buzzword ("software componentry") of the 90s that Microsoft was trying to shoehorn into everything.
Every generation has its hype cycle; it's nothing new.
My recollection is that Brian Anderson, who came from the C# world, was an early advocate of the easily-googlable error codes that Microsoft compilers use a lot, and pushed to get them in. That was a good call. (In general Brian had a lot of behind-the-scenes positive influence on Rust: my favorite brson-ism is "if the code doesn't have a test it doesn't exist".)
Yeah this PR cites it as explicitly a continuation of Bryan’s work. I never did any implementation work on errors, I was just a big fan of the codes concept.
When I was first developing early versions of rustc I was really fascinated with Clang's effort at good error messages, which was helping it gain traction vs. GCC at the time, and I tried to start the Rust compiler project off on the right foot. I'm really glad that the Rust compiler dev community has continued to value great error messages: they're the UX of a compiler, and are every bit as important as UX of any other app.
I don't remember where, but I once heard someone talk about "error-message-driven-development" in Rust -- that is, using the error messages provided by rustc to guide you in your development process by way of fixing bugs in naively-written code. I even did a talk to several dozen engineers in my previous group about how fantastic it is: a newbie can write what they think is reasonable code, the compiler will reject the program but provide useful information, and the user can iteratively apply changes to the point where you can almost get things exactly as you want it. A lot of people who knew nothing about Rust were super impressed by the messages reported.
Many thanks to you and others that have toiled at this incredible UX!
When an error happens it's the best time to teach the user something. If you can figure it what they were trying to do something, you can tell them why what they tried to do doesn't work, and what to try instead.
With LLM's And Reason-Act agents on the table, this is more higher stakes than ever, AI has no issues on reading stack traces or verbose error logs where a human might have overlooked before, and it creates a really nice loop if the AI can reason with new context provider by the error messages
Some of them do. But their premise is that there’s a large, unmet demand for dense, walkable neighborhoods in which to raise families. But there are tons of dense, walkable neighborhoods all over the country where prices and demand are quite low. Why the focus on more building and upzoning when you could buy existing stock?
There’s a big urbanist movement in the DC area, but it’s focused on trying to upzone Northern VA and Montgomery County, MD. Meanwhile, most of the Maryland side of the Metro network is underutilized. Urbanists would rather pay triple to try and turn Tysons Corner, VA into an urban area.
The modal urbanist who lives in the suburbs is usually just someone who wants to be able to have the lifestyle they want without a commute to work. Someone who works at Google in Mountain View but would prefer not to have to drive everywhere, for example. Or, in your example, someone who works at the Pentagon but doesn't want to have to commute from Maryland (or D.C.) in order to live in a walkable area.
You don't seem to have an actual argument, instead inventing a straw urbanist to fit your view of what's going on. You of all people should be able to fundamentally understand why people would want to advocate for things they want in areas they live.
It is much much easier to move than to get the laws changed concerning what can be built where you live now. Rayiner is correctly pointing out that the revealed preferences of urbanist advocates differs from their professed preferences, which is a red flag.
Yes, all Rust papers anyone tried to submit were consistently rejected up until Rust became popular, at which point Rust became the hot new thing in applied programming language research. Academic PL is very insular (to its detriment, I'm convinced).
You can raise the cost of cheating so that cheating kids will get annoyed and go cheat in some other game or scroll TikTok or whatever. We're not exactly dealing with nation-states here.
"Bored kids" is a pretty naive idea of cheating in PvP games. There's custom hardware for it, and a surprisingly large amount of people spend more than $1k/mo just to cheat in video games.
Grow up, you cannot honestly think that government employees in Russian and China dont have more important things to deal with than ruining western teenage gamers experience with state funded cheat codes and hacks.
That's the thing with psyops and "plausible deniability" stuff. Do too much of it and eventually you'll be blamed for everything that's gone bad no matter if you actually did it or not. China and Russia are in the "FO" phase of "FAFO".
Besides, sowing discontent is a tried and true propaganda strategy.
I'm sorry, but no posts above make any sense, which is obvious to anyone with any degree of familiarity with chinese/russian/brazilian/german/british/north american cheating demographic and communities (yes that's a thing, also note how those two are only 1/3 of the worst offenders, and the poster above clearly doesn't have any idea about it). Stop the nationalistic flamebait and FUD, please.
Everyone cheats, I think no one here is seriously arguing that, no matter the country.
The question is: who coughs up the money for developing these cheats? Some of these, particularly the PCIe hardware rootkits, take a lot of money, time and skilled people to develop - and it is not too far fetched to assume that a nation state has been of assistance here.
Others openly flout their allegiance to Russia like the MIG-Switch developers, a ton of "bulletproof hosters" use Russian ASNs and/or are based in Russia, malware automatically disables itself when it detects indications of being in Russia... I can explain the latter away as "don't shit where you eat", but the others? There's no way there aren't direct links between the Russian government and the criminal actors. At the very least there must be some sort of "tacit approval".
I know that I'm repeating myself but none of that has any connection to reality for anyone remotely familiar with the devs of specific cheats and their history. Especially DMA hardware developers which are neither Russian nor Chinese. I can write a long post about this some day (especially about how local online game hacking economy/culture works, for every cultural bubble - they overlap a lot, and specific moments of drama inside them) and post it to HN, but please, stop being a part of the "psyop" you're talking about.
That wasn't my point though. My point was to offer an explanation why everyone is so quick to blame Russian and Chinese propaganda these days - I call it "inverse yell fire" or "inverse crying wolf": both countries have so often denied any involvement or responsibility in clear and serious violations that now everyone defaults to not believing their denials.
It could be a good infection vector. I’m under the impression that these programs are generally distributed on shady sites, need low-level access and high permissions, and are generally (actually, not sure about this part) proprietary and closed source. So, release some good cheats, and see if anybody important downloads one.
Government officials and security researchers play videogames too, after all… sure, we’d hope they’d have good computer self defense. But it is a fishing expedition and all that.