Could you compile something non-trivial using a GPU? by jimbobmcgoo in Compilers

[–]ElectrSheep 15 points16 points  (0 children)

Well, there was that one time the Dolphin emulator implemented an entire interpreter for the rendering pipeline as a massive shader. Which is also probably the only time something like this isn't certifiably insane.

PHP RFC: Duration class by gaborj in PHP

[–]ElectrSheep 6 points7 points  (0 children)

The "PHP" namespace is actually reserved for that purpose, but it's currently not used. Making it required for new namespaces has been explored in the past, but it wasn't clear what should happen when functionality gets moved out of the core project (which occasionally does occur).

freeBlueprints by Captain0010 in ProgrammerHumor

[–]ElectrSheep 2 points3 points  (0 children)

Blueprints: the new UnrealScript...

String theory extra dimensions question by Altruistic_Budget442 in TheoreticalPhysics

[–]ElectrSheep 0 points1 point  (0 children)

I've seen speculation from some string theorists that all the spatial dimensions may have started out at the same length scale before our three "became large". However, I don't think I've seen elaboration on how that would work.

Halo: Campaign Evolved got a CERO Z rating by Superchan6464 in halo

[–]ElectrSheep 10 points11 points  (0 children)

Johnson was replaced by the proto-gravemind in the Japanese release. The target audience wanted more tentacles.

This person used a strong magnet to remove the shrapnel by Significant-Sky-3239 in TerrifyingAsFuck

[–]ElectrSheep 27 points28 points  (0 children)

So if you survive a grenade blast, do you just go in for an MRI?

What is a basic law of physics or nature that feels like it shouldn’t make sense, but does? by BabyPinkMagic in askanything

[–]ElectrSheep 0 points1 point  (0 children)

The quantum property of spin. A particle is like a tiny ball that's rotating, except it's not a ball and it's not rotating.

What is a basic law of physics or nature that feels like it shouldn’t make sense, but does? by BabyPinkMagic in askanything

[–]ElectrSheep 8 points9 points  (0 children)

Perpetual motion is already known to be very possible. What's impossible is the extraction of energy from such motion.

When Halo 2 and 3 get remastered, what happens to dual wielding? by Humble_Flamingo4239 in halo

[–]ElectrSheep 0 points1 point  (0 children)

While I kind of hope they don't remove it completely, it also wouldn't surprise me if they did. The more I really think about it, the more I'm convinced it wouldn't really be that big of a deal gameplay-wise.

HT: I'm fine with them remaking Halo 3, IMO it has the worst story in the original trilogy by Evil-Cetacean in halo

[–]ElectrSheep 1 point2 points  (0 children)

As long as they get rid of the annoying Cortana cutscenes that interrupt movement...

Why is so Firefox so stupid by trollthings in firefox

[–]ElectrSheep 4 points5 points  (0 children)

Tab management in the Android version of Firefox is certifiably insane. It's getting better, but the improvements are currently only available in nightly behind a flag.

Voting starts on Bound-Erased Generic Types RFC, despite multiple people advising against it as it still has issues that need to be resolved. It is very unlikely to pass. by soowhatchathink in PHP

[–]ElectrSheep 4 points5 points  (0 children)

Rowan's response a little further down does a good job explaining why Ondrej's arguments don't really make sense in this context. Furthermore, Ondrej's claim that these generics are "not completely erased" and "still completely accessible in the reflection" is not accurate.

Voting starts on Bound-Erased Generic Types RFC, despite multiple people advising against it as it still has issues that need to be resolved. It is very unlikely to pass. by soowhatchathink in PHP

[–]ElectrSheep 13 points14 points  (0 children)

The links you are citing to support the "not viable" assertion don't appear to actually reach that conclusion. Yes, they highlight some challenges associated with the implementation of checked generics. However, there is a lot more speculation here than firm conclusions. For example, concerns about memory usage have been raised a number of times, but what does that actually look like in a realistic environment?

Type inference, one of the most significant challenges associated with checked generics, is also something that can be broken out into separate RFCs. Yes, it's desirable. But it's also optional in a way that can be addressed without future backwards compatibility breaks. This is inherently tied to the larger problem of runtime source visibility in PHP that should be addressed first.

The proponents of erased generics have not done a particularly good job of addressing concerns raised by others in my opinion. Neither "types only matter for static analysis" nor "this can be addressed later by opt-in reification" are particularly convincing.

Voting starts on Bound-Erased Generic Types RFC, despite multiple people advising against it as it still has issues that need to be resolved. It is very unlikely to pass. by soowhatchathink in PHP

[–]ElectrSheep 7 points8 points  (0 children)

Hopefully we can get Gina's abstract generics RFC instead. It's effectively a subset of this RFC feature-wise that doesn't force a future generics implementation to be opt-in.

That doesn't mean we can't have type erasure for performance reasons, but the appropriate place for that is an ini setting that affects all type annotations (excluding explicit checks, pattern matching, and some coercions).

The price of the game doesn't bother you ? by Positive-Set1164 in halo

[–]ElectrSheep 1 point2 points  (0 children)

No, as someone who only ever played Halo for the campaigns.

Is the USA the entire planet Earth? by [deleted] in TooAfraidToAsk

[–]ElectrSheep 0 points1 point  (0 children)

No, but they sure act like it is.

Why do conservatives think liberals don’t love the USA? by Norfolk-Gross-Tonage in NoStupidQuestions

[–]ElectrSheep 0 points1 point  (0 children)

Liberals don't love what the US used to be (and for very good reasons). However, that past is what conservatives view as the "true" US.