Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dewie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
391.
▲
by
Dewie
12y ago
> - memory usage - how should we handle deallocation - using reference counting with infrequent GC (Python) or by being very careful (C++), using just GC and allocating freely (OCaml/Haskell, Java & Nim use "realtime"
392.
▲
by
Dewie
12y ago
> I'm thinking fuckall, but it's always good to know. Such genuine curiosity.
393.
▲
by
Dewie
12y ago
> for some values of "king" perhaps - perhaps it's faster to compile, but no arrays of varying ... Well, let's not change the goalpost - your initial assertion was that C has faster compile times. Then chances are tha
394.
▲
by
Dewie
12y ago
What is the LOC for the CPython interpreter? Now, what is the combined LOC for all Python code that uses the CPython interpreter (and those LOC are in a higher-level language). Now compare that to the amount of C code that that would amount
395.
▲
by
Dewie
12y ago
I use i,j for 2dimensional arrays in Java. I learned programming in ... 2010.
396.
▲
by
Dewie
12y ago
How enlightening.
397.
▲
by
Dewie
12y ago
It's local to France, at least.
398.
▲
by
Dewie
12y ago
So you think that if the EU disbanded, there would be more wars (and/or arms-races) in Europe? Between which nations?
399.
▲
by
Dewie
12y ago
I seem to remember that I used Altavista before google.com. I guess I would move on to another search engine. DuckDuckGo might be good enough, I guess, and there's also Bing (I guess DDGo uses Bing?). Most people would use whatever sea
400.
▲
by
Dewie
12y ago
I don't why the committer can't leave a message like: > Formatting change. Use `wdiff` to confirm that changes are just stylistic The reviewer runs `wdiff` and confirms that the commit is just a formatting change. If the langua
401.
▲
by
Dewie
12y ago
> (this is where Go users laugh that Rust attracted a Rubyist instead of a C++ user) That would be the pot calling the kettle black.
402.
▲
by
Dewie
12y ago
> Always have been, really, with a lot of boilerplate. Many uses of first-class functions is for reducing boilerplate to begin with.
403.
▲
by
Dewie
12y ago
We should adjust our code and text to `diff`, rather than adjusting our tools to our code and text?
404.
▲
by
Dewie
12y ago
> I think that's quite one sided. IMO argentpyro explained the incident in a pretty neutral manner.
405.
▲
by
Dewie
12y ago
The ugly side of social coding happened.
406.
▲
by
Dewie
12y ago
What's the significance of it being "built-in"? How is that an advantage over a language with a reasonable package/module system, so that any game-making libraries can be used as easily as the standard library (after dow
407.
▲
by
Dewie
12y ago
> , the C-grade president Bush's no-child-left-behind policy is making the whole country's students a C-level group. The fact that "C" is an insult is a sign of grade inflation, which might be another symptom of the b
408.
▲
by
Dewie
12y ago
My editor is set to wrap around on long lines... but that is again of course another thing that potentially has to be tweaked. That is something that is done when writing normal text (like in this text box here on this website), and is done
409.
▲
by
Dewie
12y ago
Right, having tabs seems better since I can configure my editor to display tabs as 4 spaces, while whoever else can have tabs be displayed as 8 spaces. Having spaces instead, and having to make your tabs output spaces, and perhaps also back
410.
▲
by
Dewie
12y ago
I don't see why there couldn't be a `kernel fmt` tool. In this day and age, we should really be beyond having to worry about things like hmm, what was the brace style in this project again, and should all if/while/for h
411.
▲
by
Dewie
12y ago
> I think what he's saying (which I kinda agree with) is that you have to treat it as actually something that you have to work at, rather than it coming naturally. Who believes that there are any alternatives? Shy people and people
412.
▲
by
Dewie
12y ago
> OPs software might never have been a productive business if he micro optimized some C++ code in pursuit of best possible performance. It's not an either-or. Maybe the best long-term approach would be to write it in a high-level st
413.
▲
by
Dewie
12y ago
> I'm not trying to be a jerk, but how many friends you do or don't have is entirely up to you. Right, because someone with no friends probably have never thought or believed that it is their own fault for being shy/uninte
414.
▲
by
Dewie
12y ago
What Herb Sutter calls premature pessimization .
415.
▲
by
Dewie
12y ago
> Curious, I've been hearing a lot lately about functional languages and immutability and wasn't quite sure how it worked. I agree with it in premise but it seems like all these immutable data structures introduce massive overh
416.
▲
by
Dewie
12y ago
> The truth is sometimes bitter. And HN is often bitter. And cynical.
417.
▲
by
Dewie
12y ago
How to wake up early; condition yourself to get up when the alarm goes off. Don't try and use discipline , willpower or self-talk. Don't think - just do it. This means that you have to condition yourself to do this before actua
418.
▲
by
Dewie
12y ago
> , but that's often tied to educational systems, colonial legacies, and large populations of people living nearby who speak other languages. "but", what? Of course there are reasons for them being multi-lingual; it's
419.
▲
by
Dewie
12y ago
Rust seems like a pretty consistent fad - it has come up in the last year pretty regularly, with the usual talking points (memory safety, systems languages, too immature for production, "when will 1.0 be released?"). Though I&#x
420.
▲
by
Dewie
12y ago
> Well, to be honest, Oh give it a rest! You were replying and agreeing with someone who said that Switzerland, with four official languages (none of which are English) is a special case. Clearly the discussion in this sub-thread was abo
More ›