jcbritobr

joined 2 years ago
[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

@onlinepersona @snaggen another problem I see people doing while writing rust, is trying to write code like java. Rust isn't an OO language, but you can organize your code and have hierarchies.

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

@onlinepersona @snaggen

people write oo code in linux source code using c. With rust is simple. Just use composition, and you can explore the traits, that serves as and is better than interfaces.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

@snaggen Cyber security problems seems to be a major issue to fix in this decade.

[–] [email protected] 6 points 1 year ago

@snaggen not for me also. #vscode or #helixeditor are pretty neat in my opinion.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

@sugar_in_your_tea #golang is a near perfect aproach for writing concurrency and async code, indeed, but rust already has channels in standard library. My github has a lot of concurrency code using only std library, including examples in atomics, channels, mutexes, conditional variables, etc...

https://doc.rust-lang.org/rust-by-example/std_misc/channels.html

https://github.com/jcbritobr/concprog/blob/master/src/threadpool.rs

https://github.com/jcbritobr/concprog/blob/master/src/channels.rs

[–] [email protected] 0 points 1 year ago (3 children)

@sugar_in_your_tea @wim
go channels and goroutines are very good and easy to work, but thei cant acquire the performance and security of #tokio. You can write good code and solutions with goroutines, but there are limitations. #Rust async is a bit more difficult to do, but its not so or too complicated or dificult, and you will choose between the two languages by kind of problems you want to solve.

[–] [email protected] -4 points 1 year ago (1 children)

@NoRecognition84 @rodneyck its bad anyway. Why a opensource project will do something like that? Telemetry causes bad performance in production. If its opt in, no one will activate, and soon the business will force its use.

[–] [email protected] 1 points 1 year ago

@rodneyck @octalfudge
that's very bad news. #fedora is a nice distribution, but telemetry leads the machine to bad perform.

[–] [email protected] 9 points 1 year ago

@ghariksforge @Gecko No one supports Win 10/11 telemetry and updates. And also, there are a huge rejection to win 11 from 10 users.

[–] [email protected] 12 points 2 years ago (10 children)

@winnie snap is not so mature as flatpaks yet. Dont know if its really a nice descision.

view more: ‹ prev next ›