~ ποΈ gnu/m43
Compiling C software:
- 5 seconds codegen
- 30 seconds compiling C code
- 1 second linking
- 34 hours of autotools checking whether it's running in a universe where 2+2=4
Link to post
Compiling C software:
- 5 seconds codegen
- 30 seconds compiling C code
- 1 second linking
- 34 hours of autotools checking whether it's running in a universe where 2+2=4
Link to post
β€4
header-includes:
- '`\makeatletter`{=latex}'
- '`\AtBeginDocument{\let\theauthor\@author}`{=latex}'
- '`\AtBeginDocument{\let\thetitle\@title}`{=latex}'
- '`\makeatother`{=latex}'
π€―1
~ Why is it not allowed to initialize a flexible array field with a sized array in order to specify how much stack/global memory to reserve?
typedef struct {
long length;
int values[] __attribute__((__counted_by__(length)));
} MyType;
MyType instance = {
.length = 10,
.values = (int[10]) { [5] = 2 },
};
Link to postπ€1π1
Vftdan Channel
~ Why is it not allowed to initialize a flexible array field with a sized array in order to specify how much stack/global memory to reserve? typedef struct { long length; int values[] __attribute__((__counted_by__(length))); } MyType; MyType instanceβ¦
Ah, it's not even possible to non-initializer-assign sized arrays
src/common/util/fixed/tensor.c:27:28: error: assignment to expression with array type
27 | *(int(*)[3][3])(x.items) = (int[3][3]) {
| ^
π1
Is the result of getting
sizeof of a VLA type that does not fit into the address space defined?π€1
Vftdan Channel
Me: *selects several dozens unloaded firefox tabs and drags them to another window* Firefox: "oh, you also want to load them all!" *proceeds to eat up all available resources*
Also, is it possible to delay tab loading until the previous tab finishes loading, i. e. to send requests and receive pages sequentially instead of concurrently?
π€1
~ ποΈ pulusound
emacs users horrified to discover that "meta-x" now means two awful social media companies
Link to post
emacs users horrified to discover that "meta-x" now means two awful social media companies
Link to post
π1
~ ποΈ Vftdan
@dysfun
Is a type system even good if typechecking doesn't require running an SMT solver?
Link to post
@dysfun
Is a type system even good if typechecking doesn't require running an SMT solver?
Link to post
π₯΄1
~ ποΈ tgirl johnny truant π³οΈββ§οΈπ³οΈβπ
people were weird at me about using Hz to measure "accepted connections per second", so I'm pleased to announce that I'm going to start measuring it in Becquerel instead
Link to post
people were weird at me about using Hz to measure "accepted connections per second", so I'm pleased to announce that I'm going to start measuring it in Becquerel instead
Link to post
Happy New Year!
I think I have even less to say this time. Things from the previous year post still mostly apply.
My communication online continues to be primarily with @hatkidchan and in chats he is a member of.
I think I was mostly writing in C and a bit in Java in the free time. My biggest project was probably input event remapping utility/service. I also tried writing an interpreter for a minimalistic dynamically-scoped language, but I stopped at the attempt to introduce coroutines that are required (unless I add another features) to make the language Turing-complete, everything using C on a single call stack, so I had to implement stack-like structures for everything that is asynchronous or otherwise risks overflowing the C call stack.
In Java I was modifying or writing my own small Minecraft mods, and also I modified a keyboard application for Android.
Thanks everyone!
I think I have even less to say this time. Things from the previous year post still mostly apply.
My communication online continues to be primarily with @hatkidchan and in chats he is a member of.
I think I was mostly writing in C and a bit in Java in the free time. My biggest project was probably input event remapping utility/service. I also tried writing an interpreter for a minimalistic dynamically-scoped language, but I stopped at the attempt to introduce coroutines that are required (unless I add another features) to make the language Turing-complete, everything using C on a single call stack, so I had to implement stack-like structures for everything that is asynchronous or otherwise risks overflowing the C call stack.
In Java I was modifying or writing my own small Minecraft mods, and also I modified a keyboard application for Android.
Thanks everyone!
β€4