Soon it will be time for my 2 week end of year digital detox π
I am always off line at the end of the year to reset, relax and reinvigorate myself offline.
If there is anything urgent before then please let me know, else after the 15th Dec, see y'all in the New Year :D
Login to reply
Replies (13)
When HiveTalk Android π₯
Native development is a gigantic, never-ending PITA.
ππ stopp it .
mainly because platforms are highly opinionated and controlling, and their picks for languages are motivated mainly by marketing and popular trends (partly due to needing to attract enough devs in the bootstrap phase of the system). so we all suffer because there isn't a one codebase all platforms option that is mature enough.
flutter is shit. react is shit so react native is shit squared. cocoa and metal are "special" meaning painting pixels requires like 5 different back ends to be supported with a single API that accounts for all the limitations between them, though mostly they are few. and javascript, java, kotlin and objective C are all shit, and that pretty much covers most of what you have to work with.
this is why i'm building https://git.mleku.dev/mleku/prevara this will be a single codebase, all platforms target, including managing writing back-end servers that are required for the front ends (eg, cache relays, and other clients and protocols). if you remember keybase - that has a go server backend on it, and there is probably quite a number of them now doing this. certainly for bitcoin and lightning stuff, eg putting LND inside a lightning wallet with SPV neutrino as the light node.
99% of devs don't have a solid grounding in language design, architecture or computational theory, and way too many languages have heinously memory hungry and disk hungry build systems. it's a constant fight. i hate them all.
Hi. I agree with her.
Hivetalk Honey is now available on Keychat.
So, we will be redirecting our energies to other features.
Stay tuned.
Tiz cool. Iβll check it out. Yet to try Keychat. All the best, Iβm tuned inn π» .
so what do you suggest instead? i use kotlin for Android dev Iβve used it for desktop development too.
personally after not being in the dev space for a decade and coming back to all these frameworks itβs difficult to pick one and stick with it. a lot has been occurring
my main work is back end and servers so this stuff doesn't touch me often. like yesterday, i have two people interested in being able to hack on my relay or at least use it for local testing on mac. it won't take much to fix but i had to install the dev environment because apple make it impossible to do apple dev without macos. windows has been a lot easier, cross-compilation to other targets is mostly quite simple for linux devs. android at least they picked a good IDE to build on and all desktop OSs support it.
my current position is, do front end with svelte and typescript. this is the best GUI i have seen that is pretty much universal... for native, though, there isn't really much of a universal option except maybe flutter, which i believe can be used on all platforms, and any webview based app can be made on all platforms, so you can actually use svelte there too. react native you also can put on all platforms but really it's just a little more convenient provided tools for the platforms, but there is webview based app runtimes for everything. and don't use react. react is overly complicated, everything is spaghetti scattered across dozens of directories, there is no easy way to clean up the CSS because it's scattered accross dozens of directories too. and the router. sheesh. every other problem i have had to fix with react started with someone else in the team breaking the routes.
thank you I'll take this into consideration when starting my next project. I agree with you, svelte+typescript has been quite useful for me as well.
ever since these android iphone wars started, I really don't like developing for mobile and social media. The framework wars are annoying; often I just use Astro as its framework independent and if you have to pivot between different ones like svelte or react you can at the drop of a hat and not lose time to rebuilding entirely on another stack.
I've prefer web as there is no gatekeeper, and if there's no market demand, no reason to waste time building things where there is no demand. Keychat helps with mobile for pwa. But if you must, there's tauri or capacitor. otherwise keep it lean and don't waste time.
π« ππ½
https://git.mleku.dev/mleku/prevara
gio ( https://gioui.org/ ) is a library that has tooling to generate binaries for all platforms - X, wayland, windows, macos, android and ios. but it has garbage syntax for garbage widget toolkit
i wrote the code in the above repository originally in 2018-2019 for https://parallelcoin.info/ (this is one of the most hilarious landing pages ever made on the internet, imo)
the gio project has utterly broken the API since that time and i was unable to use my library not even 2 years later.
in about 3 hours i was able to get claude to refactor it to work correctly with the latest version. i have also in the meantime built a working viewport for it, and have a reasonable understanding of how to do animations.
why i'm mentioning this, is because this allowed me to build a native binary GUI that i saw running on iOS, macOS, windows, linux and wayland, and aside from the limitations (disk storage) also on js/wasm. there is a reasonable set of tools now available also for the data storage on js/wasm, just haven't got around to it).
this is even better because the outputs are generally very close to pixel perfect, mostly they are all opengl backends, some use vulkan, but those two are pretty close in terms of how things are rasterized.
The parallelcoin thing is hilarious!!!! Love it. :D