Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
copx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
331.
▲
by
copx
13y ago
I doubt that is a sign of D finally gathering momentum, though. Just a few D users discovering hacker news. D is a failed language design (among countless others) if you ask me. I remember originally it was meant to be a "cleaned up, modern
332.
▲
by
copx
13y ago
I would say benchmarking the compiler at this point is a little premature. As far as I know they have not even finalized the language yet.
333.
▲
Functional Programming with D
(beza1e1.tuxen.de)
4 points
by
copx
13y ago
|
0 comments
334.
▲
by
copx
14y ago
PyPy simply isn't at the same level as V8 and LuaJIT yet. V8 is a professional, full-time project employing some of the best programmers money can buy. And LuaJIT.. well LuaJIT is written by a fucking genius 10x programmer. Let me quote him
335.
▲
Performance of Rust and Dart in Sudoku Solving
(attractivechaos.wordpress.com)
106 points
by
copx
14y ago
|
70 comments
336.
▲
by
copx
14y ago
"Outdated" is not the right term I would say. Assuming you are referring to US law here, the current, extremely long copyright is the result of relatively recent corporate lobbying efforts. Copyright was extended further and further at the
337.
▲
by
copx
14y ago
Well there has to be a replacement for The Linux Game Tome ( http://www.happypenguin.org/ ) but this one just feels soulless and generic. The Linux Game Tome was never very good from a technical point of view but it had style.
338.
▲
by
copx
14y ago
Why does this always happen at Python or Ruby conferences? I have never heard of such ridiculous drama at C++ conferences for example. There seems to be a curious link between programming languages and culture. I mean people interested in P
339.
▲
by
copx
14y ago
>for example indexing starting at 1 is definitely an oddity. Only to programmers raised in a C-based world. Normal people, mathematicians, and Lua start counting at 1. I remember when I was new to programming I was horribly annoyed by t
340.
▲
by
copx
14y ago
They will certainly find people. However these people won't die of old age. Radiation alone will make sure of that. Whether this project has any point at all is a question of rational thinking vs. mass psychology. Scientists will tell you t
341.
▲
by
copx
14y ago
>Not using "restrict" properly can lead to extremely hard-to-diagnose errors But "restrict" is a low-level micro-optimization, those tend to be tricky. I don't think a sane C programmer would sprinkle that keyword all across the source
342.
▲
by
copx
14y ago
It is telling that these "dark corners" all seem harmless compared to what you can find in certain other languages which shall not be named.
343.
▲
by
copx
14y ago
I like Ruby but keywords arguments are the solution to a problem which shouldn't exist in the first place. Namely functions like.. myFunction(something, 23,23,100, somethingElse, true) People should write smaller, more specialized functions
344.
▲
by
copx
14y ago
>Do you have any resources / books for writing modern C like this No, sorry. >is it all experiential from the trenches? It's mostly about applying general principles of software construction like separation of concerns, encapsulatio
345.
▲
by
copx
14y ago
Final Windows binaries will soon be available here: http://sourceforge.net/projects/mingwbuilds/files/windows-ho... (Prerelease binaries already available) I post this link because it took me a long time to find quality Windows builds of
346.
▲
by
copx
14y ago
>Your C code looks very unidiomatic to me, but I guess that is relatively a matter of taste (still I don't understand why would somebody use C if they don't like to write code in the 'classic' C style as seen in the original Unix and Pl
347.
▲
by
copx
14y ago
>You can predict the time that malloc(3) and free(3) take to run? The correct answer would be: depends on the concrete implementation. There are implementations with real-time guarantees. However, assuming standard desktop OS malloc()/f
348.
▲
by
copx
14y ago
I like Go but it's not a replacement or even just competition for C. Garbage collection alone ensures that. C is for low-level code, where you usually want deterministic, real-time behavior. Go cannot deliver that because of its GC. You can
349.
▲
by
copx
14y ago
German here, I don't get why non-Germans are so excited about the success of the Pirate Party in Germany. It does not mean that Germans care strongly about copyright and patent reform, quite the opposite is the case. According to polls >
350.
▲
by
copx
14y ago
..and a big lie. >Richard felt that this "ports tree" of ours made OpenBSD non-free. He came to our mailing lists and lectured to us specifically, yet he said nothing to the many other vendors who do the same; many of them donate to the
351.
▲
by
copx
14y ago
I do think that FP IS a snake oil fad and unsuitable for 90% of all code, which is all about mutable state and IO: manipulating data bases and game worlds, writing and reading files, sending and receiving network packages, user interaction
352.
▲
by
copx
14y ago
"pure" and "const" are GCC function attributes which are supposed to help the optimizer. Confusingly enough "const" demands a higher level of purity than "pure".. I would never use those attributes except - maybe - in the most critical loop
353.
▲
by
copx
15y ago
Go was developed by guys who prefer C to C++, Rust was developed by guys who were fully immersed in a complex "modern C++" code base.. and it shows. Go reminds me a lot of C as far as the look and feel is concerned. Go code is usually reada