We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Handmade Network»Feed
longtran2904
I said __chkstk and friends, which include ___report_rangecheckfailure, ___security_cookie, and __…
»
Mārtiņš Možeiko
__chkstk function is less than 100 bytes. There's no way it will give more than 5KB of code. test.…
»
longtran2904
Regarding the executable size, It would be interesting to see comparisons between how each CRT fea…
»
Mārtiņš Možeiko
There are different lib files based on settings - debug vs release, static vs dynamic. See that li…
»
longtran2904
Whole CRT is typically one lib So it's not like math.h is in one lib file while stdio.h is in anot…
»
Mārtiņš Možeiko
Yes, that is how it will work. What do you mean by "couple libs"? Whole CRT is typically one lib (…
»
longtran2904
So, the linker will link all the CRT .lib files by default unless you tell it otherwise. When you …
»
Mārtiņš Možeiko
CRT functions live in .lib file that provides implementation - either static lib, or dynamic impor…
»
longtran2904
Yes, I was asking how the linker wouldn't use CRT libs. Is the implementation of CRT functions ins…
»
Mārtiņš Možeiko
I meant that in "if you use -nodefaultlib then linker won't use CRT libs" context.
»
longtran2904
When you said the linker wouldn't use CRT functions, did you mean, for example, stdio.h just forwa…
»
Mārtiņš Možeiko
You can actually include stdlib/stdio. But you cannot call functions from it - as linker won't use…
»
longtran2904
When you pass in -nodefaultlib to msvc, how can you not include stdlib, stdio, etc but can include…
»
Mārtiņš Možeiko
Yes, they are using custom __builtins. You can always just open header and look how they are defin…
»
longtran2904
I was asking specifically how the macros are defined. They seem to be defined with __builtin_va_xx…
»
Mārtiņš Možeiko
They are implemented in whatever way compiler wants. I mean the similar question would be about ho…
»
longtran2904
So how are va_xxxs implemented inside stdarg.h on clang? On msvc, they're just simple macros that …
»
Mārtiņš Možeiko
va_arg & friends do not depend on CRT in msvc/clang/gcc. They are compile time transformation in c…
»
longtran2904
Is there any way to use variadic functions without the crt in clang? It seems to be impossible on …
»
Dawoodoz
Object oriented programming was created in the 1960s to solve specific design problems where data-…
»
OdnetninI
Congrats for the release :) This stable release is a starting point into the future. Now that comp…
»
Simon Anciaux
What is the reason for the identifier naming scheme being enforced ? Not being able to write iden…
»
Christoffer Lernö
The change list for 0.5:Changes / improvementsTrackable allocator with leak allocation backtraces.…
»
Christoffer Lernö
C3 is a programming language that builds on the syntax and semantics of the C language, with the g…
»
da447m
I've found in Anton's early example some snippets and now just made a first quaternions rotation p…
»
ZILtoid1991
Those other debuggers are giving me headaches and doesn't like D structs. My current main gripe wi…
»
da447m
Other things like Rodrigues rotations also presuppose I already have the spherical coordinates, so…
»
da447m
I'm trying to make sense of this. The first problem is that, from the link that @simon gave, I don…
»
da447m
Hm that's interesting, I'll try to make it work. Thanks. Just a quickie, the initial transformatio…
»
Mārtiņš Možeiko
Input does not come in angles. What comes from mouse is relative change - rotate by 10 degrees (or…
»