how do compilers work ?
i mean when you have say c or c++ code or lisp program, how does it turn it into machine code ?
isnt it too complicated and take a lot of machine code ?
or like scheme tail loop, how is it done . its hard to convert just one loop
or like c++ classes theres no clases in machine assmebly
i dont understand
Compilers usually have a flag to produce machine code which you can use to satisfy your desire for knowledge
Name:
Anonymous2008-11-07 16:35
Most compilers are written in the language they are compiling.
Name:
Anonymous2008-11-07 16:36
how do graphics programs work ?
i mean when you have say a jpeg or png, how does it turn it into a gif?
isnt it too complicated and take a lot of machine code ?
or like animated gifs, how is it done . its hard to convert just one animation loop
or like jpeg thumbnails theres no thumbnails in machine assmebly
i dont understand
how do browser programs work ?
i mean when you have say a box for text, how does it turn it into a <textarea>?
isnt it too complicated and take a lot of machine code ?
or like marquee, how is it done . its hard to convert just one text animation loop
or like <img> tags theres no tags in machine assmebly
i dont understand
thanks
Name:
Anonymous2008-11-07 22:59
>>5
There is nicely applied truth here. Compilers are just converters + optimizers.
Name:
Anonymous2008-11-07 23:22
how is compiller formed?
how code get genarated
Name:
Anonymous2008-11-07 23:36
My favorite part is "isnt it too complicated"
Yes, its so complicated compilers do NOT exist. But they do. HOLY FUCK! IMPERICAL EVIDENCE STATES THIS FAGGY ASSUMPTION IS WRONG.
>>9
They need to do way instain memory> who kill thier compillers. becuse these compiller cant frigth back? it was on the dmesg this mroing a compiller in /bin who had kill her free RAM. they are taking the free RAM back to swapfile too root to rest my parity are with the machine who lost his memory ; i am truley sorry for your lots
>>19 WELL, MOTHERFUCKER, THE WHOLE FUCKING CHAPTER 5.5 IS ABOUT COMPILATION. IF YOU DIDN'T NOTICE IT WHILE READING, I DON'T THINK THAT ANYTHING IN THE WORLD CAN EXPLAIN COMPILATION TO YOU.
>>23
is what happens when you try to help someone in /prog/
Name:
Anonymous2008-11-08 15:44
Trolling aside, I have never read chapters 4 and 5 of SICP. At first, when I saw the Amazon Customer Reviews, I thought that people who said that chapters 4 & 5 are useless in today's world were wrong, but now I see how right they were. PROTIP: There are no lisp machines any more.
Name:
Anonymous2008-11-08 18:01
>>26
This may surprise you, but I am a LISP machine and I created the SICP meme which brought this fine book its well-deserved popularity.
Name:
Anonymous2008-11-08 18:47
>>27
I am a database; I only speak SQL.
I am a database communicating through a shell.
I am a database and all I do is aim to please.
Hey baby, wanna have a taste of my primary keys?
Name:
Anonymous2008-11-08 19:14
>>27
This may surprise you, but I'm Richard Stallman and I have a lisp because I am a faggot
Name:
Anonymous2008-11-08 19:17
>>28 I only speak SQL.
This line always bothers me. Databases don't send (“speak”) SQL, they receive SQL and send tables.
Name:
Anonymous2008-11-08 19:32
>>30
Please post the mp3, so I can analyse the problem at hand.
>>30
In ENGLISH identifier ``speak'' is bound to both ``utter'' and ``be fluent in''.
Name:
Anonymous2008-11-08 20:30
>>33
If one only reads SQL, one does not speak SQL.
Name:
Anonymous2008-11-08 21:16
>>26
PROTIP: Chapters 4 & 5 of SICP are not about Lisp machines.
Name:
Anonymous2008-11-08 23:03
Compilers work because everything the source language can do is possible in the machine language, it just has to be expressed differently and in gruesome detail. C is not overly hard to write a compiler for as it's pretty damn low level as it is. Many concepts in C map almost directly to assembler.
Name:
Anonymous2008-11-09 6:11
>>28 I am a database and all I do is aim to please.
Funny, I always heard this line as ``I am a database and all I do is ENTERPRISE''