Viewing profile — sigsev_251
sigsev_251
HN member- Joined
- Mon, Aug 08, 2022, 2:14 PM UTC
- HN karma
- 257
- Public activity
- 104 items
- HN profile
- View on Hacker News ↗
About sigsev_251
No profile information was provided.
Recent public activity
-
comment
Comment #42656595
> Outdated documentation is pretty normal unfortunely, even .NET suffers from that nowadays. That's really unfortunate. > Not as bad as Apple nowadays though, quite far from Inside…
- comment
-
comment
Comment #42655029
I think the documentation is outdated given that C11 atomics [1] and threads [2] are available for more than a year now. Same goes for pretty much everything MSVC frontend related …
-
comment
Comment #42647835
Why would you need multiple allocations? edit: Isn't it just: float (*arr)[m][n] = malloc(sizeof(*arr));
-
comment
Comment #42647596
Yes, but is one allowed to move a pointer inside it as they see fit? On a one-dimensional array, one can iterate through it starting with a pointer pointing to the first element an…
-
comment
Comment #42647417
Are C multidimensional arrays guaranteed to be contiguous in memory? In practice they are, but can one iterate through them just by incrementing a pointer which points to the first…
- story
-
comment
Comment #40681588
Thank you!
-
comment
Comment #40680386
Do you happen to have any source/book on why you can't use anything but a conservative gc on C-like languages? I would really like to know why that's the case.
- story
- story
-
comment
Comment #40065124
There is a compatibilty chart: https://www.graalvm.org/python/compatibility/
-
comment
Comment #39746444
There is always qbe if you need something simpler
-
comment
Comment #39728682
> At least it does generics now Not in gccgo
-
comment
Comment #39726269
Maybe cranelift will help with this. Faster compile times is one of its selling points.
-
comment
Comment #39726205
> using LLVM backends Wait, there is an LLVM based Go toolchain? I thought the Go crowd was known for their NIH obsession.
- story
-
comment
Comment #39367719
- Though freeware and not foss, there is also pellesc over at Windows land, with almost full C23 support. - For small 8 bit systems, SDCC is an excellent choice, supporting even C2…
-
comment
Comment #39214296
A possible answer is that one could modify n inside the function body, which means that the length is lost. But honestly, one could just use const to avoid this. Though, pointers t…
-
comment
Comment #39214248
I get what you mean and I'm not saying that not having extra operators is a dealbreaker that will make spans unusable. I just find it more pleasant/convenient for the following rea…
-
comment
Comment #39214151
Very nice comment. This was a blocking point I fell onto too. There is another option, to not allow spans on the return channel, but I don't know how people who handle resources wi…
-
comment
Comment #39199834
(Just to be clear, I am not the author of the draft I posted in the parent comment, but it's the feature I want the most to be added in C2y. I was actually meaning of writting a pr…
-
comment
Comment #39198135
Not a glsl or hlsl compiler, but there is a C compiler that targets spirv and is written in C. Here's the repo: https://github.com/heroseh/hcc
-
comment
Comment #39197943
With all respect, please don't say nobody cares. There many people in the C community that want this but it's not easy to add a fat pointer to C after all these years. Though, ther…
-
comment
Comment #39143391
Michaelforney has also built croc [1], a qbe based C compiler. Really impressive! [1]: https://github.com/michaelforney/cproc