flutter_rust_bridge

Languages and libraries

cross-language bindings

SHOW HN2024

301points
103comments
#205of 3,515 in 2024
Top 6%of 2024 by points

How HN took it

MixedNo clear lean

12 positive, 17 neutral or asking, 2 mixed, 9 critical, out of 40 comments about the project. Thread score +0.03.

Design: 7 for, 3 againstExecution: 3 for, 2 againstIdea: 1 for, 1 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Seamless Rust calls from Dart, excellent codegen and async support.

    From 3 comments
    • I have been using this to build an app[0] for the last couple of years and I want to say that it has been a pleasure to use, there are some wrinkles but overall I have been very…
      tmpfs on HN
    • While I don't see the advantage of writing UI in Rust vs Dart, I'm a huge fan of flutter_rust_bridge. The work fzyzcjy and the community have put into calling Rust code from Dart…
      blopker on HN
    • Flutter Rust Bridge is without a doubt the best FFI bridge I‘ve ever used. It works like magic. I have no idea how it‘s done.
      j-krieger on HN
  • Upgrade from v1 to v2 was smooth with useful features.

    From 1 comment
    • I have been using this to build an app[0] for the last couple of years and I want to say that it has been a pleasure to use, there are some wrinkles but overall I have been very…
      tmpfs on HN

Objections

  • Flutter's long-term Google support and team size are doubted.

    From 2 comments
    • Does anyone know if Google plans to sunset the entire Flutter framework over time? Since they fired just about everybody internal who was working on it, I don't have a lot of…
      sydbarrett74 on HN
    • For ios and android maybe but I doubt for web. Also 12k+ open issues, team layoffs and all founders that left don't brink confidence to flutter. I think also roadmap and progress…
      pzo on HN
  • Flutter's desktop support and job market are weaker than React's.

    From 1 comment
    • flutter does a so so job on desktop and it's web version is wasm based. the job market for dart flutter is a drop while react is the lake. react with electron, react native,…
      synergy20 on HN

Requests

  • Accessibility support details are missing from the docs.

    From 1 comment
    • How is the a11y story with this? I did not find any info about it in the document, but I can not imagine anyone releasing a GUI kit in 2024 without extensive a11y support, so why…
      BodyCulture on HN

Questions

  • How does it compare to rinf and egui?

    From 2 comments
  • What is the technical approach, source-to-source translation?

    From 2 comments
    • Interesting! IIUC this is done using source-to-source translation? It is a bit hard to understand from the docs what technical approach is. The docs are clearly aimed at users…
      burakemir on HN
    • Thanks! Shortly speaking, the Rust code is parsed (e.g. "here is a function and there is a struct"), and then some Rust and Flutter code are generated. As for comparison, some…
      fzyzcjy on HN

Alternatives named

  • Tauri

    From 2 comments
    • Commendable effort! I’m currently using Tauri for a project myself and was wondering if anyone has any pros/cons between the two?
      bubblebeard on HN
    • Thank you! I heard some people saying that, for apps using JavaScript, Tauri is replacing Electron and is popular nowadays, since Electron is very widely used. It seems Tauri…
      fzyzcjy on HN
  • rinf

    From 1 comment
  • Crux

    From 1 comment
    • Yes, if someone needs to write UI using native Android/iOS code, Crux would be suitable. On the other hand, personally speaking, I prefer to write all code 1 time, but Crux seems…
      fzyzcjy on HN
  • egui

    From 1 comment
    • Does anyone know how this compares to EGUI in terms of performance, binary size, flexibility, and overall experience?
      the__alchemist on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/41213711)