Udemy C++ 강좌 무료화

https://www.udemy.com/cpp_development_with_qt_and_boost_library 처음부터 무슨 큰 돈을 벌려고 시작한 것은 아니었고, 3년전 블로터 이지현 기자님께서 권해주셔서 한번 도전삼아 제작했었고 아직 유료로 유지되고 있던 강좌가 있었죠. 돈을 지금껏 제대로 번것도 아니고, 여전히 한달에 한두분 들어주시긴 하지만 그래도 더 많은 분들이 봐주시는게 더 의미있을것 같아 무료로 전환합니다. 계속 무료로 유지할 생각입니다. 추가로 이곳에만 덧붙이자면, experienced software engineer 분들께서는 강좌 … Continue reading Udemy C++ 강좌 무료화

Deferred caller(or delegator.. whatever you name it) implementation with variadic template

Deferred caller, delegator implementation with variadic template Recently I started playing with a small toy project – tiny web server with C++. The first requirement I wanted to implement was the 'static type routing handler' as shown from the crow project. Which means, users should be able to register its routing handlers as the following … Continue reading Deferred caller(or delegator.. whatever you name it) implementation with variadic template

Sieve of Eratosthenes in C++

Updated June 8th, 2017. This post was introduced to the Reddit /r/cpp soon after I posted and immediately got a feedback saying "both semantically wrong as well as poorly optimized" which is quite true. 🙂  So I'd like to recommend visiting the Reddit link and consider the comments before preceding or even better, refer to the … Continue reading Sieve of Eratosthenes in C++

Beginning the coroutine with Visual Studio 2015 Update 3 Part 2

As we discussed through Part I, co_wait keyword requires sort of "resumable thing". So what if we want to use co_await with time delta? For example, you can see the code which the co_await takes std::chrono::duration in order to suspend for the specified time from here: https://github.com/Microsoft/cppwinrt/blob/master/10.0.14393.0/Samples/JustCoroutines/Main.cpp#L31 The answer is the fact that vc++ compiler … Continue reading Beginning the coroutine with Visual Studio 2015 Update 3 Part 2

Building WinRT component with WRL(non C++/CX) and cppwinrt

The cppwinrt project focused to consume Microsoft provided OS winrt components and it doesn't support building a winrt component(yet) although they mentioned it will be supported later. Even though it's not technically supported yet, we still can create a winrt component with WRL(pure C++ and non C++/CX) and still can get some benefits from using … Continue reading Building WinRT component with WRL(non C++/CX) and cppwinrt

Beginning the coroutine with Visual Studio 2015 Update 3 Part 1

I recently started using the cppwinrt library which brought chances dealing with the new C++ standard(yet) coroutine. The cppwinrt recommends using C++ coroutines instead of PPL while handling async operations. Refer to the following github issues for more information: https://github.com/Microsoft/cppwinrt/issues/54 https://github.com/Microsoft/cppwinrt/issues/46 Although the coroutine concept itself might feel coming familiar because we're already exposed async … Continue reading Beginning the coroutine with Visual Studio 2015 Update 3 Part 1