Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
obl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
obl
8y ago
It really depends on what style you want to achieve but it can get quite hairy pretty fast. Non-photorealistic rendering is actually a whole (fascinating) academic field in itself. Since you have conflicting goals (temporal coherence, spati
92.
▲
by
obl
8y ago
You're right, but I don't think it qualifies as misleading since the whole algorithm is exactly about finding the minimal expansion for a specific number. The author even goes through an explicit example.
93.
▲
by
obl
8y ago
Some UB in C is largely regarded as a bad idea, such as signed overflow. One reason for that is that it's easy to get rid of it, and guess what, we have a bunch of compiler flags just for that. That absolutely does not mean that "
94.
▲
by
obl
8y ago
Jai seems like an overall nice design, conservative and practical. I certainly hope it does well. If I had to ask for one language feature for game-related code, it would be a compiler backend targeting the various shader "ISAs".
95.
▲
by
obl
8y ago
As RISC-V moves into "high end" embedded (linux capable, raspy like), I suspect that a big obstacle to openness is going to be GPU IP. HW video decoding, display protocol driving, 3D, ... Is there any open hw initiative on that f
96.
▲
by
obl
8y ago
Not my area but I don't think that's the case for the analog ICs, or the analog part of mixed ICs. The constraints for generic digital logic soup are comparatively "simple" : make wires as short and neat as possible and
97.
▲
Larrabee Architect Tom Forsyth Rejoins Intel
(techreport.com)
2 points
by
obl
8y ago
|
0 comments
98.
▲
by
obl
8y ago
I have no idea about either ruby or rails but since ruby is a managed language this kind of issues seem like they should be pretty easy to debug ? After all, if the gc is not freeing the memory then it must know a reachable path to it so th
99.
▲
by
obl
8y ago
Note that even if you share DRAM with the graphic chip, you may take an extra step anyway to rearrange the texture in a tiled format since it's more efficient for sampling. If you really care about load time you can decode the image di
100.
▲
by
obl
8y ago
Cool stuff. It's nice to have a somewhat mainstream language using its own backend instead of llvm. You can in fact get pretty far by tailoring your compiler to your specific needs. You end up with much less code, it's also easier
101.
▲
by
obl
8y ago
Well, I personally would be fine with the fair policy of disabling js everywhere but I'm sure most would not agree, so what's the alternative ? If anything, Spectre class attacks really showed how hard it is to properly sandbox ar
102.
▲
by
obl
8y ago
It's quite incredible how the web managed to get along with such a janky sandbox model. It's a very important thing that users trust their browser and won't hesitate a second to enter an unknown URL. They see "going to a
103.
▲
10 years after Larrabee, Tom Forsyth goes back to Intel to work on GPUs
(twitter.com)
2 points
by
obl
8y ago
|
0 comments
104.
▲
by
obl
8y ago
> Second, you can define "trivially compiled C" for every platform as a set of substitution rules that transform every C operation into machine instructions without any optimization. Such a trivial compilation would have every
105.
▲
by
obl
8y ago
You should read the post you are replying to again, as it is well written and precise. Basically, the intent of the proposal is understandable but it does not make sense as written. The spec does not explain how to compile C code, it gives
106.
▲
by
obl
8y ago
Specifying behavior is a bit more complex than that. There is a wide range of "unspecified" and the "full UB" one is the easiest from the spec point of view. Using the shift example : - allowed to assume that the negativ
107.
▲
by
obl
8y ago
I simply meant that the bare xxxintrin.h stuff is annoying enough that if you're using it directly you might as well write assembly. I absolutely agree that once wrapped up there are good reasons to use a language-level interface inste
108.
▲
by
obl
8y ago
Any reason to stick with the horrible intel intrinsic C API ? TBH I find assembly kernels generally more readable as long as one keep a few comments in there to explicit register allocation.
109.
▲
by
obl
8y ago
As fun as the template contraptions can be, is anyone realistically compiling C code with the abstract C machine from the standard as their target ? All other things being equal, I guess it's a plus to conform to the letter of the stan
110.
▲
by
obl
8y ago
The simple naive way is to indirect through a pointer, so your array elements would each be say 8 bytes pointing to things of various types. In practice you can play a lot of tricks to avoid the overhead. One example would be NaN-tagging. A
111.
▲
by
obl
8y ago
I'm sure it could, but this looks like it's meant as a zbrush-like, which is used to make actual 3D models (or a normal bake) for production/concept. I don't think most artist in a studio would be happy with a tablet int
112.
▲
RISC-V: State of the Union
(youtube.com)
2 points
by
obl
8y ago
|
0 comments
113.
▲
by
obl
8y ago
I guess I think of SMT as the logical successor to barrel in a way : as long as you can store more state and have independent instruction streams you get a full(er) pipeline. You're right though that GPU schedulers are more advanced th
114.
▲
by
obl
8y ago
It's quite misleading to call GPU's SIMD lanes "cores" and then compare the core count to actual CPU cores (that have SIMD as well). In fact it's often mentioned that the reason GPUs are fast is that they have "
115.
▲
Error-free transformations in real and complex floating point arithmetic [pdf]
(pdfs.semanticscholar.org)
1 points
by
obl
8y ago
|
0 comments
116.
▲
by
obl
8y ago
On one hand it's cool to have more effort into desktop CPUs (ie high single thread perf) that are not x86. On the other hand, although the ISA is public, I'm guessing the whole boot-process & platform will become more and more
117.
▲
Thinking About Language Design by Cliff Click, of HotSpot JIT Fame
(cliffc.org)
2 points
by
obl
8y ago
|
0 comments
118.
▲
by
obl
8y ago
Nice find. Not much to look at yet but interesting notes & comments in there. I love how one of HotSpot's main author's java style is so unceremonious and bare bones.
119.
▲
by
obl
8y ago
Sometimes at work I daydream about this alternate reality where we let go of the idea of an universal API on top GPUs and just let vendors publish some ISA and hardware-specific libs/drivers/docs. I'm sure people would figure
120.
▲
by
obl
8y ago
I'm guessing it's not the end of the world for Autodesk to add a metal backend to maya. Some smaller teams might very well choose to let go of mac though.
More ›