Fotkurz / http-client

Project of lightweight, optimized http client for low-end pc builds.
0 stars 0 forks source link

Decide on language #1

Closed Fotkurz closed 1 year ago

Fotkurz commented 1 year ago

The language matter a lot.

Some requires a lot more computer resources than others, mostly, interpreted languages, usually do consumes more resources than low level ones, but decreasing the level of the language will thin the range of people contribuiting to the project (which is planned to be open source and available under some open license).

Some languages considered:

Fotkurz commented 1 year ago

Thinking on implementing using Rust with Tauri, Yew and wasm.

This is because the application will probably use the webview capabitilies for better compatibility and being able to use wasm with Rust means it will be compatible to browsers wasm implementations while maintaining the code base in one single language.

Multi language stacks using NextJS or even react seems easier but carry a lot of unnecessary stuff.

For peformance, low-level languages are usually the fastest, although many javascript frameworks today are really fast, they are only fast enough because of rust/c++ packages that they can use underneat.

Rust have a plus since it's my favorite language and right now, it is the one I really want to code and study.

Fotkurz commented 1 year ago

Using Rust enables us to choose some framework like Tauri.

Tauri is like Javascript Electron but using rust as backend and a lightweight webview generated by Tao and Wri.

This makes Tauri apps smaller and lighter than Electron ones.

Fotkurz commented 1 year ago

I will go with Rust.

Fotkurz commented 1 year ago

Decided on using Sycamore.

The project is really new but have some reactive feature which could make development faster.

Also, the project was recommended by Tauri community since keeping the bundle size small, didn't really affected the performance.

It also deals with WASM.