Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkelleyrtp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
jkelleyrtp
2y ago
Swift 6 is amazing - I say this as a big Rust person. It seems like Swift is now its own entity outside the Apple bubble and has a few very interesting features: - An "embedded" mode that turns off reflection for kilobyte-sized bi
62.
▲
by
jkelleyrtp
2y ago
Dioxus Labs ( http://dioxuslabs.com ) | Founding Rust Engineer | San Francisco | in-person | Full-time | 125-150k | 0.5-3% equity I'm Jonathan, the creator of Dioxus (YC S23). Dioxus is a popular crossplatform GUI library for
63.
▲
Dioxus S23 is hiring a cracked founding engineer (Rust)
(ycombinator.com)
1 points
by
jkelleyrtp
2y ago
64.
▲
by
jkelleyrtp
3y ago
We have a guide about optimizing that it looks like we just haven't propagated into the template. You can get hello world to sub 50kb. Our todomvc in the docs gets to 234kb. Also note that wasm starts really really quickly, so it'
65.
▲
by
jkelleyrtp
3y ago
Tauri and Dioxus both share a webview and all of Tauri's extensions/plugins work with dioxus, so the only real difference is where your code lives. Since Dioxus and Tauri share a good deal of architecture similarities, it's n
66.
▲
by
jkelleyrtp
3y ago
Tauri and Dioxus both share a webview and all of Tauri's extensions/plugins work with dioxus, so the only real difference is where your code lives. Since Dioxus and Tauri share a good deal of architecture similarities, it's n
67.
▲
by
jkelleyrtp
3y ago
Dioxus still re-renders components but throws a lot of optimizations at the rsx that components generate, getting it close to solid's performance. It's more like preact than it is solid. Optimizations include: - splitting out dyna
68.
▲
by
jkelleyrtp
3y ago
No, but we've been helping authors of popular crates prep for the update. Crate authors can submit their projects to https://github.com/dioxus-community/ and we'll help maintain and update them.
69.
▲
by
jkelleyrtp
3y ago
Stable/1.0 is always tough to call, and you can't predict the future of course, but it does seem obvious that enterprise value 1.0 software. It's more likely that we 1.0 different pieces of the stack (core, rsx!, html) so the
70.
▲
by
jkelleyrtp
3y ago
We'll probably explore that in the future but right now our team is literally just 2.5 fulltime engineers. Tauri is seeking monetization via CrabNebula, but I can see how the governance structure would secure more confidence in the OSS
71.
▲
by
jkelleyrtp
3y ago
If you want to use a Rust frontend framework with Tauri you need to compile to wasm. You typically use svelte/vue/react etc as the frontend, or I guess you could attempt some sort of MPA approach with SSR. Here's a guide for
72.
▲
by
jkelleyrtp
3y ago
That's awesome!! I must've ran into kweb when designing the DSL at first - they're so similar. I'm secretly a huge kotlin fan and love the kotlin DSLs and concurrency models.
73.
▲
by
jkelleyrtp
3y ago
Yes, a big feature bevy is lacking is a decent editor. There's been an ongoing push to get dioxus into bevy to accelerate the editor development. Bevy's ECS model is good for games but hasn't been cleanly mapped into the trad
74.
▲
by
jkelleyrtp
3y ago
I'd add React-Native / expo to your list. Flutter is written in Dart but renders to a canvas on the web making it a very, very poor choice for web apps. Especially backend/fullstack apps. Plus you can't use tailwind or w
75.
▲
by
jkelleyrtp
3y ago
Yeah Nico is awesome. Between Evan and Nico, I'm sure I'm the worst programmer on the team!
76.
▲
by
jkelleyrtp
3y ago
We have grants and corporate sponsors to keep the project alive even if the VC money runs out. This was all a side project for me at first, so I went down the "donation" route in the beginning. Donations are great but they're
77.
▲
by
jkelleyrtp
3y ago
Yes, we're looking at something like a Vercel/Expo model, probably built on Fly, Cloudflare, or AWS, but designed to be self hosted. We've got a decent amount of enterprise adoption and I think there's money to be made b
78.
▲
by
jkelleyrtp
3y ago
Venture doesn't necessarily mean bad. Long term the goal the goal is to dissolve the gates to Apple and Google's walled gardens, which I personally believe is a net good. As much is the idealist in me wants to do that with no vent
79.
▲
by
jkelleyrtp
3y ago
Wrote about that here: https://github.com/DioxusLabs/dioxus?tab=readme-ov-file#diox... You're probably not going to be building an email client or the next instagram in egui, but it is good for stuff where you
80.
▲
by
jkelleyrtp
3y ago
Someone else figured it out :-) I think we had a prototype of it a long time ago but couldn't figure out how to implement drop. Leptos came out but just leaked the runtime in its initial rev. We figured we could safely recycle the runt
81.
▲
by
jkelleyrtp
3y ago
It's mostly just needed to interact with FFI and declare some types as Send/Sync. We use it in 3 places: - fixing some FFI on iOS - enabling function-call syntax for signals (took this implementation from dtolnay) - implementing S
82.
▲
by
jkelleyrtp
3y ago
Creator here, so I'm biased... Yew has had about 10 commits in the past 6 months and the original creator has since moved on. Leptos is a good solution for web-app type stuff, but IMO there's a big usability gap. I'll let the
83.
▲
by
jkelleyrtp
3y ago
It is poor man's GC, but the memory semantics are exactly the same as the previous version. Since `use_hook` owns a value for the lifetime of the component, that value is dropped when the component drops. All signals still `use_hook` s
84.
▲
by
jkelleyrtp
3y ago
One of this release's features is getting byte streams into the webview using custom protocols. It's not as ideal as say, sharing a GPU texture with the webview, but powerful enough to do video streaming and data viz.
85.
▲
by
jkelleyrtp
3y ago
You can choose between using the system's webview as your renderer or an experimental WGPU-based engine that pulls in stylo (the piece of servo shared with Firefox). We're hoping to move folks to the WGPU renderer in the long term
86.
▲
by
jkelleyrtp
3y ago
Agreed, but we've been doing a lot of R&D discovering new ways of doing things. Dioxus was the first Rust framework to do template-based hotreloading and we couldn't have predicted that was even possible 2 years ago. The Copy-
87.
▲
by
jkelleyrtp
3y ago
It was 3 months of work and you probably saw our alphas kicking around for a while. We had been thinking about this rewrite for like 6 months, but put it off for a while. Glad we dove into it since the finished product is so much better.
88.
▲
by
jkelleyrtp
3y ago
Wrote about that here in our readme: https://github.com/dioxusLabs/dioxus/?tab=readme-ov-file#dio... Tauri puts your frontend in the webview and you need to communicate with native Rust functions through an IPC bo
89.
▲
Dioxus 0.5: Web, Desktop, Mobile Apps in Rust
(dioxuslabs.com)
314 points
by
jkelleyrtp
3y ago
|
114 comments
90.
▲
by
jkelleyrtp
3y ago
I'm a big Rust person but the language I think that's slept on is Kotlin. It has all the goodies I like in Rust (multiplatform, decorators, FP, pattern matching) but with a GC/JVM to back it. I personally like Rust since I ca
More ›