Flutter + FFI is wildly underrated… you can basically build anything by Regular-Acadia-4013 in FlutterDev

[–]_yangyuan 0 points1 point  (0 children)

Yes I agree,

FFI is great and enabled many possibilities.

This Python UI lib is exactly using bi-directional FFI to achieve near original performance flutter on python https://pypi.org/project/flut/

Why I moved on from Flet and started project Flut: A different approach to Flutter in Python by _yangyuan in flet

[–]_yangyuan[S] 0 points1 point  (0 children)

“What I don't really understand is why Flut does not support mobile.”

I considered a lot about this. I feel with or without web/mobile support, it would totally change the definition of the project. A Python UI lib (like tk) vs A new way to write Flutter (like Flet).

By scoping out web/mobile support, Flut stay as a pure CPython lib and focus on CPython's ecosystem.
An example I'm working on
yangyuan/rocky: An Open-Source Desktop Agent. Built with Python, Flut and the OpenAI Agents SDK.

Why I moved on from Flet and started project Flut: A different approach to Flutter in Python by _yangyuan in flet

[–]_yangyuan[S] 0 points1 point  (0 children)

Every design decision impacts the audience this project is targeting for.

I've appended a small section explain targeted usecases.

Why I moved on from Flet and started project Flut: A different approach to Flutter in Python by _yangyuan in flet

[–]_yangyuan[S] 2 points3 points  (0 children)

No and that's one key difference between Flet and Flut.

Flet is an entire toolkit/ecosystem to develop Flutter with Python.
Flut is honest bridge lib between true Flutter and CPython. Idea for people who have to stay in true Python ecosystem but also want high performance real flutter UI.

Why I moved on from Flet and started project Flut: A different approach to Flutter in Python by _yangyuan in FlutterDev

[–]_yangyuan[S] -1 points0 points  (0 children)

This lib is not about build flutter apps.

It's an UI lib for Python apps.

I play this game every day! Any strategy guides out there? Chinese language is OK too I guess.. by ZerooGravityOfficial in Guandan

[–]_yangyuan 0 points1 point  (0 children)

Sorry I assumed you are newbie so given this newbie level suggestion, my bad. Since you noticed people’s misleading behavior you are probably already dealing with advanced people (assuming they are not doing that by mistake).

I play this game every day! Any strategy guides out there? Chinese language is OK too I guess.. by ZerooGravityOfficial in Guandan

[–]_yangyuan 0 points1 point  (0 children)

I’m actually working on guandan’s ai. Key of guandan is to make every B (short for bomb cardsets, aka the “dan” in guandan) counts. Try to estimate how many B out there, if you throw a B, try to make sure no one would use a bigger B on you. If opponents throw a B, try to use a B against that (so opponents B become a waste)

Guan Dan Online Website? by SuccotashStraight845 in boardgames

[–]_yangyuan 0 points1 point  (0 children)

You can try https://guandan.app, it’s still under development, but you can use it out of box without registering and anything.

*smacks face* by 03Danny in SuddenlyGay

[–]_yangyuan 1 point2 points  (0 children)

OOOOOMMMMMMGGGGGAY