728x90
반응형

Electron
https://www.electronjs.org

 

Electron | Build cross-platform desktop apps with JavaScript, HTML, and CSS.

Build cross-platform desktop apps with JavaScript, HTML, and CSS.

www.electronjs.org

특징 : Chrominum 을 기반으로 여러 Frontend Framework 를 조합해서 개발

Tauri
https://tauri.app/

 

Build smaller, faster, and more secure desktop applications with a web frontend | Tauri Apps

Tauri is a framework for building tiny, blazing fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their user interface.

tauri.app

특징 : Rust 언어로 만들어진 Form 에 여러 Frontend Framework 를 조합해서 개발

WAILS
https://wails.io

 

The Wails Project | Wails

Build beautiful cross-platform applications using Go

wails.io

특징 : Go 기반에 여러 Frontend Framework 를 조합해서 개발

===================================

대표적인 Cross Plaform Application 개발 기술들이다.

Electron이 가장 오래되었고 각종 유명한 프로그램들이 Electron을 기반으로 만들어졌다.

가장 대표적인건 VS Code 이다. 

하지만 Chrominum 자체 배포에 용량이 크다는 문제점이 제기되는데 대안으로 Rust 언어로 만들어진 Tauri가 차츰 조명을 받으며 부상하고 있다. 

그리고 Tauri와 WAILS 의 비교를 보면 Tauri가 현재 좀더 핫하긴한데 특이한건 Wails의 성장속도가 꽤 가파르다는 사실이다. 아무래도 Rust 언어의 학습곡선보다 훨씬 낮은 Go 언어의 장점이 개발자들에거 더 어필하고 있는것 같다. Wails의 특장점은 아직 자세하게 파악되지 않았다. 그래서 다음 링크를 대체하려고 한다.

https://www.libhunt.com/compare-tauri-vs-wails

 

tauri vs Wails - compare differences and reviews? | LibHunt

First of all, I do like sciter, it's fresh air in wails,webview,electron & tauri.There are several cases why I prefer an electron: BrowserView, FileSystem api, newer css feature(Interop 2022 are greate), and all the newer js feature I use but I don't know

www.libhunt.com

 

728x90
728x90
반응형
수많은 개발언어들이 있다.

 

그 수많은 프로그램 언어 중 어떤 언어를 배워야 좀더 가치 있을까는 프로그래머들이 항상 고민되는 부분이다.

왜냐하면 하나의 언어를 습득한다는게 수박 겉핥기식 Hello World 출력이라면 크게 부담되는 수준은 아니지만

이력서에 끄적일 정도의 기술력을 가지기 위해서는 꽤 많은 노력과 시간이 필요하기 때문이다.

 

오랫동안 HTML CSS Javascript Java C# Python 을 다루었는데 요즘의 트랜디한 언어를 배워야겠다고 생각되기도 하고 현재 개발하는 부분에 필요할것 같은 언어 대상을 물색해보고 있었다.

 

******************************************************

언어라는게 각각의 컨셉에 따른 특징과 장점 단점들을 가지고 있기는 하지만 언어라는 자체의 큰 틀을 완전히 벗어날 수 없다. 그 큰 틀을 이해하면 언어 습득은 크게 문제가 되지 않는다. 남은건 얼마만큼 시간을 투자해 익숙해지느냐와 제공되어 있는 API의 이해도, Github에 수많은 사람들이 등록해놓은 기술/코딩 스킬들을 얼마만큼 빠르게 흡수할 수 있느냐에 달려있다고 봐도 무방하다.

******************************************************

 

그 부분중 Golang에 대해 시작해보겠다. 이미 Rust는 학습을 하고 있었는데 Rust보다 좀더 생산효율적이면서 퍼포먼스도 어느정도 보장되는 언어를 물색해보다 보니 Golang이 자연스레 눈에 들어오게 되었다. 그리고 지금 만들고 있는 거래소 정보 수집 분석 프로그램을 위해서 이기도하다.

 

Golang 의 장점은 이미 인터넷에 검색하면 손쉽게 확인이 가능하다.

간략히 링크 몇가지 올려보면 그 링크에서 정보들을 습득하길 바란다.

만들어진 바퀴를 다시 만들기는 시간이 없고. 나보다 훨씬 정성들여서 잘 작성된 자료들이므로 내가 다시 정성들여서 만들필요가 있을까 싶다.

 

## Golang 다운로드

https://go.dev/

 

The Go Programming Language

DevOps & Site Reliability With fast build times, lean syntax, an automatic formatter and doc generator, Go is built to support both DevOps and SRE.

go.dev

https://go.dev/doc/

 

Documentation - The Go Programming Language

Documentation The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and netwo

go.dev

https://github.com/golang/go/wiki/NonEnglish

 

GitHub - golang/go: The Go programming language

The Go programming language. Contribute to golang/go development by creating an account on GitHub.

github.com

https://go-tour-ko.appspot.com/list

 

Go를 향한 여행

 

go-tour-ko.appspot.com

https://mingrammer.com/gobyexample/

 

Go by Example

 

mingrammer.com

예전에는 한글 문서가 정상적으로 조회가 되었는데 글을 작성하는 시점에는 링크가 작동을 하지 않는것 같다.

무슨 문제인지 모르겠지만 잘 해결되었으면 좋겠다.

 

위의 링크만 꼼꼼히 체크해도 학습하기 충분한 정보를 가지고 있으니 꼼꼼히 링크를 체크해 보길 바란다.

 

유투브

https://youtu.be/KBdz5c-0t1w

==================================================================

설치방법을 좀 단순화 시켜보면

1. 개발환경을 고려한다.

- Windows

- Windows (WSL2)

- Linux

- Docker

- Mac

2. 개발환경 프로그램 설치

[Windows]

Golang

https://go.dev/dl/

 

Downloads - The Go Programming Language

Downloads After downloading a binary release suitable for your system, please follow the installation instructions. If you are building from source, follow the source installation instructions. See the release history for more information about Go releases

go.dev

 

Visual Studio Code

https://code.visualstudio.com/

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

 

[Windows 이외]

현재는 Windows에서 직접 실행하는 구조로 작업을 하기때문에 Windows 설치 이외의 내용은 추후 작성해보도록 한다.

3. 개발환경 설정 및 체크

Path 설정 확인

C:\go 이외의 디렉터리를 선택한 경우 해당 디렉터리를 GOROOT 환경 변수에 설정해야 한다.

Go root 의 bin 디렉터리(ex: C:\Go\bin)를 PATH 환경 변수에 추가한다.

Go 관련 package들이 저장되는 공간이므로 특별한일 없으면 수정하지 않아도 된다.

Windows 환경 변수 설정 

시스템 > 고급 > 환경변수

설치 상태 확인하기

 

728x90

+ Recent posts