Log in

View Full Version : GCC10 is now officially released


feisty2
7th May 2020, 18:52
https://gcc.gnu.org/gcc-10/changes.html
I'm sure the mingw64 build will be available soon, you can now handily play with vsfilterscript (https://forum.doom9.org/showthread.php?t=181027) and explore the scripting side of modern c++ under Microsoft windows.

C++20 is highly expressive as a statically typed language, you can do many things that are normally only possible with dynamically typed languages, take python's hasattr for example (https://godbolt.org/z/QoYTLM)

we should start writing C++ programs as if it is a dynamically typed language, this is far more expressive than c with class or java style oop. there's also a terminology for this practice called "soft typing" or whatever, iirc.

filler56789
9th May 2020, 02:30
The win32-threaded edition is already available at http://msystem.waw.pl/x265/ .
For now I am too lazy :p to build+release my pthreads-w32 edition.

Sadly the posix-threaded edition requires cross-compiling under Linux, but that's what the MSYS2 devils are for :)

feisty2
9th May 2020, 08:52
it's sad no matter how expressive the newer standards have become, people reject the idea of changing their coding mindset.
they declare types everywhere (which significantly hinders the expressiveness because the code is "dead" and has zero generalization capability), they write a bunch of useless base classes and pure virtual functions (interfaces) and can never learn to duck type.
sometimes I wonder if I am the only c++ user that codes "python with pointers".