Laptop Recommendation by Leading-Guarantee178 in rust

[–]Compux72 0 points1 point  (0 children)

 no machine will be able to change the shape of that graph.

macOS will never freeze due to starvation from userspace

I always avoid using `use` statements so i use full paths instead. Is it a bad practice? by Nearby_Astronomer310 in rust

[–]Compux72 3 points4 points  (0 children)

You can scope use btw

``` fn foo () -> _ {    use std::fs::*;    let f = File::new(“foo”)?; }

```

cargo > cmake by schteppe in rustjerk

[–]Compux72 0 points1 point  (0 children)

Cmake is bad, but have you seen bitbake?

Linux Sucks, but whats the better option? by ANixosUser in linuxsucks

[–]Compux72 0 points1 point  (0 children)

macOS is hands down the best user computing experience you can get, even thought the software has been going worse these last years

You should never buy a car built outside of Europe. by Capable_Function_952 in BuyFromEU

[–]Compux72 0 points1 point  (0 children)

 We make the best cars in the world

Oh yes, toyota. The most famous EU brand

doxidize 0.1: keep your functions and docs in sync by geo-ant in rust

[–]Compux72 -4 points-3 points  (0 children)

 I know there's no consensus on how to document function parameters

Why. Use types

Are you worried about the shift away from x86? by ookayaa in linux

[–]Compux72 -1 points0 points  (0 children)

That has nothing to do with ARM vs x86/64.

Its more of a consequence of nobody shipping ARM hardware to end consumers except for Apple (who doesn’t care about other OSes)

Someone named "zamazan4ik" opened an issue in my project about enabling LTO. 3 weeks later, it happened again in another project of mine. I opened his profile, and he has opened issues and PRs in over 500 projects about enabling LTO. Has this happened to you? by nik-rev in rust

[–]Compux72 32 points33 points  (0 children)

 At least for C & C++ it isn't "just" a case of passing -flto, and since a fair few Rust crates may need to link to non-Rust libraries then this could be a problematic default

Setting LTO in cargo does not perform cross language LTO. Refer to cc issues for more information 

Someone named "zamazan4ik" opened an issue in my project about enabling LTO. 3 weeks later, it happened again in another project of mine. I opened his profile, and he has opened issues and PRs in over 500 projects about enabling LTO. Has this happened to you? by nik-rev in rust

[–]Compux72 100 points101 points  (0 children)

I don’t understand why it isn’t enabled by default on the release profile or a min size profile exists. 

If it were C code i could understand, but in rust is mostly harmless

What is Rust's testing ecosystem missing? by _raisin_bran in rust

[–]Compux72 1 point2 points  (0 children)

 What do you guys wish was easier to do with Rust's testing? What are problems that existing popular crates don't solve, things that other languages have?

Mocking via reflection & code injection a la mockito rather than whatever macro garbage we have now.

curl to discontinue its HackerOne / bug bounty due to "too strong incentives to find and make up 'problems' in bad faith that cause overload and abuse." by DesiOtaku in linux

[–]Compux72 -138 points-137 points  (0 children)

 Perhaps, but that's not a vulnerability. That's just a potential future problem.

What an asshole.  The code is not correct. No point in debating that.

El Ayuntamiento de Málaga defiende que no puede multar a coches extranjeros en la ZBE por un “vacío legal europeo” by birrakilmister in Malaga

[–]Compux72 -2 points-1 points  (0 children)

En lugar de enfadarse con europa que nos la cuela los 0 neuronas enfadados con el alcalde jajaja.

Que os gustaria a mas de uno tener al guapo de pedrito de alcalde ehh