Results 11 comments of xkeyC
trafficstars

https://chromestatus.com/feature/6236420349100032 Microsoft is finally fixing Chrome's font issues on Windows 10 & 11 https://www.xda-developers.com/microsoft-fix-chrome-font-issues-windows-10-11/ I see this is a fix for Sika, will this benefit Flutter as well?

I try to do it, but when I call `rsprocess.write`, I get this error: ``` thread 'tokio-runtime-worker' panicked at C:\Users\xkeyc\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge-2.0.0-dev.32\src\rust_auto_opaque\dart2rust.rs:22:14: Fail to mutably borrow object. Please ensure the object is...

> > Fail to mutably borrow object. > > Hi, could you please show Dart code about this? I guess you are calling methods concurrently - which violates Rust's safety...

> Just briefly looked at it. Is it possible that, `start` is `&mut self` and holds `self` for too long time? > > What about sth like this: > >...

> #[frb(stream_dart_await)] Not work If i move `tokio::select! {_ = output_task => (), _ = error_task => ()} ` in `tokio::spawn(async move {} )` , the process will exit with...

Finally return to static ... 😂 ``` rust pub struct RsProcess { pub child_stdin: ChildStdin, pub rs_pid: u32, } lazy_static! { static ref RS_PROCESS_MAP: Mutex = Mutex::new(HashMap::new()); } pub async...

暂且参考 https://github.com/xkeyC/Syncreve/blob/main/.github/workflows/build_apk.yml 里的构建流程吧。 name 就是 命令说明,run 就是执行的命令,从 Setup Java 到 Flutter build apk。 Setup 操作在本地就是配环境,那几个 builld 操作就是在仓库首页执行命令即可。 https://github.com/xkeyC/Syncreve/actions/runs/5386013622 这里有全套的构建日志 以及编译结果。 如果你要查看或修改代码,推荐使用 https://developer.android.com/studio (无需配置 java 环境) 。 Flutter 的安装可以参考:https://flutter.cn/docs/get-started/install 因为使用 golang...

``` It was not possible to find any compatible framework version ... ```

> 可能是时间间隔的问题,这种超高速的测试很容易差一点就差出很多去 或许可以考虑在用 wasm ,性能应该会好点? 移动端可以考虑搞个 App 什么的,晚点我看看能不能整

> @xkeyC 性能点不在 js 的执行性能,而是处理网络数据的性能。所以 wasm 没用的,除非能绕过 js 这一层,直接 wasm 调用底层网络库,否则性能瓶颈依旧会存在。 > > 为啥需要移动端 App,直接手机打开浏览器界面不就好了。搞个 App 也不太符合我的初衷 wasm 是可以直接用浏览器 api 请求网络的,无需和 js 交互, App 的想法是浏览器不能充分使用设备性能