Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ace17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
451.
▲
by
Ace17
11y ago
They're called "computers" for a reason.
452.
▲
by
Ace17
11y ago
Thanks for your answer. Call me old-fashioned, but I actually think the separate compilation model is a good thing: it makes it possible to delegate the build process to a mostly language agnostic tool, and to mix languages easily (C, C++,
453.
▲
by
Ace17
11y ago
No need to be rude! Let's get this straight: I'm not advocating for the preprocessor here. I will happily put it in the trashbin where it belongs as soon as I have support for modules in C++ (By the way, 90% of the code I write is
454.
▲
by
Ace17
11y ago
"The split between source and headers, which makes project management quite slow. If you make all header libraries you’ll have a lot of copied code – the binaries will be larger. You’ll have to recompile that code every time you want t
455.
▲
by
Ace17
11y ago
Ableton Live
456.
▲
by
Ace17
11y ago
Yes. What else?
457.
▲
by
Ace17
11y ago
There's no such thing as downloading a random installer from a random website, and then running it with administrative priviledges!
458.
▲
by
Ace17
11y ago
> I don't agree on the general usage of "using namespace std", so that part does not bother me. It should: we're comparing to Rust, whose namespace system seems very similar to a "using namespace std".
459.
▲
by
Ace17
11y ago
If you want to compare the verbosity of both languages, why not use 'using namespace std' ? Why write: > std::vector<unsigned> counts; counts.resize(sevens.size()); When you can write: > auto counts = vector<unsigne
460.
▲
by
Ace17
11y ago
> He might be my boss, but he's not telling me how to do my job 100% agree. If more developpers shared this attitude, world would be a better place!
461.
▲
by
Ace17
11y ago
The success/failure of a project hinges on lots of things. Amongst them, code quality, which heavily dictates your reactivity. Having a technically-blind management isn't going to work, especially if it leads to policies like &quo
462.
▲
by
Ace17
11y ago
Experience has taught me that C++ compilers generally don't agree on the code they will accept: incomplete implementation of the standard (Visual C++ 2010 partial C++11 support), different non-standard header files (string.h vs memory.
463.
▲
by
Ace17
11y ago
Not if you intent your code to be portable.
464.
▲
by
Ace17
11y ago
To me, garbage collection is a hack, trying to workaround the fact that we don't know how to deal with ownership. This is something Rust and C++ get right (unique_ptr, the whole Rust ownership system), and I would definitely prefer D b
465.
▲
by
Ace17
11y ago
I use D for almost everything I do. A lot of the cool stuff being integrated in modern C++ has been present in D for ages ('enum class', 'string_view', 'constexpr', 'auto', ...) ... D has a real modul
466.
▲
by
Ace17
11y ago
Why not another BPG-like based on VP9, then?
467.
▲
by
Ace17
11y ago
Fun fact: the problems are a lot more hard to understand if you're browsing with Javascript disabled.
468.
▲
by
Ace17
11y ago
Actually, as a decoder implementer, I found that having the C source code of a reference decoder (libvpx), whose behaviour is authoritative over any text document, actually made things a lot more easy. Because now, whenever you ask yourself
469.
▲
by
Ace17
11y ago
There's a public RFC, but it's by no means usable as a bitstream spec. There's an official text document describing the bitstream format (several hundreds pages), but it's under NDA. We use it at work, and getting an upd
470.
▲
by
Ace17
11y ago
Shouldn't the title rather be "How the patent system threatens 3D printing" ?
471.
▲
by
Ace17
11y ago
Great game, thank you!
472.
▲
by
Ace17
11y ago
Simplicity of a programming language, and simplicity of programs written in it are two very different beasts. I understand funny things happening under the hood (garbage collection) might not look attractive ; However you can't require
473.
▲
by
Ace17
11y ago
Of course not. In my understanding, the article was about static type checking, though.
474.
▲
by
Ace17
11y ago
I don't get it. Is it just about rediscovering std::array?
475.
▲
by
Ace17
11y ago
What's the point of a multiplayer notepad when we have editor-independent version control?
476.
▲
by
Ace17
11y ago
A lot of things from Modern C++ Design now are part of the C++ standard library.
477.
▲
by
Ace17
11y ago
So I have this big chunk of legacy C++ code, I don't want to rewrite it, because it's a huge horrible mess and I don't have the source code of all its dependencies anyway. So I'm gonna compile it to native code and run i
478.
▲
by
Ace17
11y ago
You might be surprised when you try it. Emscripten probably is the most reliable route, and also the most secure (Javascript VM sandboxing, which you don't have with native CGIs). If your C++ code doesn't directly use system APIs
479.
▲
by
Ace17
11y ago
We seem to put a lot of energy trying to make software calculators having the same limitations of hardware calculators. Why?
480.
▲
by
Ace17
11y ago
> How is iostream any better than *printf? printing user-defined types?
More ›