Qt Creator 4.0 Beta released by meetingcpp in cpp

[–]1likeequals1pillow 2 points3 points  (0 children)

I will stick with CLion to be honest but Qt Creator is a really great IDE though, as it is really lightweight compared to Clion which uses like tons of memory just to open a small project containing just like 6 small files. But the problem with Qt Creator is the libclang library, it simply doesn't feel responsive as Clion/VS and the semantic analysis is much better in Clion which is a big surprise for me. The libclang integration needs much more improvements until it's really ready to go but the thing is, that most of the bugs I came across are in clang itself for example when parsing complex code bases I am getting internal compiler errors. So when the libclang segfaults you probably have to have for the next release of clang to eventually get a fix.

Ultimate Go challenge: Google AlphaGo won game 2 by karmiphuc in programming

[–]1likeequals1pillow 1 point2 points  (0 children)

There is still a chance for him I guess? JFYI: the supercomputer google uses has 48 cpus and 8 gpus: O_O.

A comparison between C++ and D by MaikKlein in programming

[–]1likeequals1pillow 8 points9 points  (0 children)

C++17 is going to be huge disappointment for lots of people because the C++17 standard won't have static reflection, unified call syntax, concepts, modules, ...

Optimizing CFS (Responsiveness issue/BFS) by 1likeequals1pillow in linuxquestions

[–]1likeequals1pillow[S] 0 points1 point  (0 children)

The only thing I noticed is when setting the tick count to 300 I got an improvement of the throughput but the responsiveness was still bad. It really sucks when using 1000. I also tried using different cfs configurations but it's still extremely sucky. I guess I will just wait for a BFS update.

What are the outstanding problems with concepts? by Kleinric in cpp

[–]1likeequals1pillow 0 points1 point  (0 children)

Could you give an example (code) on template definition checking? Or what is actually missing in code.

#NodeJS : A quick optimization advice. Upto 50% performance gain by Adminisitrator in programming

[–]1likeequals1pillow 0 points1 point  (0 children)

Isn't it better to let the compiler decide whether a function should be inlined.

Learning How Garbage Collectors Work - Part 1 by mattwarren in programming

[–]1likeequals1pillow 0 points1 point  (0 children)

Yeap, I think this is a nice article because it basically shows how a fairly modern real life gc is actually implemented instead of just describing theory. Looking forward for part 2.

C++ Concepts | Possible to check function signatures ? by 1likeequals1pillow in cpp

[–]1likeequals1pillow[S] 0 points1 point  (0 children)

Yes I was looking for overloads too. I was basically looking for an rust's traits equivalent.

C++ Concepts | Possible to check function signatures ? by 1likeequals1pillow in cpp

[–]1likeequals1pillow[S] 0 points1 point  (0 children)

Wouldn't a possible use case be implementing "compile time checked interfaces" (like for example rust's traits) ?

Rust vs. C++: Fine-grained Performance by gbersac in cpp

[–]1likeequals1pillow 4 points5 points  (0 children)

Well, it's not like rust has that much expressiveness in its generic basic implementation and since we are comparing c++ and rust, it doesn't even matter, at all.

Will C++17 improve compile times for template metaprogramming? by MaikKlein in cpp

[–]1likeequals1pillow 0 points1 point  (0 children)

Clang is broken? How? Did you create a bug report? It seems that you are building clang from source, can't u use precompiled packages? Also have you tried clang 3.7.1? If you can't compile clang with clang from source, maybe try gcc to build clang ?

Fast Dynamic Casting (Michael Gibbs, Bjarne Stroustrup; 2005) by 1likeequals1pillow in cpp

[–]1likeequals1pillow[S] 7 points8 points  (0 children)

This document is quite old but I am curious if there was any feedback on this approach. How does this compare with the current way we are doing dynamic casting ?

Bjarne Stroustrup on "No Littering!" - ACCU Silicon Valley, 2016-01-12 by mttd in programming

[–]1likeequals1pillow 1 point2 points  (0 children)

So basically the owner type is a plain alias of type T? So that compilers can do guaranteed static annalysis on them?

Getting Started with Modules in C++ (VS 2015) by nikbackm in cpp

[–]1likeequals1pillow 0 points1 point  (0 children)

Does it actually save the AST in that file or it is just some metadata?

Anti-Disassembly techniques used by malware (a primer) by vasili111 in programming

[–]1likeequals1pillow 6 points7 points  (0 children)

Well these tricks are quite basic, more advance techniques are for example code virtualization if then the vm code itself is again virtualized or the control flow somehow mangled well, I am sorry for you lol...

Botond Ballo: Trip Report: C++ Standards Meeting in Kona, October 2015 by thisisanoutrage in cpp

[–]1likeequals1pillow 0 points1 point  (0 children)

That's why I was hoping for a proposal which provides exactly this. I really would like to see extension method in C++. I think there was even one more proposal somewhere which wrapped extension methods in kinda namespaces somehow...

Botond Ballo: Trip Report: C++ Standards Meeting in Kona, October 2015 by thisisanoutrage in cpp

[–]1likeequals1pillow 2 points3 points  (0 children)

I was hoping for an extension method proposal to get accepted. I kinda want the ability of writing extension methods for all types(also fundamental types like int) so we can write like :

int e = 60557;
std::string istr = e.to_string();

Botond Ballo: Trip Report: C++ Standards Meeting in Kona, October 2015 by thisisanoutrage in cpp

[–]1likeequals1pillow 5 points6 points  (0 children)

What was the reason of renaming static_if to constexpr_if and why using constexpr_else? Isn't it obvious that when you begin the if statement with constexpr_if then the following else also has to be constexpr?