Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Conscat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
181.
▲
by
Conscat
2y ago
Fwiw clang has a `clang::optnone` attribute to disable all optimizations on a per-function basis, and GCC has the fantastic `gnu::optimize` attribute which allows you to add or remove optimizations by name, or set the optimization level reg
182.
▲
by
Conscat
2y ago
Perhaps you are thinking of the My Little Pony fanfiction "Alicorn Time" by author AlicornPriest. https://www.fimfiction.net/story/298141/alicorn-time
183.
▲
by
Conscat
2y ago
Inline assembly in shaders exists for basically the same reasons it exists in C++. Hardware gains new features much faster than Khronos standardizes an API for them in SPIR-V, so inline assembly lets you use of them ASAP. You might also wan
184.
▲
by
Conscat
2y ago
Vulkan has some advantages to OpenCL. You gain lower level control over memory allocation and resource synchronization. Rocm has an infamous synchronization pessimization which doesn't exist for Vulkan. You can even explicitly allocate
185.
▲
by
Conscat
2y ago
Is Omniperf/Omnitrace not very good? I haven't used it, but I have been using Nsight Systems recently and it looks comparable to me at a glance.
186.
▲
by
Conscat
2y ago
I can't get enough of Ed Zitron. I first found him on the Scam Economy podcast, and now I'm addicted to his blog and appearances on Crypto Critics Corner or any other podcasts.
187.
▲
by
Conscat
2y ago
Programmers already deal with POSIX-but-not-really any time they deliver software for a Linux. At least this has the same quirks everywhere.
188.
▲
by
Conscat
2y ago
In my opinion, `__builtin_constant_p()` is not that obscure of a feature. In C, it is used in macros to imitate constant functions, and in C++ it is useful for determining the current alternative that has lifetime in a `union` within a co
189.
▲
by
Conscat
2y ago
How is it that D and Objective-C++ came up with modules that work and can be used many years ago, yet C++ with much greater stakes fumbled it on almost every level?
190.
▲
by
Conscat
2y ago
I've been following the commit logs of this for awhile, and I'm really impressed by how active it consistently is. I think most people who aren't deep into Emacs might not realize _how_ monumental a task it is to be competiti
191.
▲
by
Conscat
2y ago
I'm still waiting for furry artwork to become culturally acceptable in technical lectures. I briefly snuck a cute Lucario/Zeraora drawing into a presentation on my college final, and the critical reception has been promising, so f
192.
▲
by
Conscat
2y ago
But then you have to be capable of stomaching Dotnet. Modern C++ is the best tool for this job, currently.
193.
▲
by
Conscat
2y ago
Readers might also be interested in the "spiral honeycomb mosaic" which I found from this article linked somewhere on Stack Overflow years ago. https://paulbourke.net/geometry/tilingplane/
194.
▲
by
Conscat
2y ago
Many are native, many use Proton.
195.
▲
by
Conscat
3y ago
I heartily recommend it.
196.
▲
by
Conscat
3y ago
I've tried it on my own C++ codebase. It's fun, and I'm impressed that it could tell me which C++ standard is used (a question which is often difficult to find an answer to on random codebases), but it's really bad at an
197.
▲
by
Conscat
3y ago
It is a compiler setting. `-Dint=__INT64_TYPE__`
198.
▲
by
Conscat
3y ago
They decided kernel-mode graphics isn't a terrible idea, though.
199.
▲
by
Conscat
3y ago
I'm not certain what "the background color is deprecated" means but I really don't like the sound of that.
200.
▲
by
Conscat
3y ago
It standardizes existing common practice. Everyone already has `__auto_type` macros, but nearly nobody was using `auto` as a synonym for `int`.
201.
▲
by
Conscat
3y ago
I honestly can't figure out what this means.
202.
▲
by
Conscat
3y ago
One big difference between Helix and Kakoune is that Helix has a visual mode, whereas Kakoune only wants chording to extend text regions.
203.
▲
by
Conscat
3y ago
In 2023, Haiku got Emacs and Vulkan support that makes it much more attractive to me than in the past. But I still feel very reluctant to use something without the industry support that Linux has.
204.
▲
by
Conscat
3y ago
Why do that with the preprocessor rather than the `--wrap` flag? That's what most malloc libraries do.
205.
▲
by
Conscat
3y ago
They've been the primary focus of Circle for the better part of a year now. He's demo'd them working many times already.
206.
▲
by
Conscat
3y ago
Hungarian notation has never been proven to reduce errors compared to strong types, and the CppCoreGuidelines tell you not to use it. clang-tidy can largely automate Hungarian notation, at least.
207.
▲
by
Conscat
3y ago
Given that Sean Baxter already has lifetimes in Circle that work very similarly to Rust's, I'm skeptical that the very similar D language wouldn't be able to express the same thing.
208.
▲
by
Conscat
3y ago
In Fish you can still do that. The cwd is a hint to the candidate sorting algorithm, but not a strict requirement.
209.
▲
by
Conscat
3y ago
Goland and Emacs (with Tree Sitter) can at least generate those automatically for you so they won't be forgotten, fwiw.
210.
▲
by
Conscat
3y ago
I assume what you really mean by socialism is "democratic socialism" or "market socialism", because they kind of fit your description, but not other "socialism"s like anarcho-syndicalism.
More ›