Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vitaut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
Deploying C++ documentation
(blog.sigurdhsson.org)
2 points
by
vitaut
11y ago
|
0 comments
182.
▲
by
vitaut
11y ago
Since so many people obviously need this functionality, I've created a reusable Python version here: https://github.com/vitaut/neverhappen
183.
▲
by
vitaut
11y ago
Skype reliability has deteriorated considerably over the years. We have switched over to Google Hangouts which is more reliable and has better video quality.
184.
▲
by
vitaut
11y ago
Thanks for the suggestions. There has been some work to make formatting more customizable ( https://github.com/cppformat/cppformat/issues/235 ). This will enable extensions like the ones you suggest while keepi
185.
▲
by
vitaut
11y ago
It's a bit sad that the formatting API hasn't improved in C over the years. Take this code, for example: printf("Local number: %" PRIdPTR "\n\n", someIntPtr); which is quite unreadable to say the least.
186.
▲
Starting a tech startup with C++
(medium.com)
5 points
by
vitaut
11y ago
|
0 comments
187.
▲
Raymarching a procedural distance field (a mathematical snail) in WebGL
(shadertoy.com)
4 points
by
vitaut
11y ago
|
0 comments
188.
▲
Version 2.0 of C++ Format, a safe formatting library for C++, has been released
(github.com)
1 points
by
vitaut
11y ago
|
0 comments
189.
▲
by
vitaut
11y ago
Pretty sure that it's not intentional by the look of the waves that go through the side of the boat.
190.
▲
by
vitaut
11y ago
Looks very nice apart from some minor details like water going through the boat. And runs very smoothly on my old Linux laptop with a built-in graphics card.
191.
▲
Bjarne Stroustrup on the 30th anniversary of Cfront, the first C++ compiler
(cpp-lang.io)
23 points
by
vitaut
11y ago
|
0 comments
192.
▲
Android Studio with Android NDK Preview Support Available
(tools.android.com)
2 points
by
vitaut
11y ago
|
0 comments
193.
▲
Visual C++ compiler consideres noexcept specs different if containing newline
(connect.microsoft.com)
2 points
by
vitaut
11y ago
|
1 comments
194.
▲
by
vitaut
11y ago
It would be great if it was specified whether each library works offline for comparison. For example, Google Charts don't work offline.
195.
▲
by
vitaut
11y ago
> The C pitfalls you listed are easily avoided using C++ builtins like std::shared_ptr, templates, the STL, and the rest of the C++ standard library. That was exactly my point. > And I'd have to strongly disagree. OK, let's
196.
▲
by
vitaut
11y ago
> Well, if I use libraries to avoid C's pitfalls, that language will be safe, too. I'm not talking about possibilities, but about libraries that are actually available and widely used. > You might as well say the key to usin
197.
▲
by
vitaut
11y ago
I don't always write dangerous code, but when I do I fully realize it =). And it has nothing to do with any of the features that you listed. In fact "threading" in C++ is safer because of the availability of high-quality libr
198.
▲
by
vitaut
11y ago
I wouldn't call it a pitfall. Boost is written by C++ experts who like to push the boundaries of what can be done with the language. This doesn't mean that you have to debug their code or overuse templates yourself and there is no
199.
▲
by
vitaut
11y ago
With great power comes great responsibility.
200.
▲
by
vitaut
11y ago
These are trivial issues compared to major safety and usability flaws inherited from C that I mentioned. BTW the C grammar is not context-free either. The compilation speed is mostly due to header system which is again a C heritage, not bec
201.
▲
by
vitaut
11y ago
Could you give an example?
202.
▲
by
vitaut
11y ago
From my experience, if you need to write many exception handlers then you have a problem in your design as you are using exceptions where you should have used explicit control flow. There is nothing fundamentally wrong with the exceptions a
203.
▲
by
vitaut
11y ago
Actually avoiding C++ pitfalls is not that difficult as most of them come from C: manual memory management, macros, varargs, unsafe casts. In fact C++ provides safe alternatives to many of the unsafe C constructs, so if you stick to them yo
204.
▲
by
vitaut
11y ago
Since the readme doesn't give much details, I recommend looking at the example: https://github.com/minrk/clingkernel/blob/master/cling.ipynb
205.
▲
Qt 5.5 Beta Released
(blog.qt.io)
3 points
by
vitaut
11y ago
|
0 comments
206.
▲
by
vitaut
11y ago
I think you are nitpicking here. There is a figure of speech called "hyperbole" which "the use of exaggeration as a rhetorical device" ( http://en.wikipedia.org/wiki/Hyperbole ). BTW I don't unde
207.
▲
by
vitaut
11y ago
Calling C, C++ and Java "the most different programming languages in the world" is, of course, an exaggeration, but it's hard to disagree that the way you write idiomatic code in the three language is completely different.
208.
▲
The Pragmatic C++ Programmer
(blog.biicode.com)
11 points
by
vitaut
11y ago
|
10 comments
209.
▲
C++ Today: The Beast Is Back
(jetbrains.com)
8 points
by
vitaut
11y ago
|
0 comments
210.
▲
Quasardb: 5 awesome C++ libraries we use
(blog.quasardb.net)
1 points
by
vitaut
11y ago
|
0 comments
More ›