Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ace17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
361.
▲
by
Ace17
10y ago
15 years C++ programmer here. First, all your arguments (except for the build time) also apply to C. So I'm gonna make the assumption that today, you wouldn't start a greenfield C project either. Then, what would you use, say, to
362.
▲
by
Ace17
10y ago
Writing software using C++ 03 in 2016 is an anti-pattern. To quote Bjarne Stroustrup himself, "C++11 feels like a different language".
363.
▲
by
Ace17
10y ago
> I feel that the eeriness of the original comes from the minimalism. Yeah, I definitely agree with you here. The minimalism of the original creates a great feeling of isolation, which I clearly didn't re-create in the remix. (BTW I
364.
▲
by
Ace17
10y ago
> I'm yet to find a remix of Kraid's Hideout from Metroid 1 that's anywhere near as good as the original. Trying my luck: https://soundcloud.com/ace17-1/industroid-r3
365.
▲
by
Ace17
10y ago
> if you work in the software industry today, IP protection is part of what keeps you paid What about software people working at Google, Facebook, Amazon, and virtually any other online service?
366.
▲
by
Ace17
10y ago
Masters of Doom, by David Kushner.
367.
▲
by
Ace17
10y ago
That's more a question of entanglement between the runtime and the language, than a question of GC performance. Most of our projects, at work, are in D, and we never wished for a "higher quality GC" (except at the very start,
368.
▲
by
Ace17
10y ago
Indeed! I already use WebGL for the two C++ tiny web games I mention in my post. Using WebGL from D instead of C++ shouldn't bring many new issues.
369.
▲
by
Ace17
10y ago
Actually, I wanted to benefit from the Emscripten execution environment, i.e reimplementation of APIs such as the SDL. I'm not sure there's such a thing for WebAssembly yet.
370.
▲
by
Ace17
10y ago
Same for me, can't get it to work :-(
371.
▲
by
Ace17
10y ago
Sorry, I couldn't help myself :-) http://e-venue.org/wp/ignore-the-real-world/
372.
▲
by
Ace17
10y ago
"The best code has 0 lines. Because in zero lines of code, there is room for exactly zero bugs." Does failing the acceptance tests count as a "bug"?
373.
▲
by
Ace17
10y ago
The scarcity that physical property deals with isn't artificial.
374.
▲
by
Ace17
10y ago
Some "engine" vs "gameplay" abstraction is needed though. It's not about re-use, it's about a strategic separation of concerns allowing you to iterate more quickly over your gameplay. You don't want to dea
375.
▲
by
Ace17
10y ago
Google is an example that writing production code that doesn't use exceptions is possible, not that this is the right thing to do. They said that their decision was primarily legacy-motivated (in short, they were fearing that introduci
376.
▲
by
Ace17
10y ago
" To exploit the vulnerability, an attacker must either gain administrative privileges or physical access to a target device [...] " There's a big difference between a device being jailbreak-able and being vulnerable. "
377.
▲
by
Ace17
10y ago
svchost.exe (i.e "service host"), is a technique for grouping several services into one process. The goal is to avoid spawning one process per service, saving some memory. I believe today the gains are outweighted by the costs of
378.
▲
by
Ace17
10y ago
Rockets do make their own rocket noise, don't they? (if you prefer, we can call this "sound synthesis" instead of "audio rendering"). My point is that this code probably shouldn't be in the same class than, for
379.
▲
by
Ace17
10y ago
(Please note that I was specifically talking about "linked" lists: when we use them, their "linked" part rarely matches something in the real-world) OK, let's go for more examples of well-used classes not representi
380.
▲
by
Ace17
10y ago
> Really? In what world do you live where Rockets render audio? a shooter video game using procedural generation / sound synthesis?
381.
▲
by
Ace17
10y ago
What we call the "real world" already is a model ... and a simplistic one. Lots of classes don't have a "real world" equivalent (linked lists, allocators, renderers, finite-state machines, functors, observers, octre
382.
▲
by
Ace17
10y ago
Very interesting. In the same vein, I once stumbled upon the following optimizer behaviour: ''' int array[8]; // later array[i] ''' The optimizer deduces from the access "array[i]" that &quo
383.
▲
by
Ace17
10y ago
"It's also one of the most conceptually difficult parts" ... except all the others.
384.
▲
by
Ace17
10y ago
You just moved the problem. Suppose you have two "add" functions: one for fractions, one for points: Fraction add(Fraction a, Fraction b) { Fraction result; result.num = a.num * b.denom + b.num * a.denom; result.
385.
▲
by
Ace17
10y ago
Structural equivalence doesn't necessarily means there's some missed abstraction: struct Point { int x, y; } struct Fraction { int num, denom; } Would it be desirable to replace both above definitions by the following "ab
386.
▲
by
Ace17
10y ago
Yes. One should avoid to extract a component from the repo as a submodule too early, i.e when the interface of the component is not mostly stabilized. If each commit in your "main" module is paired with a commit in your submodules
387.
▲
by
Ace17
10y ago
How do you share code between projects/teams then? How do you work on several branches simultaneously, each of them requiring a different version of their dependencies?
388.
▲
by
Ace17
10y ago
FAUST definitely is worth checking out. Its authors are concerned with "long-term preservation of music programs", which is a great idea ; FAUST allows you to do just that. One can write audio dsp code, without cluttering the act
389.
▲
by
Ace17
10y ago
Dude! programming, literature, mathematics and theatre are all "text stuff"!
390.
▲
by
Ace17
10y ago
The simple use of the term "IP" goes against your goal. All these things we call "IP" are mostly unrelated to the notion of "property" itself ; they're related to temporary government-enforced monopolies.
More ›