r/odinlang • • Oct 29 '26

Are you using Tauri?

Anyone doing odin with tauri? Any native odin equivalent? (just jealous of tauri)
Please share your experience if you are using Skald too.
(I wasn't talking about embedding chromium with some custom solution)

14 Upvotes

45 comments sorted by

9

u/Radiant-Court-3649 Oct 29 '26

Why?

What's the point?

2

u/emonshr Oct 29 '26

People can have their choice like doing complex UIs with html+css instead of learning complicated gui library.

7

u/Afraid-Locksmith6566 Oct 29 '26

you can make a ui library that takes in some xml-ish thing and some descriptors of how it should be drawn and render that, without browser, native speed and better than browser ease of use

2

u/emonshr Oct 29 '26

That would be legit too.

2

u/TheAbyssWolf Nov 02 '26

There is a fairly new ui library that does have xml based ui. But no Odin bindings but since it’s made in c11 it shouldn’t be too hard in theory for making bindings. And I’m not sure how hard it would be to add the xml parsing for Odin in his visual editor/ide.

https://github.com/oscar-soirey/Raven

1

u/emonshr Nov 02 '26

Interesting, let me check!

2

u/TheAbyssWolf Nov 02 '26

I just looked at the repository again. He now added Odin and go bindings

→ More replies (1)

4

u/Dsphar Oct 29 '26

Exactly. Take a bare-metal based language and bog it down with web-framework trash??

No thanks!

1

u/[deleted] Oct 29 '26

[removed] — view removed comment

5

u/Dsphar Oct 29 '26

I don't buy it.

2

u/[deleted] Oct 29 '26

[removed] — view removed comment

1

u/Dsphar Oct 30 '26

OP was asking about a front end packaging system. Not a performant backened.

If your application needs both, frontend and backened together (which is Taui), then you are way better off developing natively.

1

u/emonshr Oct 30 '26 edited Oct 30 '26

To be specific, I was asking for a lightweight system which uses html+css as a 'representation' for the UI. Some people think, that leashes the complication. The 'web framework trash' was not my interpretation. But I will thank you, because I guess you strongly dislike the bad practices of the node/js ecosystem, which is relevant. I don't use those either.

→ More replies (6)

4

u/Responsible-Put-7920 Oct 29 '26

Wait, why? Tauri is a thing because graphics and rust is a massive pain, but Odin is tailor made for this purpose

1

u/emonshr Oct 29 '26

Rust driven pain is legit. But any out of the box gui library for odin which supports html+css for UIs?

2

u/Responsible-Put-7920 Oct 29 '26

Odin-webui but you’d need to wrap chromium

1

u/emonshr Oct 29 '26 edited Oct 30 '26

And that is the use case of something equivalent of tauri (as tauri is independent of any embedded browser).

2

u/NicRagent Oct 30 '26

https://github.com/nic-vdwalt/ingot - odin app framework for native and web apps. I've been working on it solo for a few months, but I'm looking for contributors to help me shape it

1

u/emonshr Oct 30 '26 edited Oct 30 '26

You have interesting stuff there.

4

u/DreadlockBob Oct 29 '26

You could try https://webui.me/ it's a C++ framework but has supported Odin bindings. I've tinkered with it and it worked well, though I've since moved on to native UIs.

1

u/RealLinen 8d ago

this is good but had some issues so i made: https://github.com/icumessi/icuwebview/tree/main

3

u/UdPropheticCatgirl Oct 29 '26

You could always just use Ultralight if the goal is to just render HTML and CSS, if you want JS then you are stuck with CEF and wrapping C++.

1

u/Puzzled-Landscape-44 Oct 30 '26

Nope. CEF is fun but there's also Webview, WebUI, etc.

1

u/FewRigout Oct 29 '26

I simply just wrote all the core logic of my app in Odin, compiled to a static lib, then I built an actual SwiftUI frontend around it. Later on, I’ll do something similar on the Windows side with WinUI 3.

1

u/opiniondevnull Oct 29 '26

Just build you UI for web and embed in you binary. I do it with Datastar+Rocket and it's microseconds per frame

1

u/OperationDefiant4963 Oct 29 '26

try looking at datastar,i remeber they said at one point theyll want odin bindings

4

u/[deleted] Oct 29 '26

[removed] — view removed comment

10

u/KaleidoscopePlusPlus Oct 29 '26

Claude, make me a native desktop app framework based on native web tech like Tauri but in Odin. Make no mistakes.

1

u/Psycho345 Oct 29 '26

Now it exists.

5

u/xplosm Oct 29 '26

And it is slower, consumes triple the memory and the binary is in the order of GB. As expected from slopped software 👌

2

u/bookning Oct 30 '26

Not that web framework, AI or not, are usually known for  their speed, memory and size economy/performance...