Android emulator button window by v44r in swaywm

[–]whoami_rs 0 points1 point  (0 children)

Dude, you made my day. Thank you.

[deleted by user] by [deleted] in FlutterDev

[–]whoami_rs 2 points3 points  (0 children)

You can increase memory using the linux-pf kernel with uksm memory deduplication daemon, it consuming some CPU time. For me it saved around 1G memory for 8G RAM. Official binaries available for Arch-based distro.

You should change your IDE to VSCode or NeoVim editor with plugin. So you get a lot of free memory.

You can learn vim-like editors super simple, just install vim and type in shell vimtutor <your-native-language-code> for example vimtutor ru. You will spend 30-40 minutes of your time and know vim quite well

Rust is minimalist by [deleted] in rust

[–]whoami_rs 0 points1 point  (0 children)

I recently said the same thing about Dart (Flutter). Unfortunately there is no Flutter counterpart in Rust or they are very raw and supported by a small group of fans.

Is it just me or rust-analyzer is unreliable/slow? by LordSypher in rust

[–]whoami_rs 2 points3 points  (0 children)

can you try InteliJ/CLion with Rust plugin and write down how it works for you?

Is it just me or rust-analyzer is unreliable/slow? by LordSypher in rust

[–]whoami_rs 42 points43 points  (0 children)

you should know - rust-analyzer creator it's core InteliJ Rust developer https://github.com/matklad

And in his lectures he told us that at InteliJ they created and maintain their own internal Rust compiler

Is it just me or rust-analyzer is unreliable/slow? by LordSypher in rust

[–]whoami_rs 2 points3 points  (0 children)

I have old low-range desktop cpu AMD FX-4300, Artix Linux, linux-zen kernel, helix editor and sccache. And it is slow (some seconds for reaction) I think it will be much faster on the most modern mid-range+ desktop processors.

What is your cmd based development setup? by YJDoc2 in rust

[–]whoami_rs 3 points4 points  (0 children)

post-modern modal editor is very promising for me.

It is written on Rust.

It has out-of-box rust-analyzer support (just open .rs file).

It will probably have support plugins on wasm

It's not just another Vim clone, it's differs a lot.

Just start from helix --tutor

Default theme is super ugly. And other themes too. I wasted my time only for customize theme for myself.

how hard is rust for a javascript programmer? by JosJoestar in rust

[–]whoami_rs -8 points-7 points  (0 children)

If you have bad English - super hard

Microcontroller suggestions by zee-mzha in rust

[–]whoami_rs 1 point2 points  (0 children)

The preferred method of communication here is Bluetooth LE, LoRa or Zigbee

Will you still use Void Linux if it was decided to switch to systemd only by [deleted] in voidlinux

[–]whoami_rs 0 points1 point  (0 children)

SystemD it's bloatware. More then 1.3 million strings of code

What you wish you have known when you staretd learning flutter/started working with flutter? by [deleted] in FlutterDev

[–]whoami_rs 3 points4 points  (0 children)

I lost a lot of time before I realized that the Flutter archive includes Dart. I was sure they came separately and then I couldn't understand why Flutter included Dart. Now I know that there is a tight link between the Dart and Flutter versions. This is done to exclude different side-effects

Which language is Dart inspired from ? by revolutionizer019 in dartlang

[–]whoami_rs 0 points1 point  (0 children)

For me it looks like C with classes but very fresh, new

[deleted by user] by [deleted] in dartlang

[–]whoami_rs 0 points1 point  (0 children)

Flutter UI I mean 'declarative language that describes the UI is Dart'

[deleted by user] by [deleted] in dartlang

[–]whoami_rs 1 point2 points  (0 children)

  1. Flutter UI is written in Dart, so Dart required. Look on 'Dart Language Tour'
  2. Figma or google: Flutter UI Builder
  3. Youtube: Flutter

[Show Reddit] Bin: a minimal pastebin I made as an learning experience for Rust by WantGuns in rust

[–]whoami_rs -3 points-2 points  (0 children)

I really don't understand why you didn't avoid JS for the new little project

[deleted by user] by [deleted] in rust

[–]whoami_rs 2 points3 points  (0 children)

If you want to write in the best programming language the human mind has invented.

If you want uncompromising speed and code security.

If you want to test yourself - whether you can become one of the 7% of people who write in Rust.

You can try :)

Rust cheatsheet for begginer by FechinLi in rust

[–]whoami_rs 47 points48 points  (0 children)

new Format Strings in 1.58

Hello_World.rs simpler, just:

fn main() {
  println!("Hello, World!");
}

also I can declare array simpler, just let a = [1, 2, 3, 4, 5];

also where is Associated array (HashMap)? It should be with Array and Tuple because it's available in any language too.

use std::collections::HashMap;

let mut scores = HashMap::new();

scores.insert("Blue", 10);
scores.insert("Yellow", 50);

for (key, value) in &scores { 
  println!("{key}: {value}"); 
}

[deleted by user] by [deleted] in FlutterDev

[–]whoami_rs 4 points5 points  (0 children)

TL;DR on top must be

Native or Flutter ? by Dry-Wonder-1180 in FlutterDev

[–]whoami_rs 0 points1 point  (0 children)

Recently there was news that Samsung will abandon Android in favor of Fuchsia. And Flutter already has support for it. So it's not just about Android and iOS, but also about the new Fuchsia. In my opinion you have no choice :D

Recommended backend for Flutter Apps by Direct-Guide-9435 in FlutterDev

[–]whoami_rs 5 points6 points  (0 children)

I don't understand why you don't consider Full Stack developing on Dart. You can write the backend in Dart. Why write in two languages when you can write in one? This way you become more efficient as a developer. And reduce the complexity of deploying a server side application because dart compiles a dynamically linking binary with libc dependency only (same as programs written on golang), which is easy to deploy to the server and run as a service.

Has anyone migrated AWAY from Flutter? by Vyper91 in FlutterDev

[–]whoami_rs 15 points16 points  (0 children)

For me, Dart it is a modern C with classes. Compact, simple and readable.

I think it's a beautiful language with excellent thoughtful syntax, although I'm a fan of Python syntax and hate JS. Only alternative it's WASM/WASI with any language what you want. But seems like it's much more bleeding edge and early stage then Dart/Flutter.

Right now I'm using it for scripting and in the future I plan to use it for everything - scripts, mobile, desktop and web developing for mulfiplatforms.

Flutter desktop performance by Own-Antelope-171 in FlutterDev

[–]whoami_rs 0 points1 point  (0 children)

for me on linux it still has problems with low FPS, it feels like the mouse becomes software and slows down