Skip to content

Instantly share code, notes, and snippets.

View radxene's full-sized avatar

Radu Ene radxene

  • Moldova, Chisinau
View GitHub Profile
@anatoly-spb
anatoly-spb / pretty_thread_logger.h
Last active April 26, 2023 06:58
Pretty Thread Logger
/*
* Pretty thread logger
*
* Copyright (C) 2020 Anatoly Shirokov.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@graninas
graninas / cpp_stm_free_tutorial.md
Last active May 25, 2024 15:56
Software Transactional Memory in C++: Pure Functional Approach (tutorial)

Software Transactional Memory in C++: pure functional approach (Tutorial)

In this article I’ll tell you about my pure functional library for Software Transactional Memory (STM) that I’ve built in C++. I adopted some advanced functional programming concepts that make it composable and convenient to use. Its implementation is rather small and robust, which differentiates the library from competitors. Let’s discuss what STM is and how to use it.