golang - 설치와 GoPath

아래 글은 golang을 공부할 목적으로 웹에서 본 글들을 정리한 것이다. 설치 (일어)Ubuntu에 GO 언어(golang)의 최신 버전을 apt로 설치 (일어)Homebrew로 Go 1.6 설치 (일어)Go 언어 개발환경 셋업 (일어)Go 개발 환경/빌드 환경으로서 Amazon Linux을 셋업하는 절차 (일어)CentOS7에 Go 최신 버전을 설치하기 govirtualenv...
더 읽기

golang - time

아래 글은 golang을 공부할 목적으로 웹에서 본 글들을 정리한 것이다. 시간 및 날짜 표준 API 표준 라이브러리 사용 예 현재 날짜 package main import ( "fmt" "time" ) func main() { now := time.Now() fmt.Println(now) } 현재의 연, 월, 일,...
더 읽기

C++ - C++의 dangling 검출, 제안 문서 버전 1.0 공개

출처 C++의 저명한 개발자, ISO C++ 표준위원회의 위원장 Herb Sutter씨가 dangling(잘못된 영역에 대한 잘못된 참조)의 검출 방법을 제안하는 문서 “Lifetime Safety: Preventing Common Danglng”의 버전 1.0을 공개 했다. C++ 코드에 숨어있는 전형적인 dangling을 컴파일 시에 발견하고 경고하는 방법을 제안하고 있다....
더 읽기

golang - 파일 업로드 하기

출처 Go 언어에서 HTML 페이지에서 파일 업로드 된 경우 서버 측의 임의의 장소에 업로드 된 파일을 저장하는 샘플 코드. sever.go package main import (format "fmt"); import ("net/http"); import "os"; import "html/template"; import "mime/multipart"; func main () { var mux *http.ServeMux;...
더 읽기

golang - serialization benchmarks (2018년 8월)

출처: https://github.com/alecthomas/go_serialization_benchmarks 2018-08-19 Results with Go 1.10 on a 2.5 GHz Intel Core i7 MacBook Pro (Retina, 15-inch, Mid 2015): benchmark iter time/iter bytes/op allocs/op tt.time tt.bytes time/alloc --------- ---- --------- -------- --------- ------- -------- ---------- BenchmarkGotinyMarshal-8 10000000 132 ns/op...
더 읽기

.NET Core - .NET Core 2.1에 의한 Microsoft Bing의 고속화

출처 Microsoft의 검색 엔진 Bing은 .NET Core 2.1로 마이그레이션 후 내부 서버의 대기 시간이 34% 감소했다. Microsoft의 엔지니어인 Mukul Sabharwal 씨에 의하면, 대다수는 .NET 커뮤니티의 기여 덕분이다. 그에 따르면 .NET Core에 대한 많은 개선이 속도에 영향을 주었다. 문자열 일치의 벡터화,...
더 읽기

AWS - 1대의 EC2에서도 ELB을 사용하면 좋은 점

인스턴스 교체가 편리하다 운용을 시작한 후 EC2에 대해서 수정을 해야하는 경우 인스턴스 교체가 쉬워진다. DNS 변경을 할 필요 없이 백엔드 교체가 가능하다. ELB의 헬스 체크로 감시 ELB의 헬스 체크를 이용하여 WEB 서버가 죽었는지 감시를 할 수 있다. CloudWatch 경고를 조합하여...
더 읽기

.NET - WCF

기초 WCF 기초(한글) http://akj61300.blog.me/80182137426 WCF Step by Step http://blog.naver.com/saeparam/90024967440 WAS에서 호스팅하기 http://blog.ruaa.me/23 WCF로 만든 라이브러리를 다른 프로젝트에서 사용하기 http://www.codeproject.com/Articles/154870/WCF-Service-Library-A-Good-Approach-for-WCF-Servic WCF와 동시성 http://ruaa.tistory.com/20 http://ruaa.tistory.com/21 WCF Concurrency (Single, Multiple, and Reentrant) and Throttling - 그림으로 잘 표현 http://www.codeproject.com/Articles/89858/WCF-Concurrency-Single-Multiple-and-Reentrant-and Task-based asynchronous operation in...
더 읽기

C++ - Ubuntu에 clang, libc++-, lldb 설치하기

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - echo deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-6.0 main>> /etc/apt/sources.list echo deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch-6.0 main >> /etc/apt/sources.list sudo apt-get update sudo apt-get install -y clang-6.0 lldb-6.0 lld-6.0 sudo apt-get install -y libc++-dev sudo ln -s /usr/bin/clang++-6.0 /usr/bin/clang++...
더 읽기