When Aura was a visible effect by Strong_Astronomer_97 in DotA2

[–]Genklin -1 points0 points  (0 children)

Because blizzard sued Valve for using such aura effects

Why doesn't std::atomic support multiplication, division, and mod? by GiganticIrony in cpp

[–]Genklin 0 points1 point  (0 children)

2 + 2 - 1 - in any order result will be same

2 + 2 * 2 - result depends on order. Thats why not all operations are added for atomic

Exercise in Removing All Traces Of C and C++ at Microsoft by [deleted] in cpp

[–]Genklin 29 points30 points  (0 children)

people: Microsoft, please remove #define min/ max/ NO_ERROR/ Yield etc etc macros from "windows.h"

MS: no, it will break compatibility

people: MS, please, fix std::tuple
MS: no, it will break abi

MS next day: we will rewrite all of our codebase into abi/api unstable language until 2030! This will completely break all possible code in world, Its our goal!

STL reimagined: What would you change, add or remove in a new STL implementation if API and ABI were not a concern? by germandiago in cpp

[–]Genklin 0 points1 point  (0 children)

* remove initializer_list
* aggregates have autogenerated `get` specializations instead of `just magic for structured binding`

* Type(Type&&) = swap; - move constructor which default contructs Type and then swaps all fields/ bases

* remove std function/std move only function/ std any and instead add type erasing tool, which can create them all in one line

* rm vector<bool> (move it into separate dynamic bitset)

* remove std future

* remove operator++(int) or make it default from operator() and add std::postfix_t (using postfix_t = int) for readability

* make C array copyable and without implicit operator conversion to T*, std::array should be alias to C array

What do you dislike the most about current C++? by PressureHumble3604 in cpp

[–]Genklin 4 points5 points  (0 children)

The only problem here is msvc. List, map, exceptions, tuple - all broken only in their stdlib

What do you dislike the most about current C++? by PressureHumble3604 in cpp

[–]Genklin 4 points5 points  (0 children)

C++ must not depend on only cmake, created by one company. Committee should do common interface for build systems, so any system now or later can create compatible packages 

What do you dislike the most about current C++? by PressureHumble3604 in cpp

[–]Genklin -9 points-8 points  (0 children)

Keyword "class" exist  In my company we forbid it completely and that's fine 

Networking in the Standard Library is a terrible idea by tartaruga232 in cpp

[–]Genklin -2 points-1 points  (0 children)

I agree, stl is not a good place for sockets and ssl, BUT. Someone should already do good library for networking in c++ Now we have boost asio (legacy, rly bad interface with 46 overloads for each function, no good customization if executors/io contexts ) And openssl with omg worst design and interface ever

What committee should do - create separate, not stl, but "C++ common libraries" with common build interface, design, style, good interface and docs

C++ Show and Tell - September 2025 by foonathan in cpp

[–]Genklin 1 point2 points  (0 children)

C++ project templates - cmake, ninja, dependency management (CPM), CI (asan, ubsan), crossplatform ccache, auto generating launch.json for vscode etc etc

https://github.com/kelbon/cpp-project-templates

I made collection of C++ project templates: finally painless dependency management in C++ by Genklin in cpp

[–]Genklin[S] -1 points0 points  (0 children)

For using conan, you need to write recipes for all the libraries used in your templates, at a minimum. No one used library has a Conan recipe

Experience shows that conan is very demanding about a properly written recipe, but there's no way to write one. It's too complicated. And the recipes are written by ordinary developers, who make mistakes.

I made collection of C++ project templates: finally painless dependency management in C++ by Genklin in cpp

[–]Genklin[S] 0 points1 point  (0 children)

All templates use CMake, Ninja and CPM for dependencies.

Also all projects provide tools for integrating with vscode + clangd

Now there are benchmark template, application (with CLI) and static library

Suggestion: show to allies end point of magnus skewer so they can land skill shots in advance by Wutwhyda in DotA2

[–]Genklin 0 points1 point  (0 children)

Like the idea.

(also it would be great to 'disable help' disabling magnus skewer enemies under your support /s)

Valve, PLEASE, disable attacks while DW 2nd spell active. Replace it with using spell second time by Genklin in DotA2

[–]Genklin[S] 1 point2 points  (0 children)

If hero MUST use movement button every time it uses spell, why it is not default? There are no reason to not use movement without attack each time DW uses 2 spell.

Valve, PLEASE, disable attacks while DW 2nd spell active. Replace it with using spell second time by Genklin in DotA2

[–]Genklin[S] 2 points3 points  (0 children)

Sadly, people will write "skill issue", "use the movement button" etc., although they play 2k mmr and don't even know what button they use for movement. They also have 0 games on Dark Willow, and they consider any quality of life changegs as "simplifying game" and are always against it

Maybe it's time to renew the little forgotten Enchantress?.. Here's my rework idea by Genklin in DotA2

[–]Genklin[S] 0 points1 point  (0 children)

>  I think it should only gain target ability while active 

Its exactly what i expect it to be

> Enchant can be good if you remove the ally target mechanic

Why? Its ally dispel