Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pcwalton
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
331.
▲
by
pcwalton
3y ago
I think you're misinterpreting what "the implicit constraint 'b: 'a has been lost" in that link means. What it means is that the compiler loses track of the constraint. It doesn't mean that the language semanti
332.
▲
by
pcwalton
3y ago
Yes. I'm not saying that Miri demonstrates anything other than that it's not a language issue.
333.
▲
by
pcwalton
3y ago
But it's not a fundamental design flaw in the language, nor is it a "hole in the type theory". It's a compiler bug. The compiler isn't checking function contravariance properly. Miri catches the problem, while rustc
334.
▲
by
pcwalton
3y ago
This is exaggerated re. C, but it is true that the important thing for practical security is whether memory safety is violated in practice, and obscure compiler bugs you have to go out of your way to try to exploit don't affect that.
335.
▲
by
pcwalton
3y ago
This is basically the Rust equivalent of the obfuscated C code contest and indicates little to nothing about the actual Rust people write.
336.
▲
by
pcwalton
3y ago
The difficult parts change all the time and usually boil down to some sort of undocumented or poorly-documented dependency, especially if you're trying to enable the GPU backends. Every time someone I know tries to get it building it t
337.
▲
by
pcwalton
3y ago
Our joke was "the recommended way to build Skia is to become a Google employee, but there are workarounds available if for some reason that isn't practical". There's also the question of "which parts of Skia".
338.
▲
by
pcwalton
3y ago
Personally, I feel the real competition is the OSS Rust engines against Unity, Unreal, and to some extent Godot, rather than the competition being between Rust engines. Bevy and Fyrox are both great frameworks.
339.
▲
by
pcwalton
3y ago
Bevy has actually moved away from the ECS for performance-critical lookups in the renderer where the ECS doesn't carry its weight. The engine isn't dogmatic about ECS use.
340.
▲
by
pcwalton
3y ago
The term is kinda fuzzy and means different things in different engines, but in Bevy it refers to lightweight 3D wireframe overlays that you can use for visual debugging.
341.
▲
by
pcwalton
3y ago
Here are the plans for the editor prototypes: https://github.com/bevyengine/bevy_editor_prototypes/discuss... As far as Lumen goes, there are a few experimental early-stage projects that add real-time global illum
342.
▲
by
pcwalton
3y ago
I wrote the lightmaps, reflection probes, and irradiance volumes support for this release! Bevy has really been a joy to work with, and the community is fantastic.
343.
▲
by
pcwalton
3y ago
Brave continues to ship Manifest v2. Technically Brave is a fork of Chromium for this reason, albeit one that hews close to upstream. The reason why Brave had to fork Chromium is that, again, Google completely controls Chromium's devel
344.
▲
by
pcwalton
3y ago
Why does mobile Chromium still not have extensions? Why was Manifest v3 pushed so heavily? It's not for lack of resources: those are deliberate decisions made for business reasons. Brave pushed back as hard as possible against Manifest
345.
▲
by
pcwalton
3y ago
It'd certainly be convenient if it were true, but the rate of Firefox's market share decline was completely unaffected by the switch to Web Extensions. There are Firefox forks out there that still keep the legacy add-on interface
346.
▲
by
pcwalton
3y ago
Because Google completely controls its development.
347.
▲
by
pcwalton
3y ago
Yeah, it seems to me like the author just wants a simple HTTP client for Rust that prioritizes simplicity over raw performance and is unhappy with the fact that reqwest isn't that. Though as developers we often wish it were otherwise,
348.
▲
by
pcwalton
3y ago
I really want the switchto patch for high performance userspace threading. It'd potentially allow 1:1 threading to better compete with M:N, which would be very nice for systems languages like C++ and Rust.
349.
▲
by
pcwalton
3y ago
> Note that Rust doesn't fix this problem. Rust just encodes the assumption of pre-known lifetimes much more strongly in the language. If you're not in such a domain then you have to fall back to refcounting, which is (a) slow
350.
▲
by
pcwalton
3y ago
Fascinating, thank you! (I completely forgot I wrote that and also I'm mildly embarrassed at how I used to write back then.) :)
351.
▲
by
pcwalton
3y ago
> They're there because they want to be, and many/most/(all?) could find gainful employment in an adjacent industry or field where they'd have better pay. This isn't actually true. Occasionally animators can pivo
352.
▲
by
pcwalton
3y ago
> It should alarm animators that they’re paid so little. It alarmed me as a gamedev when I saw how much webdevs earned in comparison. It’s partly why I left, and I was much happier for it. Well, as a software engineer game development is
353.
▲
by
pcwalton
3y ago
The comments here are talking about how that's the entertainment industry for you, and that's true, but it's also Japan, where salaries are much lower in general than in the US or Europe. Per a quick Google search, at current
354.
▲
by
pcwalton
3y ago
For Go I'd say there's a single synchronous runtime built-in. People say that Go is async because the implementation of goroutines is async internally, but the implementation of threads on every OS is async internally too. The o
355.
▲
by
pcwalton
3y ago
Nowhere did the parent comment say either of those things. The guidelines tell you to assume good faith.
356.
▲
by
pcwalton
3y ago
The article mentions those at the bottom: "And that’s it for today folks. I intentionally did not touch on DPMI—the technology that truly allowed DOS applications to break free from the 1 MB memory limitation—because I’m saving that fo
357.
▲
by
pcwalton
3y ago
Bad idea re. Texas. UT Austin is extremely difficult to get into nowadays.
358.
▲
by
pcwalton
3y ago
I'm happy with it. It's a nice improvement over HLSL/GLSL in Bevy.
359.
▲
by
pcwalton
3y ago
Note that WGSL is closer to Rust than C++--syntactically speaking anyway--and it's pretty much guaranteed to get traction as it'll be the only way to talk to the GPU using a modern API on the Web.
360.
▲
by
pcwalton
3y ago
> I wonder why people haven't coalesced around HLSL I mean, people kind of have, because Unity uses it (and Unreal too I think). > I vastly prefer defining vertices as structs I agree, and note that WGSL lets you do this. > It
More ›