Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Conscat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
Conscat
2y ago
It seems that pretty much everybody here is confused by this article. One user even accused it of LLM plagiarism, which is pretty telling in my opinion. I for one have no clue what anything I read in there is supposed to mean. Emulating a G
122.
▲
by
Conscat
2y ago
I don't think that's true when the add overflows. You wouldn't want a lane's overflow to carry into an adjacent lane.
123.
▲
by
Conscat
2y ago
> but Vk was never truly popular outside Russian speaking countries. Can't really disagree, but it's my favorite place to pirate fonts. Typing out site:vk.com <thing I want> feels like a real life cheat code.
124.
▲
by
Conscat
2y ago
I have seen multiple users of one certain popular programming language claim that data structures besides a dynamic length array and a hash table have no useful application.
125.
▲
by
Conscat
2y ago
EVE is personally my favorite SIMD library in any programming language. It's the only one I've tried that provides masked lane operations in a declarative style, aside from SPMD languages like CUDA or OpenMP. The [] syntax for tha
126.
▲
by
Conscat
2y ago
Perhaps the remaining 48% just want to be employed.
127.
▲
by
Conscat
2y ago
You can also make your own functions skippable by default with either the `[[gnu::artificial]]` or (the newer and more generalized) `[[gnu::nodebug]]` in GCC and Clang.
128.
▲
by
Conscat
2y ago
A few years ago with GCC 10, I had some strange UD2 instructions (I think) inserted around some inline assembly that was fixed by replaced my `reinterpret_cast`s with `bit_cast`.
129.
▲
by
Conscat
2y ago
Although Clang does set the `__GNUC__` macro and you have to distinguish it using the `__clang__` macro, Clang and GCC also both have very fine-grained feature detection features as well, both at the CLI level and in the preprocessor (such
130.
▲
by
Conscat
2y ago
Raw multi-line R"()" strings in C++ reduce some of the tedium. I wrote myself an Emacs tree sitter pattern to highlight asm syntax nicer than a string normally would, which helps. There is also the stasm library (which I haven
131.
▲
by
Conscat
2y ago
I hand wrote mine as HTML tables. There is custom CSS but imo it looks fairly good without CSS (such as inside Emacs). http://omg-lily.xyz
132.
▲
by
Conscat
2y ago
Not to dissuade people from looking into alternatives, but the high quality integration that Git has with every single code editor in wide use today is a huge advantage over every other VCS imo. As far as I can tell, the closest to it in th
133.
▲
by
Conscat
2y ago
> I also read Hackers & Painters at an impressionable age and was kind of a jerk about it for a while. My mom gave me Hackers & Painters when I was 13 or so, but I still haven't read it. What about it turns children into jer
134.
▲
by
Conscat
2y ago
I've been very impressed by Slang as an open source project. The development team is quick to respond to issues and review pull requests. It's clear from their repository and their presentations that they take Slang seriously as a
135.
▲
by
Conscat
2y ago
> I'm also delighted to note that Guile Emacs is scheduled to rise from its grave next week Not to sound pessimistic, because Guile Emacs is an exciting project, but I'm pretty sure I've heard that before.
136.
▲
by
Conscat
2y ago
I think the EVE library for C++ is a great abstraction. It's got an unusual syntax using subscript operator overloading, but that winds up being a very ergonomic and flexible way to program with masked-SIMD.
137.
▲
by
Conscat
2y ago
Type punning through unions is not undefined behavior in C, only in C++.
138.
▲
by
Conscat
2y ago
Daisy Hollman says she has "drunk the Bazel kool-aid" and is a big proponent of its usage outside Google.
139.
▲
by
Conscat
2y ago
I've been contributing some C++ packages to xrepo, which personally imo is the best of all worlds. c:
140.
▲
by
Conscat
2y ago
There's free food, nice paths to walk, and a 10 minute bike trail to multiple nearby apartments. Idk, I'm excited to try that lifestyle. It'll be new for me.
141.
▲
by
Conscat
2y ago
I've written a little demo here: https://godbolt.org/z/xn1eqd5zb You can see where CPPFront inserts a `cpp2::move` call automatically, and how that differs from a superficially equivalent Cpp1 function.
142.
▲
by
Conscat
2y ago
You can write SIMD in Go asm, and wrap it up in a normal Go API. It's not great though.
143.
▲
by
Conscat
2y ago
As an outsider, I'm curious what directions those are. Are you referring to effects or keyword generics or something else?
144.
▲
by
Conscat
2y ago
There are several semantic differences between Cpp1 and Cpp2. Cpp2 moves from last use, which is the biggest one. In a contrived example, that could result in a "hello world" changing to "goodbye world" or any other arbi
145.
▲
by
Conscat
2y ago
Carbon isn't currently memory safe, but Chandler Carruth has made it clear that every security expert he talked to says the same thing: memory safety is a requirement for security. He at least claims that Carbon will have memory safe
146.
▲
by
Conscat
2y ago
I'm currently negotiating a deal to get relocation assistance in exchange for being in the office sometimes, on a job that was intended to be fully remote. In my case, I need to leave my current state of residence for health reasons so
147.
▲
by
Conscat
2y ago
I know very non-technical people who use Chocolatey for acquiring ffmpeg.
148.
▲
by
Conscat
2y ago
I'm not sure that issue would be caught by ordinary testing. It will implicitly cast into long long, so it might make little or no difference in this case.
149.
▲
by
Conscat
2y ago
Correction, there are 7 tetrominos not 5. >.< Idk what I was thinking when I wrote that
150.
▲
by
Conscat
2y ago
Kind of off topic, but Marble Madness was a large part of what inspired me to start programming. My dad played it when he was a kid and it made an impression on him, so he had me play it on MAME as a kid. I was blown away by the fact that c
More ›