[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: file.png (100 KB, 682x919)
100 KB
100 KB PNG
Started fucking around and accidentally starting making a cross platform build tool for deploying web based applications to Android, Windows, and Linux. No apple products cuz I'm poor and can't test it.

Basically it just uses whatever native webview is on the platform and syncs with your web project.

Working on basic plugins for native APIs such as keystore, camera, file system, biometrics, etc. whatever
this means there is a javasript bridge that talks to the native API

Did I mention that it's all in C and only depends on c compiler, +( gradle and CMake for android builds) ?

What are the technological implications of building cross platform with C, HTML, and JavaScript with sprinkles of native code for mobile platforms?

https://github.com/Named666/crossweb
>>
congrats anon on making apache cordova
>>
>>107690268
isn't that just expojs or whatever its name is. idk a lot about web stuff.
>>
vibecoded with Claude Opus 4.5 in 3 minutes
>>
>smaller binaries than overbloated frameworks like capacitor or electron or react native whatever
>Native plugins allow low-level control over hardware
>compute-intensive tasks efficiently handled in C
>Compiles everywhere with minimal changes
>platform-specific binaries from a single codebase
>pure C/web
No large runtimes like node.js
>self-contained and bootstraps easily
>better than Apache Cordova because no node.js runtime
>ships to ALL native platforms + the web, unlike expo, capacitor, cordova, etc. (only Tauri 2.0 does this but its written in rust)
>consume less battery/storage
>>
>>107690318

React native basically is typescript and their weird markup templating language (jsx i think) for rendering components that are backed by native implementation on android/ios/windows/etc. it’s just “use the same elm style ui in the web and someone will do the hard work of doing ffi with native ui” sort of thing.

this is just using the browser, so it’ll eat memory and battery life like crazy (not like react also does not because it uses a JS engine that has garbage collection so you get janky UI)
>>
>>107690335

Webview eat battery like crazy dude
And you're still using the embedded JS runtime that is the cancer.
>>
I basically just wanted a non-slop framework for shipping to every platform while using vanilla javascript and html / css

Tauri was so close, but it's written in rust.
>>
>>107690351
node is the cancer
no node, no cancer

browsers tend to eat up data like crazy because websites are made crazy and google/apple are crazy

webview just renders html / javascript



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.