|
JewKiller 3000 posted:how do you feel about the tendency to call compilers whose output is not assembly language "transpilers" "transpiler" just means "compiler that i sneer at" and js people are trying to claim it
|
# ¿ Jun 28, 2017 01:03 |
|
|
# ¿ May 1, 2024 19:40 |
|
DuckConference posted:i like how once a C compiler encounters undefined behaviour, not only is that behaviour and what follows undefined, but stuff before the undefined behaviour becomes undefined as well. later undefined behavior can loosen constraints on earlier behavior like fro m http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html "Knowing the multiplication "cannot" overflow (because doing so would be undefined) allows optimizing "X*2/2" to "X"." idk what the order of operations in c is and in what order x*2/2 should get evaluated but yeah
|
# ¿ Jun 28, 2017 02:11 |
|
redleader posted:oh yeah, that's right undefined is implementation-defined
|
# ¿ Jun 28, 2017 12:43 |
|
Captain Foo posted:compilers are black magic to me op write one to disabuse yourself of that notion
|
# ¿ Jun 28, 2017 13:18 |
|
eschaton posted:start by reading An Incremental Approach to Compiler Construction and the more complete tutorial Compilers: Backend to Frontend and Back to Front Again or just crack open a cold one and spend a few minutes compiling a lovely postscript/forth style calculator to c
|
# ¿ Jun 29, 2017 18:10 |
|
The Management posted:do I know anyone stupid enough to run the linker as root 🤔 uh literally anyone running it in a docker
|
# ¿ Jul 10, 2017 20:22 |
|
|
# ¿ May 1, 2024 19:40 |
|
The Management posted:*writes the same header inclusion guard boilerplate for the 1,000th time* it's #pragma once now
|
# ¿ Aug 16, 2017 22:34 |