Since Rust (partially at least) already works on Haiku, would it be feasible to get Tauri running on Haiku/BeOS?
Is this something that would be technically realistic, or are there major blockers or objections to this?
Since Rust (partially at least) already works on Haiku, would it be feasible to get Tauri running on Haiku/BeOS?
Is this something that would be technically realistic, or are there major blockers or objections to this?
Tweak some of locations of the library files and compile yourself and see if it works
On second thought, no you would kind of have to write your own back end and port webkit2 but that’s what I usually do with those sort of things and sometimes it works, and sometimes it doesn’t that’s how I managed to get the most recent version luanti running on haiku one time i also try to see if I can get all the dependencies too
I mean, i’m no good at coding or programming, but I know how to tweak a make file a little and hunt down dependencies that i need
I doubt I can pull this off. It’s native windows support + webkit and the underlying rust part, it’s not just compiling as you already mentioned.
Yeah true well i wish i could help you
Maybe I could give it a try with some help of AI and some tinkering. But that would be a bit hackish, not sure if people would be happy with that.
I may warn you some of the people in this community do not like the use of ai me personally, I don’t really care, but just a word of warning If you’re gonna do that, don’t mention it Don’t tell anyone
I’m aware of the stance against AI and I understand their reasoning for it. And I think they’re right when it comes to code entirely written by AI without human supervision, and also because it might risk their license since AI learns from open source code and might include incompatible code (in terms of licensing).
That’s why I was hoping someone more knowledgeable could take on this project instead of me.
I understand that. But i’m just saying, don’t even bring it up here * starts having flashbacks * i did once it was the most regrettable thing I ever did yeah don’t do it’s a big no no word here
Well it could work. But would need to figure out how to build somehow an embeddable UI component that contains a WebView. But then this whole thing would be kinda against how Haiku is designed to work, where most apps are written in native C/C++, or have some kind of backend that connects to a C/C++ GUI frontend/CLI.
True but lots of popular apps such as VSCode (not tauri but electron I believe) or Zed (tauri) and 1Password (electron) are basically written with an embedded UI component that contains a Web View to create cross-platform support. If you want to get these popular apps ported to Haiku you kinda have to have support for electron and tauri.
Well, I guess first some basic UI features should be made available from tauri’s tao crate, like opening a window, listening to events, mouse and keyboard events mostly.
And that, alone, is not an easy task, if I take the size of tao crate dependencies for macos (the whole objc2 crates) or windows (the whole windows crates).
And, sure, then, the BWebView should also being made usuable from tao crate too.
As I’m just finishing my rustlings exercises, I’ll leave more rust fluent people shares here how hard or not it could be, and what could be a plan to achieve such support…
Giving advice of “People don’t like X, so use it anyway but lie about it” seems really strange… but maybe that’s just me
FWIW the webkit2 support is getting better, at some point it should be useable for this. ![]()
Well, actually, VSCode and 1Password and such require Chromium specifically, so getting that to work would be a huge burden. Not only that, but Chromium is particularly heavy and might make the system sag (bloat) memory. Zed actually uses its own UI and does not use any kind of WebView to function, but its UI system is also a difficulty to get working. But then of course Pe is already quite enough for coding on Haiku (could be expanded with tabbed editing and folder support though).
I think there’s also a couple of other IDEs on haiku to select from as well i saw some floating around in the package manager
Here this thread might help you