logoalt Hacker News

Velox: A Port of Tauri to Swift by Miguel de Icaza

100 pointsby wahnfrieden01/20/202632 commentsview on HN

Comments

walskitoday at 2:53 PM

For the uninitiated:

> Tauri is a framework for building tiny, fast binaries for all major desktop and mobile platforms. Developers can integrate any frontend framework that compiles to HTML, JavaScript, and CSS for building their user experience while leveraging languages such as Rust, Swift, and Kotlin for backend logic when needed.

https://v2.tauri.app/start/

hollowturtletoday at 1:38 PM

To anybody with experience, how's Swift? Especially outside MacOS/iOS programming. Let's say I want to use it standalone for doing some systems programming, how's the standard lib? I'd like to not rely on apple specific frameworks like uikit

show 8 replies
embedding-shapetoday at 11:14 AM

The runtime-wry-ffi (https://github.com/velox-apps/velox/blob/f062211ced4c021d819...) file which is 3.2K lines long and has close to a 100 unsafe calls, isn't that just interacting with wry which has it's own crate you could use instead? I'm not 100% sure, but seems to be basically the same as wry itself but without the cross-platform stuff, is that the purpose of that file?

Together with the author's distaste for Rust, it seems awfully dangerous instead of pulling in a crate made by Rust developers, but I might misunderstand the purpose of the file here.

show 2 replies
mintflowtoday at 1:54 PM

Have built a cross alternative tailscale gui client based on tauri, the rust and ffi to cgo tailscale feel a little tough, I was wondering it will save a lot time to me if the tauri had been written in go.

Seems Miguel’s velox point a new idea, leveraging the wry and use ffi to go, and rewrite some tooling.

I hope I will have the spare time and energy to give a try…

show 1 reply
boxedtoday at 11:12 AM

A "port" or "a nice Swift API for it"? It seems like the latter in that it requires cargo (the rust build chain) to build.

show 1 reply
robert3005today at 11:15 AM

Not to be confused with Velox a compute engine https://github.com/facebookincubator/velox/

show 1 reply
vlovich123today at 11:47 AM

Eh. Dioxus to me is the more interesting project honestly.

show 2 replies