Okay, Twitter. C++ isn't really doing us any favors as architecture developers. Does any language with *all* of the following: (1/?)
-
Näytä tämä ketju
-
1. Reflection (prefer from static type or opt-in) 2. Encapsulation 3. True Arrays 4. Allocation independent from construction (2/?)
2 vastausta 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju -
5. Closures, co-routines, continuations, call/cc, or other ways to easily do async programming 6. Hot rebinding / dynamic linking (3/?)
2 vastausta 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju -
I will become the biggest advocate of such a language. Unless it's perl. ;-) (4/4)
4 vastausta 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju -
C++'s score: 1. None, 2. Very Good, 3. Very Good, 4. Fair (crappy syntax), 5. Poor (closures only, crappy syntax), 6. Fair (bad abi)
2 vastausta 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju -
Vastauksena käyttäjälle @kurtismcc
Co_await and co_yield are available in the latest of both VS and GCC (as experimental features).
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjille @tloch14 ja @kurtismcc
And c++20 proposal is shaping up to have several other features you may care about as well.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @tloch14
I started reading about co_await and co_yield last night. Super cool.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @kurtismcc
I'm not sold in it yet. They're mostly syntax sugar for stuff we can already do. And boilerplate required to make it work.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä
And I have concerns about how difficult it becomes to control capture. I'm comfortable using continuation lambdas for Async tasks.
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.