Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Athas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
571.
▲
by
Athas
10y ago
Yes, exactly. That is what I usually do.
572.
▲
by
Athas
10y ago
My experience with benchmarking is that the benchmark program must actually do something with the result (like, printing it). Not only because you cannot trust a benchmark to do self-validation, but also because you otherwise end up figh
573.
▲
by
Athas
10y ago
Couldn't a bytecode format have the same problem? Probably not with respect to parsing, but the semantics could still differ.
574.
▲
by
Athas
10y ago
Well, I still have a year left on my PhD, and I hope (with some reason) to get funding to continue after that. But I must emphasize that the language is still a little young and raw.
575.
▲
by
Athas
10y ago
I'm not sure why bytecode is supposed to be significantly better than storing the shaders as strings. Sure, you get rid of a complex parser and can more easily use it as a compiler target, but the core problem remains: the compiler ca
576.
▲
by
Athas
11y ago
What kind of compiler technology? I've seen it mentioned that it uses a nanopass design, but that's more of a development strategy than something that results in performant code or low compile times.
577.
▲
26 features of functional programming languages
(medium.com)
2 points
by
Athas
11y ago
|
0 comments
578.
▲
by
Athas
11y ago
Some of you may have seen this last week on Reddit. Since then, we improved the website with a gaussian blur stencil example[0], a stencil performance graph[1], and an article on Pygame interop[2]. [0]: http://futhark-lang.org&#
579.
▲
Show HN: A functional language and an optimising compiler generating GPU code
(futhark-lang.org)
4 points
by
Athas
11y ago
|
1 comments
580.
▲
by
Athas
11y ago
Does the Q/K implementation actually execute in parallel? I've always had a hard time figuring out exactly why K is supposed to be so fast (except for column stores, interpreter fitting in L1 cache, and fast hand-written primitiv
581.
▲
by
Athas
11y ago
I find it interesting that NVIDIA has been decreasing the number of CUDA cores per streaming multiprocessor (SM) in each successive architecture, while increasing the number of streaming multiprocessors. It makes each SM look more like a C
582.
▲
by
Athas
11y ago
Not particularly. Most of my GPU experience is with OpenCL, which does not have the OpenGL-related problems that Vulkan is supposed to solve.
583.
▲
by
Athas
11y ago
One significant benefit of CPU SIMD is that you also do not need to manage temperamental GPUs and GPU drivers. The CPU programming experience is much nicer, the infrastructure more robust, and you can generally expect some sort of SIMD sup
584.
▲
Professors’ unprofessional programs have created a new profession
(economist.com)
99 points
by
Athas
11y ago
|
35 comments
585.
▲
by
Athas
11y ago
This is both BSD- and GPL-incompatible, which has all sorts of potential ramifications. Particularly the GPL-incompatibility prevents you from including GPL-licensed code. Although both BSD and GPL already require attribution, so you could
586.
▲
by
Athas
11y ago
> The generated code is not so great if you have an event driven environment: I mean I want to push 50 bytes into the compiler, instead of having it request the next input character. This means it's not so great for a repl, unless s
587.
▲
by
Athas
11y ago
> At least when you are using C++: This is a very important caveat! It probably doesn't mean much for the pragmatic programmer today, and probably tomorrow, but there are research languages and compilers that try to tackle some of
588.
▲
by
Athas
11y ago
> Because that's how the machine sees C arrays. It would take an extra (invisible) parameter on the stack to implicitly pass the array size into the function, a thing which is very much against the spirit of C. In this case, the siz
589.
▲
by
Athas
11y ago
Null is wrong. It was implemented because it was easy, as it maps directly to how object references are typically implemented in memory: http://lambda-the-ultimate.org/node/3186
590.
▲
by
Athas
11y ago
Any setting a user must adjust or manage to make things work is a bug. Everything must work instantly and reliably in any minimally functional environment, and installation must be single-step. This has its own problems, as you risk build
591.
▲
Features are faults
(tedunangst.com)
3 points
by
Athas
11y ago
|
3 comments
592.
▲
by
Athas
11y ago
> A) exception/panic on overflow: this is preferable to overflow but also undesirable behavior. I don't find this undesirable at all. I have worked in languages where this is the default (Standard ML) and it's quite nice.
593.
▲
by
Athas
11y ago
Is that a common piece of snark in the community? I know that Theo was one of the NetBSD founders, but so were the people who forced him out.
594.
▲
OpenBSD: from distribution to project
(tedunangst.com)
18 points
by
Athas
11y ago
|
4 comments
595.
▲
by
Athas
11y ago
> I can imagine this being used with some a "tame" command in the shell to run untrusted programs. This might not be useful in practice. The inspiration behind tame() is the observation that a program usually needs many more r
596.
▲
by
Athas
12y ago
Not much. At the student revue last year, we had filled a thermos with dry ice, closed it up, and forgot about it on stage overnight. At some point during the night, it blew off the plastic valve at the top, which was ruined, but the meta
597.
▲
by
Athas
12y ago
I got a ThinkPad X250 a few weeks ago. Originally I was hesitant, as it is also limited to 8GiB of memory, but I realised that development need not actually use more than that (and indeed, I never do). I basically need to run just Emacs,
598.
▲
by
Athas
12y ago
It's not really a license at that point, as I don't think you can impose obligations upon yourself that easily - at least not ones that have legal weight. This seems more like a statement of intent, which is nice I guess. But sti
599.
▲
by
Athas
12y ago
Point of correction: Unreal Engine is not open source, the source is merely available for perusal. You still need a license for most uses.
600.
▲
by
Athas
12y ago
You have to remember that Deep Blue was not a top-of-the-line supercomputer in 1997. It was a large machine for sure, but the software made it a chess champion, not just the raw hardware. Many 1997-era computers were faster.
More ›