Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Conscat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
by
Conscat
3y ago
It sounds like you're talking about unsophisticated sparse data structures, such as `std::list`, not the aforementioned chained memory allocation data structures which optimize for memory latency and vectorizability while retaining poi
272.
▲
by
Conscat
3y ago
Cling has been largely upstreamed as `clang-repl`. All distributions of clang+tools has it now, and unlike Cling this supports the latest Clang features. However Cling still has some special features for GPGPU that `clang-repl` doesn't
273.
▲
by
Conscat
3y ago
My favorite glasses right now have little cat ears above the lenses. Meta stays behind state of the art as always.
274.
▲
by
Conscat
3y ago
I'm sure this presenter understands the nuance, but I think it's worth mentioning that linked lists are important for many highly efficient data structures and algorithms. For instance, see https://plflib.org/ Poo
275.
▲
by
Conscat
3y ago
AMD's debuggers and profilers let you disassemble kernel/shader machine code and introspect registers and instruction latency. That's something at least that Nvidia doesn't do with Nsight tools.
276.
▲
by
Conscat
3y ago
OpenCL isn't very useful now that we have Vulkan. Its biggest advantage is that there exist C++ compilers for its kernels. But AMD's OpenCL runtime inserts excessive memory barriers not required by the spec (they won't fix th
277.
▲
by
Conscat
3y ago
AI safety is synonymous with user hostile design. I think John Carmack genuinely cares about users.
278.
▲
by
Conscat
3y ago
I really doubt that, personally. In that area maybe between 5x and 10x these figures would seem plausible to me.
279.
▲
by
Conscat
3y ago
What country do you live in where those numbers are realistic?
280.
▲
by
Conscat
3y ago
Correction, I actually just tried this. The wrapper does not work in GCC, but it does in Clang. https://godbolt.org/z/d3jMo36WY
281.
▲
by
Conscat
3y ago
That's interesting. It also looks like with the `__restrict` specifier ( https://godbolt.org/z/cvaYoc6zh ), the clang code is similar regarding the matrix multiplication. The body of the vectorized loop itself looks
282.
▲
by
Conscat
3y ago
Kakoune has the nicest regex interaction I've ever used in a text editor. It's feature complete and accessible from a single keystroke out of the box. You can write key macros that input regex to do surprisingly complex motions wi
283.
▲
by
Conscat
3y ago
I used Dvorak for awhile. It's okay, at least better than QWERTY. But it's super old, and keyboard layouts post-Colemak take advantage of rolling bigrams and trigrams, unlike Dvorak. I use Hands Down now. https://sites.
284.
▲
by
Conscat
3y ago
https://gcc.gnu.org/onlinedocs/gcc/Loop-Specific-Pragmas.htm... The #pragma GCC ivdep annotation also enables this in loops. C23 also has the [[unsequenced]] attribute, which supports pointer arguments for optimiz
285.
▲
by
Conscat
3y ago
Multiple-aliasing cannot exist in a language without reference semantics, such as Val (or whatever its new name is).
286.
▲
by
Conscat
3y ago
I've never had issues with it, personally. In what way does it not work?
287.
▲
by
Conscat
3y ago
Did they ever get Nvidia hardware working without GlibC? A quick DuckDuckGo search suggests that's still not supported.
288.
▲
by
Conscat
3y ago
Clang has a statement attribute `[[clang::always_inline]]` that automates this at a call site, but GCC only has a function attribute for it. You could wrap the function in a `[[gnu::flatten]]` function that takes the callable as a non-type
289.
▲
by
Conscat
3y ago
A double ended stack allocator is not an uncommon primitive in video games.
290.
▲
by
Conscat
3y ago
Every release of C++ since 11 has relaxed limitations on `constexpr`, and several relaxed limitations on `template`. Many other features have had various rules relaxed in certain releases, including `for` loops, lambdas, labels, moves, and
291.
▲
by
Conscat
3y ago
> ruling out some optimisations GNU can chosen GNU didn't do any optimizations that are acceptable in a language with move semantics. The new `std::string` is _strictly_ better than the old one. Although there do exist very many sup
292.
▲
by
Conscat
3y ago
My understanding is that it's simply historically fallen into the niche. Lua early on was relatively easy to embed in C codebases, making it a natural fit for scripting C (or C++) game engines and their editors. So many hugely popular
293.
▲
by
Conscat
3y ago
I've got an ultra rare limited edition holofoil credit card debt. Anyone want to make a trade offer?
294.
▲
by
Conscat
3y ago
North Korea actually doesn't adhere to the kernel's GPL license. I wonder if anyone will ever be brave enough to sue them for copyright infringement.
295.
▲
by
Conscat
3y ago
gasps in Ghidra
296.
▲
by
Conscat
3y ago
> I don't understand why one would block all blue user Have you seen the kinds of posts those people, as a class, are leaving there?
297.
▲
by
Conscat
3y ago
Exa is an interactive utility. It doesn't make much sense to put it in a script like that. If you were to use rg or ug instead of grep, branching like that would probably be worthwhile, though.
298.
▲
by
Conscat
3y ago
Game Maker Language is the only one I can think of with a large number of active users and community resources.
299.
▲
by
Conscat
3y ago
Interestingly, V is named after the chat client Volt, which V was originally invented specifically to develop.
300.
▲
by
Conscat
3y ago
I'm fairly familiar with both V and D (even made some minor contributions to the V compiler), and I can't think of a single notable feature that isn't also available in D. V has a more modern and straightforward syntax, but t
More ›