deadcream

joined 1 year ago
[–] [email protected] 15 points 1 month ago (2 children)

Nah, 330% improvement won't even bring it close to JavaScript. Python is slow.

[–] [email protected] 22 points 1 month ago

On PC sure, on consoles devs are always trying to lower the bar.

[–] [email protected] 19 points 1 month ago (2 children)

That's not a good argument. Most of these additional languages are used for separate things, like build scripts and stuff. They don't affect actual kernel code which is C and assembler language.

[–] [email protected] 24 points 1 month ago (2 children)

It is hard when you mix them in one codebase and need bindings and wrappers for interoperability. This always introduces additional work and maintenance burden. It's always a tradeoff and for most projects not worth the effort. Tech corporations that do this regularly have dedicated teams to deal with boilerplate bullshit and tooling issues, so that regular devs can just code with minimal friction. Rust-in-Linux community decided to take it upon themselves, but I'm not sure if they can keep it up for years and decades in the future.

Though gradually getting of C is still a good idea. Millions of lines of C code is a nightmare codebase.

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (1 children)

IDK then. On Android you can do that (though it's disabled by default if the app developer is not owner of the domain which is obviously not true for lemmy). Perhaps iOS has a similar mechanism somewhere in settings.

[–] [email protected] 2 points 2 months ago (3 children)

What platform?

[–] [email protected] 34 points 2 months ago (3 children)

I thought America didn't have pedestrian crossings?

[–] [email protected] 9 points 2 months ago (14 children)

How many NATO soldiers have experience fighting a full-scale war on their territory against an enemy with similar technological and production capabilities?

[–] [email protected] 15 points 2 months ago

Anything Musk-related is a relevant content on Fediverse.

[–] [email protected] 10 points 2 months ago

Frame it as Islamic terrorism to further prop up western alt-right parties.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

What I don't like about Go's error handling is that it's built on returning a tuple of result/error instead of enum/union/variant/whatever-its-called. Which means that on error path you have to return something for successful result too (usually a "zero-initialized" struct because Go doesn't have optionals). You are not returning result or error, you are always returning both. This is just wrong.

[–] [email protected] 1 points 2 months ago

I'm sure all these species traitors will be put to the wall when aliens invade. Earth is for humans!

view more: ‹ prev next ›